Home Insurgency: Sandstorm Scheduling Automated Server Backups for Your Insurgency: Sandstorm Server

Scheduling Automated Server Backups for Your Insurgency: Sandstorm Server

Last updated on Feb 19, 2025

Ensure your server data is safe by automating regular backups, so you can quickly restore configurations and player data on your Insurgency: Sandstorm server.


📌 Prerequisites


1️⃣ Creating a Backup Script

  1. Log in to VolticHost Game Panel.

  2. Click on your Insurgency: Sandstorm server and navigate to the File Manager.

  3. Create a new file named backup.sh in the root directory.

  4. Insert the following script:

    #!/bin/bash
    TIMESTAMP=$(date +"%Y%m%d_%H%M%S")
    BACKUP_DIR="backups"
    mkdir -p $BACKUP_DIR
    tar -czf $BACKUP_DIR/Sandstorm_backup_$TIMESTAMP.tar.gz ./Sandstorm/config ./Sandstorm/savefiles
    
  5. Click Save File and ensure the script is executable (e.g., set permissions to chmod +x backup.sh).

Backup script created and configured!


2️⃣ Scheduling the Backup Script

  1. In VolticHost Game Panel, navigate to the Scheduled Tasks section.

  2. Click Create New Task and choose Custom Command.

  3. Enter the command to execute your script, for example:

    ./backup.sh
    
  4. Set your preferred schedule (e.g., daily at 3:00 AM).

  5. Click Save Task to confirm the scheduling.

Backup script scheduled successfully!


3️⃣ Verifying and Restoring Backups

  1. After the scheduled task runs, navigate to the File Manager and open the backups directory.

  2. Confirm that backup files with current timestamps have been created.

  3. To restore, extract the desired backup archive into the appropriate directories.

Backup verification complete—your server backups are in place!


🎉 Conclusion

You've successfully automated server backups for your Insurgency: Sandstorm server using VolticHost Game Panel, ensuring your data is secure and easily restorable. 🚀

For additional assistance, contact VolticHost Support.