Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: NoTo on December 03, 2013, 10:45:50 AM

Title: Selective restore failing
Post by: NoTo 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:

(https://lh4.googleusercontent.com/-dlpN26l0cbc/Up2nuHbahcI/AAAAAAAALx8/hsJ5jKrKJAw/s800/Screenshot3.png)

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
Title: Re: Selective restore failing
Post by: Stefano on December 03, 2013, 01:20:27 PM
bugzilla is the right place..

please file a bug, thank you
Title: Re: Selective restore failing
Post by: NoTo 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 (http://bugs.contribs.org/show_bug.cgi?id=8036)

Title: Re: Selective restore failing
Post by: NoTo 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:
Title: Re: Selective restore failing
Post by: janet 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 ?
Title: Re: Selective restore failing
Post by: NoTo 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...
Title: Re: Selective restore failing
Post by: NoTo 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.

Title: Re: Selective restore failing
Post by: janet 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
Title: Re: Selective restore failing
Post by: NoTo 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  :)
Title: Re: Selective restore failing
Post by: NoTo 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!
Title: Re: Selective restore failing
Post by: wellsi 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.
Title: Re: Selective restore failing
Post by: NoTo 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: