By Karel Cermak | Karlosoft.
- Proxmox is pretty good at backing up your VMs, but it's not so good at syncing those backups to a remote location without using Proxmox Backup Server. This script is a simple solution to that problem. It uses FTP to sync the backups to a remote server.
- With this CLI tool, you can easily and automatically sync your Proxmox backups to a remote server using FTP (to your NAS, AWS S3, etc.).
- You will create a new folder on your Proxmox server (bare metal) and set this folder as the backup location for your virtual servers. You will set it up so that old backups are regularly deleted, for example after 5 backups. In the meantime, this tool will synchronize these backups to a remote server using FTP.
- Move backups from Proxmox to a remote server using FTP.
- Automatically remove old backups from FTP.
- Email notifications for successful and unsuccessful backups.
- Automatically delay the removal of old backups when new backups are unavailable (which may indicate a problem).
- Simple command line control and easy connection to CRON.
- You can find the installation in this file:
INSTALL.md
. - You can find the help in this file:
USAGE.md
. (or use the commandphp syncer.php help
).
- You are using Proxmox Backup Server.
- You make backups very often (hourly). This tool is more for backups made at daily or weekly intervals.
- Your backups are really large (several hundred GB). The tool is currently not written for multi-core processing, so if you have large backups, it may take a long time.
- This tool cannot copy data directly between Proxmox and FTP and must store data on its disk. Therefore, it is more suitable to use this tool in a VE that runs on HDD and has enough space (the more the better, for example I use 120 GB drive). Using on an SSD disk can significantly shorten its lifespan.
- Yes, you can. The tool is not limited to Proxmox backups only. You can use it to transfer any files from one server to another using FTP (WordPress backups, etc.).
- Ot is important that what creates the backups is able to delete the backups in the original storage (this utility cannot do that). It should also never create two files with the same name (i.e. the file name should have a timestamp or random ID in it).