Koozali.org: home of the SME Server

Selective restore failing

Offline NoTo

  • ****
  • 113
  • +0/-0
Selective restore failing
« on: December 03, 2013, 10:45:50 AM »
I'm testing a backup/restore and getting failures on the restore part...

I performed a full backup and two incremental to external USB disk over a three day period. Today I'm testing the scenario that an ibay needs fully restoring. The backups completed ok with no errors.

Backup -> Selective restore from workstation -> filter: ibay

Once list completes, I select home/e-smith/files/ibays/archives, an ibay that contains about 7Gb of data.

The list starts
Code: [Select]
CALLING DAR: dar -x /media/nolabel/servername.local/set0/full-201311292040 -N -R / -w -g home/e-smith/files/ibays/archives and then lists everything...

and at the bottom:



So, am I exceeding the limit of what Selective Restore from Workstation can handle, or is there something else going on?

I've done some searching but can't find a similar problem (though I found the browser-related issue).

SME8 i386
« Last Edit: December 03, 2013, 10:48:30 AM by NoTo »

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Selective restore failing
« Reply #1 on: December 03, 2013, 01:20:27 PM »
bugzilla is the right place..

please file a bug, thank you

Offline NoTo

  • ****
  • 113
  • +0/-0
Re: Selective restore failing
« Reply #2 on: December 03, 2013, 01:35:28 PM »
bugzilla is the right place..

please file a bug, thank you
I wasn't sure, so thanks for confirming I should. http://bugs.contribs.org/show_bug.cgi?id=8036


Offline NoTo

  • ****
  • 113
  • +0/-0
Re: Selective restore failing
« Reply #3 on: December 03, 2013, 04:09:30 PM »
While that's being considered by the SME experts, is there another way to selectively restore files, either those backed-up with dar or backed-up by another method? I'd feel a little exposed if I didn't have a reliable method of restoring files without over-writing everything  :shock:

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Selective restore failing
« Reply #4 on: December 03, 2013, 05:22:35 PM »
NoTo

Use Command line, or dar plugin for mc.

Did you confirm that selective restore works OK for an ibay that is much smaller in data size eg 1 or 2Mb, just in case either the data size is a problem or you are doing something wrong ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline NoTo

  • ****
  • 113
  • +0/-0
Re: Selective restore failing
« Reply #5 on: December 03, 2013, 05:37:08 PM »
NoTo

Use Command line, or dar plugin for mc.
I installed that but hadn't got as far as playing with it. Now that you've prompted me to, I'll look at it properly. At the moment I'm still working on mounting the USB disk so I can get to it via MC, but I'll keep reading until I can  :-)

Did you confirm that selective restore works OK for an ibay that is much smaller in data size eg 1 or 2Mb, just in case either the data size is a problem or you are doing something wrong ?
Just in the process of doing that now...

Offline NoTo

  • ****
  • 113
  • +0/-0
Re: Selective restore failing
« Reply #6 on: December 03, 2013, 05:49:40 PM »
Right, I selected three files to restore, but it only restored the first one.

I tried again with three different files, double-checking that I was selecting the files correctly (ctrl and 'click') and again it only restored the first one in the selection.


Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Selective restore failing
« Reply #7 on: December 03, 2013, 06:35:43 PM »
NoTo

Is your server fully up to date ?
ie with
yum update

For mounting & unmounting try something like (changing to suit your locations & names etc)
mount /dev/sdc1 /media/USBBackup1
&
umount /dev/sdc1

Also add your further test results to the bug report
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline NoTo

  • ****
  • 113
  • +0/-0
Re: Selective restore failing
« Reply #8 on: December 03, 2013, 06:42:32 PM »
NoTo

Is your server fully up to date ?
ie with
yum update

For mounting & unmounting try something like (changing to suit your locations & names etc)
mount /dev/sdc1 /media/USBBackup1
&
umount /dev/sdc1

Also add your further test results to the bug report
Yes, I 'yummed' all available updates this morning before doing all the testing.

Thanks for the mount/unmount tips  8)  my head's a bit overloaded at the moment, so time to pause for drop or two of Scotland's finest refreshment  :-D

Bugzilla updated  :)

Offline NoTo

  • ****
  • 113
  • +0/-0
Re: Selective restore failing
« Reply #9 on: December 03, 2013, 07:44:46 PM »
For mounting & unmounting try something like (changing to suit your locations & names etc)
mount /dev/sdc1 /media/USBBackup1
&
umount /dev/sdc1
It just tells me mount: mount point /media/noname does not exist

USB Diskmanager tells me it's /dev/sdc1 and the UUID, and that it's vfat (fat32 presumably) but neither command line nor Diskmanger will actually mount it. I seem to remember having endless trouble like this last time I used SME7 and never really resolved them. Disk was prepared under Xubuntu 13.04 and seems to work on anything I plug it into.

Edited to add: I spotted a folder under /media called /nolabel so used tht as the mount name and now it's mounted. Weirdness!
« Last Edit: December 03, 2013, 07:47:45 PM by NoTo »

Offline wellsi

  • *
  • 475
  • +0/-0
    • http://www.wellsi.com
Re: Selective restore failing
« Reply #10 on: December 04, 2013, 07:55:50 AM »
This problem is due to the version of dar in SME 8. The error does not occur in SME 9.
A new version of dar will be searched for or built.
............

Offline NoTo

  • ****
  • 113
  • +0/-0
Re: Selective restore failing
« Reply #11 on: December 04, 2013, 10:16:57 AM »
This problem is due to the version of dar in SME 8. The error does not occur in SME 9.
A new version of dar will be searched for or built.
Phew, I'm relieved it wasn't just me doing something wrong  :smile: