Hi there,
I'm been working finding a way to backup VM over an object storage like S3 or B2 Backblaze...
I've finally found a solution that is quite stable and perform well.
If someone is interested I'm doing in this way:
- VM backup over local storage
- made a script that with rclone move backup at the end of the process (using script hookup on vzdump.conf) to the object storage (I'm using B2 Backplace that perform very fast but it works perfectly over S3 compatible, tested over Scaleway).
- delete VM backup on local storage to free disk space
Then I've done a script running at cron weekly that delete in the object storage, oldest backup, keeping just the most recent ones.
What is nice is that I can restore a VM directly mounting the object storage using rclone mount or s3fs (rclone mount is better in performance) in a local folder than mapping in Proxmox storage directly (as directory) and restore which backup I need to, without copying backup file locally first. Using a 1 Gbps internet connection I can restore directly from B2 Backblaze at more than 500 Mbps speed! That's pretty fast for an object storage.
If someone needs help or wants give me suggestions to improve this idea, please let me know!
Best regards,
Paolo
I'm been working finding a way to backup VM over an object storage like S3 or B2 Backblaze...
I've finally found a solution that is quite stable and perform well.
If someone is interested I'm doing in this way:
- VM backup over local storage
- made a script that with rclone move backup at the end of the process (using script hookup on vzdump.conf) to the object storage (I'm using B2 Backplace that perform very fast but it works perfectly over S3 compatible, tested over Scaleway).
- delete VM backup on local storage to free disk space
Then I've done a script running at cron weekly that delete in the object storage, oldest backup, keeping just the most recent ones.
What is nice is that I can restore a VM directly mounting the object storage using rclone mount or s3fs (rclone mount is better in performance) in a local folder than mapping in Proxmox storage directly (as directory) and restore which backup I need to, without copying backup file locally first. Using a 1 Gbps internet connection I can restore directly from B2 Backblaze at more than 500 Mbps speed! That's pretty fast for an object storage.
If someone needs help or wants give me suggestions to improve this idea, please let me know!
Best regards,
Paolo