If you have our managed hosting service, then 50GB of backup space is included, and we will install and configure our backup script.
Our backup script takes a daily snapshot of all your filesystems. This kind of backup makes efficient use of our high performance always-online, offsite-mirrored backup space, and allows us to restore your service rapidly in the case of disaster. Please note, though, that we don't keep any historical backups. So if you delete a vital file, or your website is defaced, those changes will be copied to the backup space within 24 hours. This script is part of a backup regime, but not a complete solution.
If you have ordered backup space, authentication is via ssh protocol. Many systems can then be used on top of ssh, such as scp, sftp, rsync, sshfs, or git. You will need an ssh key to authenticate which must be uploaded to the control panel backup page before you can access the backup space.
Using our script
If you want to use our backup script, you're welcome to do so. Please read the Caution above.
On Debian or Ubuntu servers, you can install mythic-backup from our repository:
wget -qO- http://email@example.com | apt-key add - echo deb http://mirror.mythic-beasts.com/mythic mythic main > /etc/apt/sources.list.d/mythic-beasts.list apt-get update apt-get install mythic-backup
We also have a yum repository, for CentOS and RedHat servers. (Details to follow.)
After installing, you'll need to set
/etc/mythic/backup.conf, and copy the ssh key from
/root/.ssh/id_mythic_backup_rsa.pub to the
control panel backup page.
If you don't want to use our backup script, then you can roll your own backups
using for example scp or rsync. Our backup server is
backup-mer-b.mythic-beasts.com, and your username is the name of
your backup space, usually the same as the short name of your server. If your
backup space is called
foo, you can log into the backup server
with this command:
To copy a file to the backup server, using scp:
scp my_backup.tar.gz firstname.lastname@example.org:
You could also use rsync:
rsync -a --numeric-ids --rsh="ssh -T -a -oPasswordAuthentication=no -i/root/.ssh/id_mythic_backup_rsa" --rsync-path="rsync --fake-super --numeric-ids" /home/foo/Documents email@example.com:
In this example we are using the
--fake-super option to store
permissions in the extended attributes of the file system. This allows you to
store full uid, gid, and permission information along with all your files,
without requiring root access to the backup server.
If you make your own backups, please make sure that you know how to restore from them!