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

Blog

#backup

Posts tagged with “backup”.

How to Verify That Your MySQL Backup Can Be Restored

  • Xernode
  • 4-minute read
  • mysql

Many backups fail silently: a dump cut short due to lack of space, a table that doesn't fit, or an expired password. You only discover this when you try to restore the data, and if that's the day of the disaster, it's already too late. In this guide, you’ll restore your MySQL or MariaDB backup to a test environment, verify that it’s complete, and schedule the drill.

… Read the complete guide

How to Set Up a Backup to Google Drive

  • Xernode
  • 1-minute read
  • backup

Google Drive is a cheap offsite target. With rclone you authenticate once and upload tarballs or folders from the VPS.

Steps

  1. Install rclone:

    sudo apt update
    sudo apt install -y rclone
  2. Configure the remote (follow the wizard; type Google Drive). On a headless server use the code flow:

    rclone config
… Read the complete guide

How to Set Up a Backup to AWS S3

  • Xernode
  • 1-minute read
  • backup

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):

… Read the complete guide

How to Set Up Automatic Backups in Linux

  • Xernode
  • 1-minute read
  • backup

Automatic backups beat “I’ll do it tomorrow”. On a VPS you only need a script, a safe folder and one cron line.

Steps

  1. Create the backup folder and a simple script (adjust paths):

    sudo mkdir -p /var/backups/vps
    sudo nano /usr/local/bin/vps-backup.sh
  2. Minimal script body (example: tar of /etc):

… Read the complete guide