Help: Howto restore your m23 server
You can restore your m23 server with the previously created backups to any saved state in case of a failure.
To restore it, use the following step-by-step restoration guide:
- Install the m23 server with the m23 server installation CD on an error free hard disk. You can download the ISO for burning the CD from m23.sf.net.
- Save the last backup file on the computer that contains the GPG key for encryption and decryption.
- Decrypt the backup file. If the computer is a Linux system the backup file may be decrypted with:
gpg -d < m23serverBackup-*.tar.gpg > m23backup.tar
Otherwise, use the GPG application of your operating system.
- Now copy the decrypted backup file "m23backup.tar" to the newly installed m23 server into the directory "/tmp". With Linux you can do the copying as follows:
scp m23backup.tar root@[IP]:/tmp
Replace "[IP]" with the IP of your m23 server. You can use the tool WinSCP (www.winscp.net), if you use Windows.
- Log in to the m23 server as user root.
- Go to the directory "/tmp" with:
cd /tmp
- Create a new directory for extracting the backup file and go to this directory:
mkdir restore; cd restore
- Extract the backup file with:
tar xfv /tmp/m23backup.tar
- Now start the recovery with:
/m23/bin/m23Restore
- You should reboot the server after the restoring is finished. This can be done with the command:
reboot
- The m23 server should work as expected afterwards.
|