Koozali.org: home of the SME Server

Console backup to USB Restore issue

Offline GSE

  • 9
  • +0/-0
Console backup to USB Restore issue
« 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?



Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Console backup to USB Restore issue
« Reply #1 on: September 19, 2016, 12:47:45 PM »
Why don't you mount your additionnal drive directly in /home/e-smith/files/ibays/projects ?
C'est la fin du monde !!! :lol:

Offline GSE

  • 9
  • +0/-0
Re: Console backup to USB Restore issue
« Reply #2 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.  :-)

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Console backup to USB Restore issue
« Reply #3 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 ?
C'est la fin du monde !!! :lol:

Offline GSE

  • 9
  • +0/-0
Re: Console backup to USB Restore issue
« Reply #4 on: September 19, 2016, 01:03:07 PM »
There isn't even a mnt/3rd folder
just the default mnt/smb folder

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Console backup to USB Restore issue
« Reply #5 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
C'est la fin du monde !!! :lol: