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.
Image serverRestore
To restore it, use the following step-by-step restoration guide:
  1. 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.
  2. Save the last backup file on the computer that contains the GPG key for encryption and decryption.
  3. Decrypt the backup file. If the computer is a Linux system the backup file may be decrypted with:
    gpg -d  m23backup.tar
    
    Otherwise, use the GPG application of your operating system.
  4. 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.
  5. Log in to the m23 server as user root.
  6. Go to the directory ”/tmp” with:
    cd /tmp
    
  7. Create a new directory for extracting the backup file and go to this directory:
    mkdir restore; cd restore
    
  8. Extract the backup file with:
    tar xfv /tmp/m23backup.tar
    
  9. Now start the recovery with:
    /m23/bin/m23Restore
    
  10. You should reboot the server after the restoring is finished. This can be done with the command:
    reboot
    
  11. The m23 server should work as expected afterwards.