Koozali.org: home of the SME Server

Dar2 with MC ext SME 8

Offline tviles

  • *****
  • 197
  • +0/-0
Dar2 with MC ext SME 8
« on: March 22, 2012, 01:51:36 AM »
Does this still work?

See this contrib wiki article
http://wiki.contribs.org/DAR2
and more specifically
http://wiki.contribs.org/DAR2#Midnight_Commander_.28MC.29_dar-extension
which says:
Midnight Commander (MC) dar-extension
With the installation of DAR2 comes an extension for viewing .dar files from within Midnight Commander but it is not installed by default. You can find the files extracted in the /opt/dar2-mc directory. For installation of this extension run the install.sh shell script with:
cd /opt/dar2-mc
./install.sh

This is what I get:

[root@shpwserver opt]# yum install smeserver-dar2 --enablerepo=smecontribs --ena                                                                                        blerepo=smeupdates-testing
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
 * base: mirror.thelinuxfix.com
 * smeaddons: distro.ibiblio.org
 * smecontribs: distro.ibiblio.org
 * smeextras: distro.ibiblio.org
 * smeos: distro.ibiblio.org
 * smeupdates: distro.ibiblio.org
 * smeupdates-testing: distro.ibiblio.org
 * updates: bay.uchicago.edu
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Setting up Install Process
No package smeserver-dar2 available.
Nothing to do
[root@shpwserver opt]#

I would like to use the Midnight Commander with dar extension to restore some files from a backup of server that was running 7.5. I did a fresh install of 8 and cannot get the selective restore to work. I get this:
Use putty login  as root type in su admin and select backup/restore then select selective restore and pick file then perform.
Cannot restore file  (filesname)  non existant file in database.
I can do a verify and it shows all files are ok.

So thought I would try MC with Dar2 ext and see if I could get some files back that way.


Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Dar2 with MC ext SME 8
« Reply #1 on: March 22, 2012, 02:14:02 AM »
tviles

The contrib repo and some others are not yet populated for sme8
You need to create sme7contribs repo, and any other non standard not yet populated repos you want to use eg for picking up dependencies

See
http://wiki.contribs.org/SME8.0_Contribs_QA#Test_guidelines

I was recently playing with dar2 mc plugin on sme8b7 but the plug in did not appear to open dar files.
I ran out of time to look at it more thoroughly, as I was also having hardware compatibility issues, so unsure where the problem was and not able to post an appropriate bug report.

Anyway I suspect the dar2 plugin may not be working on sme8b7.
Let us know your outcome after getting dar2 & the plugin installed.

Also I'm sure there was a fix released re selective restore on sme8bx so make sure you run
yum update
Check bugzilla
« Last Edit: March 22, 2012, 02:15:58 AM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline tviles

  • *****
  • 197
  • +0/-0
Re: Dar2 with MC ext SME 8
« Reply #2 on: March 22, 2012, 03:29:56 AM »
Will do - right now I just started a full backup to a workstation. The workstation has a 1tb usb drive so I created a new folder and pointed this full backup to it so I don't lose old 7.51 backup. Then I want to try a selective backup again from the new full backup.

I do see a bug for selective backup that talks about timing out waiting for the catalog, that is why I was going in with putty and using the text browser under su admin.  Firefox works, but some others like IE will not load the catalog.

Another note and I'm sure it is op error but after I did a fresh install of 8 and updates. I then started a full restore and went to bed. Next morning I went into work finding the server was back up and running version 7.51 again. There is also a bug on that one I see reported.

I still once or twice a week do a straight copy of the shared Ibay files over to the workstation usb drive just in case.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Dar2 with MC ext SME 8
« Reply #3 on: March 22, 2012, 04:49:19 AM »
tviles

Please post your findings to bugzilla, either new or existing bug reports.
More info from users can help to fully resolve issues. The information you just gave is almost useless when posted here.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline tviles

  • *****
  • 197
  • +0/-0
Re: Dar2 with MC ext SME 8
« Reply #4 on: March 22, 2012, 07:34:36 PM »
« Last Edit: March 23, 2012, 01:00:08 AM by chris burnat »

Offline tviles

  • *****
  • 197
  • +0/-0
Re: Dar2 with MC ext SME 8
« Reply #5 on: August 16, 2012, 02:23:31 AM »
http://wiki.contribs.org/SME8.0_Contribs_QA#Test_guidelines

Do I copy and paste this in?

I am logged in as root using putty.

db yum_repositories set sme7contribs repository \
GPGCheck yes \
MirrorList http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smecontribs-7 \
Name 'SME 7 - contribs' \
Visible no \
status disabled

signal-event yum-modify
yum clean all

I get errors.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Dar2 with MC ext SME 8
« Reply #6 on: August 16, 2012, 02:53:10 AM »
tviles

You can paste all this in one go:

db yum_repositories set sme7contribs repository \
GPGCheck yes \
MirrorList http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smecontribs-7 \
Name 'SME 7 - contribs' \
Visible no \
status disabled


Then do each of these commands seperately, waiting a minute or a few between them to allow things to finish
signal-event yum-modify
yum clean all


Quote
I get errors.

Which you really need to tell us if you want sensible help.
« Last Edit: August 16, 2012, 02:54:52 AM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline tviles

  • *****
  • 197
  • +0/-0
Re: Dar2 with MC ext SME 8
« Reply #7 on: August 16, 2012, 11:44:35 AM »
[root@shpdserver ~]# yum install smeserver-dar2 --enablerepo=smecontribs --enablerepo=smeupdates-testing
Loaded plugins: fastestmirror, protect-packages, smeserver
Determining fastest mirrors
 * base: mirrors.finalasp.com
 * smecontribs: distro.ibiblio.org
 * smeupdates-testing: distro.ibiblio.org
 * updates: mirror.thelinuxfix.com
base                                                     | 1.1 kB     00:00
base/primary                                             | 967 kB     00:03
base                                                                  2725/2725
smeaddons                                                | 2.3 kB     00:00
smeaddons/primary_db                                     |  30 kB     00:00
smecontribs                                              | 2.3 kB     00:00
smeextras                                                | 2.3 kB     00:00
smeextras/primary_db                                     |  83 kB     00:00
smeos                                                    | 2.3 kB     00:00
smeos/primary_db                                         | 626 kB     00:08
smeupdates                                               | 2.3 kB     00:00
smeupdates/primary_db                                    |  81 kB     00:00
smeupdates-testing                                       | 2.3 kB     00:00
updates                                                  | 1.9 kB     00:00
updates/primary_db                                       | 631 kB     00:01
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Setting up Install Process
No package smeserver-dar2 available.
Nothing to do
[root@shpdserver ~]#

Offline tviles

  • *****
  • 197
  • +0/-0
Re: Dar2 with MC ext SME 8
« Reply #8 on: August 16, 2012, 12:07:06 PM »
Having trouble copying and paste with laptop and cell phone but getting a yum lock error message when trying to do step prior to installing dar2. What I am after is I need to restore ONE file from last Friday's full backup. Selective file restore returns error message non existant file in database after I find the file I need and can put an X next to it prior to selecting perform.
SME 8 32 bit doing a backup to workstation running 2003.


Offline tviles

  • *****
  • 197
  • +0/-0
Re: Dar2 with MC ext SME 8
« Reply #9 on: August 16, 2012, 12:39:28 PM »
: Thu Aug 16 05:32:31 2012 - 00:01 ago
    State  : Running, pid: 22333
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  22 M RSS ( 31 MB VSZ)
    Started: Thu Aug 16 05:32:31 2012 - 00:03 ago
    State  : Running, pid: 22333
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@shpdserver ~]#
[root@shpdserver ~]# cd /opt/dar2-mc
-bash: cd: /opt/dar2-mc: No such file or directory
[root@shpdserver ~]# ./install.sh
-bash: ./install.sh: No such file or directory
[root@shpdserver ~]#

Offline tviles

  • *****
  • 197
  • +0/-0
Re: Dar2 with MC ext SME 8
« Reply #10 on: August 16, 2012, 02:33:25 PM »
Came into this location and from workstation was able to restore the one file I needed using selective file restore and Internet Explorer 8 on the actual workstation that the backup is done to. Will work on the DAR2 problem later.

Restore in progress
The following files and directories have been restored:

◦CALLING DAR: dar -x /mnt/smb/shpdserver.springhillks.gov/set0/full-201208101700 -N -R / -w -g home/e-smith/files/ibays/police/files/ibays/police/files/2012 Officer Reports/filename removed by tviles


◦--------------------------------------------
◦11 inode(s) restored
◦0 inode(s) not restored (not saved in archive)
◦564 inode(s) ignored (excluded by filters)
◦0 inode(s) less recent than the one on filesystem
◦0 inode(s) failed to restore (filesystem error)
◦0 inode(s) deleted
◦--------------------------------------------
◦Total number of inode considered: 575
◦--------------------------------------------
Restore complete



--------------------------------------------------------------------------------

Mitel Networks server 8.0
Copyright 1999-2003 Mitel Networks Corporation.
All rights reserved.