Server Backup Options and Data Recovery Guide for REXE
REXE Technology backup options: automatic snapshots, manual backups, and application-level backup strategies. Learn how to prevent data loss and recover quickly from any incident.
Table of Contents
Introduction
Data loss is one of the most critical issues in server management. Hardware failure, software bugs, accidental deletion, or cyber attacks can all lead to data loss.
REXE Technology offers various backup options to keep your data safe.
Backup is the most important part of server management. Using a server without regular backups carries significant risk.
Backup Types
1. Automatic Snapshot Backup
Automatic snapshots take a full disk image of your server at regular intervals.
| Feature | Value |
|---|---|
| Frequency | Daily |
| Retention | Last 3-7 snapshots |
| Timing | Night hours (low traffic) |
| Restore | One-click via panel |
| Cost | Optional add-on |
Automatic Snapshot Flow:
03:00 AM → Snapshot starts
→ Disk image is taken
→ Previous snapshots enter rotation
→ Oldest snapshot deleted (FIFO)
Automatic snapshot is the easiest and most reliable backup method. It can be activated during or after server ordering.
2. Manual Snapshot
Take manual snapshots anytime through the customer panel.
Use Cases:
- Before important updates or changes
- Before new software installation
- Before configuration changes
- Creating a test environment
Manual Snapshot Steps:
1. my.rexe.tr → My Services → Server Management
2. Click the "Take Snapshot" button
3. Enter snapshot description (e.g. "Before Nginx update")
4. Confirm → Snapshot is created
When taking a manual snapshot, ensure the server is not performing intensive I/O operations. For database servers, it is recommended to flush the database before taking a snapshot.
3. Application-Level Backup
In addition to server snapshots, application-level backups are recommended:
Database Backup
# MySQL / MariaDB
mysqldump -u root -p --all-databases > /backup/db_$(date +%Y%m%d).sql
# PostgreSQL
pg_dumpall -U postgres > /backup/pg_$(date +%Y%m%d).sql
# MongoDB
mongodump --out /backup/mongo_$(date +%Y%m%d)/
File Backup
# Compress and backup a specific directory
tar -czf /backup/web_$(date +%Y%m%d).tar.gz /var/www/
# Backup to remote server via rsync
rsync -avz /var/www/ user@backup-server:/backup/web/
Automated Backup Script
#!/bin/bash
# /root/backup.sh
DATE=$(date +%Y%m%d_%H%M)
BACKUP_DIR="/backup/$DATE"
mkdir -p $BACKUP_DIR
# Backup database
mysqldump -u root --all-databases > $BACKUP_DIR/db.sql
# Backup web files
tar -czf $BACKUP_DIR/web.tar.gz /var/www/
# Delete backups older than 7 days
find /backup -maxdepth 1 -type d -mtime +7 -exec rm -rf {} \;
echo "Backup completed: $BACKUP_DIR"
Automatic execution via cron:
# Backup every night at 02:00
0 2 * * * /root/backup.sh >> /var/log/backup.log 2>&1
Backup Plan Recommendations
| Use Case | Recommended Plan |
|---|---|
| Personal website | Weekly automatic snapshot |
| E-commerce site | Daily snapshot + daily DB backup |
| Game server | Daily snapshot + game data backup |
| Enterprise app | Daily snapshot + hourly DB backup + remote backup |
| Database server | Daily snapshot + hourly incremental backup |
Restore
Restore from Snapshot
- Go to my.rexe.tr → My Services → Server Management
- Navigate to the "Snapshots" section
- Select the snapshot to restore
- Click "Restore" and confirm
Snapshot restore completely replaces the server's current state. All changes after the snapshot date will be lost.
Restore from Application Backups
# MySQL restore
mysql -u root -p < /backup/db_20240101.sql
# File restore
tar -xzf /backup/web_20240101.tar.gz -C /
Best Practices
- 3-2-1 Rule: 3 copies, 2 different media, 1 remote location
- Regular testing: Periodically test restoring your backups
- Encryption: Encrypt backups containing sensitive data
- Monitoring: Monitor backup jobs, track failed backups
- Documentation: Document backup and restore procedures
Making backups isn't enough — regularly test restoring them to ensure they work.
Related Articles
REXE Service Comparison: VDS, Dedicated, Colocation Guide
Compare REXE Technology's VDS, dedicated server, colocation, and rack rental services in detail. Find the right hosting solution for your needs with our pricing and feature guide.
SLA and Uptime Guarantee: REXE 99.9% Service Commitment
REXE Technology SLA policy: 99.9% uptime guarantee, credit policy, uptime calculation and data center infrastructure. Learn your rights and the credit process during outages.
REXE Client Panel User Guide
Guide to managing services, opening support tickets, viewing invoices, and server operations in the my.rexe.tr client panel.