S3 keeps copies off the VPS. With AWS CLI you can sync a backup folder every night.
Steps
Install AWS CLI (or the distro awscli package) and check:
sudo apt updatesudo apt install -y awscliaws --versionConfigure access (Access Key from an IAM user allowed on the bucket):
aws configureUpload (sync) your backup folder to the bucket:
aws s3 sync /var/backups/vps s3://YOUR-BUCKET/vps/ --storage-class STANDARD_IAAdd it to the daily cron after the local tar job:
15 3 * * * /usr/local/bin/vps-backup.sh && aws s3 sync /var/backups/vps s3://YOUR-BUCKET/vps/
Tips
- Use a least-privilege IAM policy for that bucket only — never the root key.
- Turn on bucket versioning or retention if you need history.
ext step
Build the tars on a VPS with a fixed IP: Deploy your Cloud VPS.