Have you ever wondered what would happen if your Enhance Backup server failed?
It’s a scenario no one wants to face, but preparing for it is essential. At cPFence, we faced the same question and decided to take action. Today, we’re sharing the script we developed to back up our Enhance Backup servers with the community. We hope you find it handy and useful.
This script handles:
- Synchronizing the live state of your backups (
backup-subvolume
) to a secondary server.
- Sending all snapshots (
snapshot-*
) securely to the destination.
- Deleting outdated snapshots from the secondary server that no longer exist on the source.
You can also use the script to restore your backups in case of a disaster with just two steps:
- Run the script on the backup server.
- Enable
restore_mode=on
to make all backups ready for immediate use.
📄 Get the script here: cPFence Backup Script
For more detailed instructions, visit our blog post: How to Backup Your Enhance Backups.
⚠ Disclaimer:
Please note that this guide is provided as-is for experienced server admins only, and we do not offer support for the backup process. Use it at your own risk, and don’t forget to test it in a non-production environment first!
We’d love to hear your feedback or any suggestions for improvement. Give it a try and let us know how it works for you.