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
-
An Insurgency: Sandstorm server purchased at VolticHost.com
-
Access to VolticHost Game Panel
-
Basic knowledge of scripting and scheduled tasks
1️⃣ Creating a Backup Script
-
Log in to VolticHost Game Panel.
-
Click on your Insurgency: Sandstorm server and navigate to the File Manager.
-
Create a new file named
backup.sh
in the root directory. -
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
-
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
-
In VolticHost Game Panel, navigate to the Scheduled Tasks section.
-
Click Create New Task and choose Custom Command.
-
Enter the command to execute your script, for example:
./backup.sh
-
Set your preferred schedule (e.g., daily at 3:00 AM).
-
Click Save Task to confirm the scheduling.
✅ Backup script scheduled successfully!
3️⃣ Verifying and Restoring Backups
-
After the scheduled task runs, navigate to the File Manager and open the
backups
directory. -
Confirm that backup files with current timestamps have been created.
-
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.