Koozali.org: home of the SME Server

Restore from desktop not working SME 6.0.1

markwilko

Restore from desktop not working SME 6.0.1
« on: November 04, 2004, 11:50:31 AM »
I have to restore from a .tgz file created by Backup  to Desktop on a SME 6.0.1 server.

When I try to restore, the browser window goes blank and nothing happens.  When I try it from the text based browser on the server the field has "Backup file to restore from: [FILE Input] (Not yet implemented)."  Does this mean that I can't restore?

Is there another way to restore it other than recreating everything by hand (groan!)?

asjunk

Restore from desktop not working SME 6.0.1
« Reply #1 on: November 16, 2004, 05:00:18 AM »
I'm in the same boat -- although I am trying to restore a backup from the old server (which is still operational) onto the new server (faster with more memory).  The restore from desktop option seems to be going nowhere -- in the web browser it appears to time out after about 30 seconds, although network traffic essentially stops after about 10 seconds.

Is this a function of the size of the backup file, perhaps?  My backup file is approx. 2 GB, and the remote upload should take about 20 mins. or so.

Does anyone have a suggestion for another (better?) way to back up/restore the system, particularly for someone who's essentially a linux moron (i.e. me)?

Thanks!

Offline briank

  • ****
  • 146
  • +0/-0
Restore from desktop not working SME 6.0.1
« Reply #2 on: November 16, 2004, 05:19:51 AM »
Try a different browser - I had this issue about a year ago and that suggestion from the forum was the answer. As an aside I can't get the logfiles to load in Opera but no problems in IE6. Go figure.
Good luck
Brian

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Restore from desktop not working SME 6.0.1
« Reply #3 on: November 16, 2004, 11:17:13 AM »
we got fed up with browsers and now bundle this in our backup panel
this also allows larger files to be restored as you don't copy the file to the server first

Restoring .tgz files

- restore all files

files are restored relative to current path
use / for system restore
or /anywhere/else otherwise

with ssh, from / dir of server to be restored
ssh user@remote-server.net cat home/sample.tgz | tar -xvf -

with share or nfs, mount share,
from / dir of server to be restored
tar -xvf /mnt/share/sample.tgz

- selective restore
check existence and path

tar -tf sample.tgz |grep netlogon
home/e-smith/files/samba/netlogon/
home/e-smith/files/samba/netlogon/netlogon.bat

extract a file
tar -xvf sample.tgz home/e-smith/files/samba/netlogon/netlogon.bat

stephen noble
dungog.net/sme