Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: GSE on September 19, 2016, 12:31:41 PM

Title: Console backup to USB Restore issue
Post by: GSE on September 19, 2016, 12:31:41 PM
I have mapped a ibay to another hdd in the server under mnt/3rd/ibays/projects.
I also changes the backup path to be included when I do the console backup to usb by editing the /usr/lib/perl5/site_perl/esmith/Backup.pm

Everything works as it should, the mapped ibay is included inside the smeserver.tgz file.
The Problem is:
Doing a fresh install - restore from backup - that data does not get restored.

What else do I need to edit or get this to work?


Title: Re: Console backup to USB Restore issue
Post by: Daniel B. on September 19, 2016, 12:47:45 PM
Why don't you mount your additionnal drive directly in /home/e-smith/files/ibays/projects ?
Title: Re: Console backup to USB Restore issue
Post by: GSE on September 19, 2016, 12:53:03 PM
haven't thought of that???
I just followed examples of other people.
Will give it a try.  :-)
Title: Re: Console backup to USB Restore issue
Post by: Daniel B. on September 19, 2016, 12:59:06 PM
That wouldn't explain why your data is not being restored. If it's included in smeserver.tgz, it should be. Are you sure there's nothing in /mnt/3rd/ibays/projects ?
Title: Re: Console backup to USB Restore issue
Post by: GSE on September 19, 2016, 01:03:07 PM
There isn't even a mnt/3rd folder
just the default mnt/smb folder
Title: Re: Console backup to USB Restore issue
Post by: Daniel B. on September 19, 2016, 01:05:04 PM
Then I guess there's something wrong during the backup. The /mnt/3rd/ibays/projects is most likely not included in smeserver.tgz. During the restore, the archive is simply extracted on top of / so everything included gets restored