Koozali.org: home of the SME Server

Restore on ssh-console from usb-drive with backup.tgz?

Offline linuxhelp

  • *
  • 173
  • +0/-0
    • Linux PC & Server Support
Re: Restore on ssh-console from usb-drive with backup.tgz?
« Reply #15 on: October 31, 2008, 04:24:24 PM »
Hi Mary

perfect & thanks!

happy weekend to you all...
Linux PC & Server Support
http://www.linuxonlinehelp.de
.. i Love SME..

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Restore on ssh-console from usb-drive with backup.tgz?
« Reply #16 on: November 01, 2008, 12:47:31 AM »
linuxhelp

Please confirm where exactly you copied the tar file to.
"ie Copy the previously made backup file, smeserver.tgz, to a fresh node"
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline linuxhelp

  • *
  • 173
  • +0/-0
    • Linux PC & Server Support
Re: Restore on ssh-console from usb-drive with backup.tgz?
« Reply #17 on: November 01, 2008, 12:34:47 PM »
Hi Mary

i made copy to Root not homes!!!

mount /media/usbdisk
cp /media/usbdisk/Backup-date-folder/smeserver.tgz  /
###############################################
after a restore the users have to move the smeserver.tgz from :

#mv /media/usbdisk/smeserver.tgz /media/usbdisk/Backupdate-folder/
 (cause every backup has the same name, and if users backup different pc to same disk it will be overwritten)

Better, is if the restore is timestamped by the restore skipt?
Must be added to bugs.contrib.org..

« Last Edit: November 01, 2008, 12:39:20 PM by linuxhelp »
Linux PC & Server Support
http://www.linuxonlinehelp.de
.. i Love SME..

Offline linuxhelp

  • *
  • 173
  • +0/-0
    • Linux PC & Server Support
Re: Restore on ssh-console from usb-drive with backup.tgz?
« Reply #18 on: August 18, 2009, 04:21:19 PM »
@Mary

please add to wiki

for restore to a new other Server (newserver.home.net)make..
after reboot delete old DNS Data inside SME
# db host show oldserver.home.net..  to list old entrys!!

and remove old with

db hosts delete oldserver.XXXX.XXX         XXX= domains.net  mit prename oldserver!!
signal-event post-upgrade
signal-event reboot

ready..
Linux PC & Server Support
http://www.linuxonlinehelp.de
.. i Love SME..

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Restore on ssh-console from usb-drive with backup.tgz?
« Reply #19 on: August 18, 2009, 08:44:59 PM »
please add to wiki

linuxhelp, you can edit the wiki. You do not need to ask Mary to do it for you.

Offline linuxhelp

  • *
  • 173
  • +0/-0
    • Linux PC & Server Support
Re: Restore on ssh-console from usb-drive with backup.tgz?
« Reply #20 on: August 18, 2009, 08:56:38 PM »
Hello,

thanks i didn't know that i can write into it.

One Question, which skript does run if a user select USB-Backup
can i run it with crond? weekly?

Thanks..

update
http://wiki.contribs.org/Backup_server_config#Command_line_manual_Restore_from_USB_drive_or_memory_stick
« Last Edit: August 23, 2009, 09:46:04 AM by linuxhelp »
Linux PC & Server Support
http://www.linuxonlinehelp.de
.. i Love SME..

Offline cvlcc

  • ****
  • 102
  • +0/-0
    • http://Cvlcc.com
Re: Restore on ssh-console from usb-drive with backup.tgz?
« Reply #21 on: February 07, 2010, 06:12:42 PM »
I have a newly installed SME 7.4 server installed and with installed a USB with smeserver.tgz file and can you tell me line by line how i can reinstall the file to the server. please.

mount /media/CIDHOSTINGB
cp /media/CIDHOSTINGB/smeserver.tgz
at this point I got cp missing destination file
signal-event post-upgrade
signal-event reboot

IF I'm wrong please correct me
« Last Edit: February 07, 2010, 07:07:27 PM by cvlcc »
My we all be so humbled, To ask the questions and get straight answers. Sooner than later. Thank You For Your Time

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Restore on ssh-console from usb-drive with backup.tgz?
« Reply #22 on: February 07, 2010, 07:54:32 PM »
I have a newly installed SME 7.4 server installed and with installed a USB with smeserver.tgz file and can you tell me line by line how i can reinstall the file to the server. please.

mount /media/CIDHOSTINGB
cp /media/CIDHOSTINGB/smeserver.tgz
at this point I got cp missing destination file
signal-event post-upgrade
signal-event reboot

IF I'm wrong please correct me

mount external disk
cd to the mount point
follow this

ciao

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Restore on ssh-console from usb-drive with backup.tgz?
« Reply #23 on: February 08, 2010, 02:21:05 AM »
vclcc

Or better still this wiki Howto, which may be the step by step instructions you are asking for in another thread/post
http://wiki.contribs.org/Backup_server_config#Command_line_manual_Restore_from_USB_drive_or_memory_stick
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.