Sun Cobalt RaQ
 

raqbackup.sh 3.2f

Get raqbackup.sh installed on your RaQ

You don't want to install raqbackup.sh? Get raqbackup.sh installed on your server!

Install it on your own

Please follow the instructions on this page. This page generates some lines of code which you'll have to execute on your source RaQ - so there is no normal download procedure. But don't worry, you will see that it is very easy to setup raqbackup.sh

Since raqbackup.sh uses FTP to transfer the backup to another server you'll have to configure two servers. The source machine has to be a RaQ but the target machine can be any server with FTP-access.

  • target machine
    1. create an user with FTP-access on the target machine. You can use the username backup if you like.
    2. be sure to give this user a lot of quota (a minimum of 2 GB per source RaQ seems to be a good value)
    3. if you like create a special directory where raqbackup.sh should store the backup files. raqbackup.sh will create a directory under this directory with the hostname of the source RaQ. If you don't specify a special directory raqbackup.sh uses the start-directory of the ftp-session. If the target machine is a RaQ and the ftp-user is backup raqbackup.sh will store the files under /home/sites/site/users/backup/hostname.of.source/
  • source RaQ
    1. please download the recommended version of Jeff Bilicki's CMU (see our table Cobalt Migration Utility) and install it on your RaQ (use the server administration of your RaQ).
    2. You are now able to customize raqbackup.sh to your needs. What you type is secret - you don't have to submit it to us or to other servers. It is used to generate some commands in the textarea-field at the bottom of the page with the JavaScript-feature of your browser.
      General Options
      Hostname Hostname of your source server:

      automatic will auto-detect your hostname.
      Installation-directory In which directory do you want to install raqbackup.sh?

      /etc/cron.daily is recommended. This will start raqbackup.sh every morning
      Working directory raqbackup.sh needs a directory to store some files.
      E-Mail-Notifications raqbackup.sh can send you daily reports of the backup-process. This option is very recommended. Do you want daily mails?
      yes   no
      E-Mail:
      Very detailed reports:
      always
      never
      first day of a month
      every Monday
      every Tuesday
      every Wednesday
      every Thursday
      every Friday
      every Saturday
      every Sunday
      Update check - online diagnostics Should raqbackup.sh check if a new version is available? This is no auto-update but just a check.
      yes   no
    3. What do you want to backup?
      WHAT do you want to backup?
      Backup sites and users with CMU Do you want to use CMU to backup site and user data?
      yes   no
      Do you want to exclude a directory from being cmuExported?
      yes   no

      raqbackup.sh moves the complete directory to a secure place before it starts cmuExport and moves it back to the original place after the end of cmuExport. Please never exclude any important system-directory!
      Do you want to compress the several xml-files to a single archive?
      yes   no
      Location of cmuExport:
      CMU-directory:
      Backup MySQL-databases Do you want to backup mysql-databases?
      yes   no
      Location of mysqldump:

      Do a locate mysqldump to be sure the path is correct. You'll need MySQL 3.23.x or newer!
      MySQL user:

      usually this is the MySQL user root. This is not the same user as your system user root. Both users should have different passwords for security reasons.
      Password of this user:

      this is the passoword of the MySQL user above.
      Do you want to compress the resulting sql-file?
      yes   no
      Backup other directories Do you want to backup any additional directories?
      yes   no
      directories:

      Each directory in a new line, please.
      raqbackup.sh will backup the specified dirs and their subdirectories.
    4. Where should raqbackup.sh store the backup?
      Locations to store the backup
      Store on source RaQ Do you want to store the backup on the source RaQ?
      yes   no
      This backup would be stored under /home/raqbackup/data. If you have enough diskspace it's a good idea to activate this option.
      FTP to another server Do you want to transfer the backup to another server?
      yes   no
      Hostname or ip-address of target machine
      FTP-user on target machine
      Password of this user
      Target directory

      e.g. /home/backup - leave blank if raqbackup.sh should use the initial directory of the ftp-session (where it will create a directory hostname.of.source)
      Port for FTP

      if you don't use the standard-port (which is 21)
    5. SSH or telnet to your source RaQ, login and su to root
    6. copy the following text to your clipboard and paste it into your Telnet/SSH-client. These commands download the script from our server and replace default-values with the values you entered above.
    7. That's it. raqbackup.sh is installed and configured. If you want to start it manually, SSH or telnet to your RaQ, change to the installation-directory and execute raqbackup.sh with the screen-parameter: ./raqbackup.sh screen
Support the development of raqbackup.sh
spendenspendenspendenspendenspendenspenden
Support the development of raqbackup.sh with your donation - simple, fast and secure. Thank you!
Nicht an diese Adressen schreibenHonig für Werbemails
Sun Cobalt RaQ Neuhaus Internet
Neuhaus Internet