Sun Cobalt RaQ 3.2f

Restore a backup

  • if you need to restore your RaQ (hopefully not) you can use OS-Restore-CDs to restore your RaQ to factory-settings. Please read the readme. If you have questions regarding the OS-Restore-CDs please search the cobalt-users-archive or post your question to this list.
  • create a directory on your restored RaQ: mkdir /home/restore
  • change to this directory: cd /home/restore
  • FTP to the backup-machine: ftp -i hostname.of.backup.machine
  • change to the directory where you stored the backup: cd backupdirectory/hostname.of.source
  • be sure this is the right directory: ls. You should see several *.tar.gz and *.xml-files.
  • switch to binary-mode: binary
  • get all compressed archives in this directory: mget *.gz*
  • switch to ascii-mode: ascii
  • get other files (don't worry if there are no files matching the wildcard)
    mget *.xml
    mget *.md5lst
    mget *.sql
  • close the connection: exit
  • the following is the most important task since you can restore sites and users now using the Cobalt Migration Utility which you have to install on the source RaQ now. The data of the cmuExport is stored in several *.tar.gz-files (user and site data e.g. user's mailspool) and *.xml-files with site and user configuration.

  • If you have choosen to compress the *.xml-files to a single archive you'll have a file called hostname.of.source.cmu-xml-files.tar.gz instead of the *.xml-files. You have to untar the archive with tar zxvf hostname.of.source.cmu-xml-files.tar.gz first. Move the files to your restore-directory /home/restore.

    to restore these files you have to install CMU first. You should use the same version of CMU for import and export.

    import all sites and users to your restored RaQ
    /usr/sbin/cmuImport -d /home/restore

    You have the possibilty to do a selective restore if you don't want to cmuImport all sites
    /usr/sbin/cmuImport -d /home/restore -n

    If you want to change the ip-address use the -i option to overwrite the old ip-address:
    /usr/sbin/cmuImport -d /home/restore -i

    If you have multiple new ip-addresses you can edit the values in your cmu.xml. This is very easy - you can even do a search&replace. Please read the documentation of CMU for more options.

  • DNS-records (whole /etc/named-directory) and/or other directories you specified are stored in the file hostname.of.source.dirs.tar.gz. To restore DNS records type tar zxvf hostname.of.source.dirs.tar.gz to extract the dns-records and copy the extract to /etc/named. Execute /usr/admserv/cgi-bin/.cobalt/dns/index.cgi to import the records to your RaQ.
  • Last thing is to import hostname.of.source.mysqldump.sql to mysql. Instead of this you'll might have a compressed file called hostname.of.source.mysqldump.tar.gz which you have to untar with tar zxvf hostname.of.source.mysqldump.tar.gz first. To import the .sql-file you can use phpMyAdmin or type mysql -u root -ppasswordofmysql < /home/restore/hostname.of.source.mysqldump.sql
Support the development of
Support the development of with your donation - simple, fast and secure. Thank you!
Nicht an diese Adressen schreibenHonig für Werbemails
Sun Cobalt RaQ Neuhaus Internet
Neuhaus Internet