-
Notifications
You must be signed in to change notification settings - Fork 978
Best Practices for Backup and CDN Storage Replication
The backup server is an essential part of your disaster recovery plan. It ensures that critical system components are safe and can be restored in case of failure.
-
🗂️ Backs Up:
- Script files (your platform's code and configurations).
- Metadata files (titles, descriptions, and settings).
- Database (user data, logs, and platform settings).
-
🚫 Does NOT Back Up:
- 🎥 Video files: These are stored in the CDN and handled separately.
While it doesn't include video files, the backup server safeguards the core system infrastructure, allowing you to restore your platform quickly if issues arise.
Note: No system is 100% fail-safe, but having a backup server significantly reduces risks.
For video files, enabling CDN storage replication provides a robust layer of protection and performance optimization.
- 🎥 Replicates Video Files: Duplicates video files across multiple regions for added redundancy.
- ⚡ Optimizes Delivery: Serves video files from the region closest to your users for faster playback.
- 🔒 Increases Durability: Protects against data loss from regional storage failures.
- 🚀 Faster video playback for uncached requests.
- 🔄 Continuous availability, even during storage issues.
- 🌍 Improved disaster recovery for video files.
Note: Storage replication focuses solely on video files. Scripts, metadata, and databases remain protected by the backup server.
Aspect | Backup Server | Storage Replication |
---|---|---|
Scope | 🛠️ Protects scripts, metadata, and database. | 🎥 Focuses on video files only. |
Purpose | 🌐 Full system recovery. | 🌍 Ensures video file availability. |
Video Files | ❌ Not included (handled by CDN). | ✅ Exclusively replicates video files. |
Automation | 🕒 Manual restoration required. | 🤖 Fully automated replication. |
Location | 📍 Stored in one offsite location. | 📡 Duplicated across multiple regions. |
While no system can guarantee 100% protection, combining a backup server and storage replication provides the most comprehensive reliability and resilience:
- 🛠️ The backup server protects your platform's core infrastructure (scripts, metadata, database).
- 🌍 Replication ensures video file availability and enhances playback performance.
- System-Level Protection: Backup server ensures platform recovery.
- Video-Level Performance: Replication keeps video streaming uninterrupted.
- Comprehensive Recovery: Safeguards both platform infrastructure and video content.
-
Use Our CDN Storage: We recommend enabling storage replication to protect and optimize your video files.
- More Info: Refer to the CDN Storage Wiki for details.
- Set Up a Backup Server: Safeguard your platform's scripts, metadata, and database at no additional cost.
- Clone the Site on a Separate Server: To further enhance reliability and scalability, we recommend using the Clone Site Plugin.
Combining these measures ensures your platform remains robust, resilient, and ready for any challenge.