Backups aren't included in the plan price, and snapshots aren't offered. You can add the paid Automatic backups add-on for daily restore points of the whole server, but it's a convenience, not a guarantee: those backups are stored on our backup storage in Dallas, Texas, are kept for only 7 days and are deleted when the service ends. We also keep daily disaster-recovery copies of every server, but only to restore our platform after a failure: without the add-on you can't see or use them, and we don't restore your server or files from them on request. So without the add-on, we can't recover your data after a reinstall, cancellation, termination or compromise. Either way, keep up-to-date copies of important data in a location outside our platform.
A simple rule to follow
Keep at least one copy of important data on different storage from your server, ideally with a different provider, and test that you can restore it.
Linux tools
- restic: encrypted, deduplicated backups to S3-compatible object storage, SFTP and more.
- Borg (BorgBackup): encrypted, deduplicated backups to a repository on another server over SSH.
- rclone: copies or syncs files to many cloud storage services. Useful for off-site copies of dumps and archives.
Example: restic to object storage
# Debian / Ubuntu: apt install restic
# AlmaLinux / Rocky Linux: dnf install restic (requires the EPEL repository: dnf install epel-release)
export RESTIC_REPOSITORY="s3:https://s3.example.com/my-bucket/server1"
export AWS_ACCESS_KEY_ID="your-access-key"
export AWS_SECRET_ACCESS_KEY="your-secret-key"
export RESTIC_PASSWORD_FILE=/root/.restic-password
restic init # first time only
restic backup /etc /home /var/www /var/backups
restic forget --keep-daily 7 --keep-weekly 4 --keep-monthly 6 --prune
restic snapshots
Keep a copy of the repository password somewhere other than the server. Without it, the backups can't be restored.
Databases
Dump databases before each backup so you get a consistent copy:
mysqldump --all-databases --single-transaction > /var/backups/mysql.sql
sudo -u postgres pg_dumpall > /var/backups/postgres.sql
Automate it
Put your backup commands in a script and run it daily with cron or a systemd timer, for example:
30 2 * * * /usr/local/bin/backup.sh
Test your restores
restic restore latest --target /tmp/restore-test
Windows Server
Install the Windows Server Backup feature (Install-WindowsFeature Windows-Server-Backup in PowerShell) and back up to an external target, such as a network share on another server. Don't store backups only on the server's own disk.