Exclusive Metin2 game shield on FreeBSD: Automatic siege mode, VIP list, and whitelist from your dashboard. See how it works
Create a server

Guide

How to Set Up a Backup to AWS S3

S3 keeps copies off the VPS. With AWS CLI you can sync a backup folder every night.

Steps

  1. Install AWS CLI (or the distro awscli package) and check:

    sudo apt update
    sudo apt install -y awscli
    aws --version
  2. Configure access (Access Key from an IAM user allowed on the bucket):

    aws configure
  3. Upload (sync) your backup folder to the bucket:

    aws s3 sync /var/backups/vps s3://YOUR-BUCKET/vps/ --storage-class STANDARD_IA
  4. Add 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.

Related guides