![]() ![]() But if it is huge, it makes a big difference. ![]() Sure, if it is only small then it makes little difference. So every X days, you'll be re-syncing that locally stored file, over and over. If you allow b2's Lifecycle rules to delete a file after X days, then the next time you do a sync you'll be syncing that local backup to b2 again. in my case I have some backups of VM templates that are stored locally and never deleted, which are also stored on b2 via the sync process. However, b2's Lifecycle rules can't take account of the fact that you may have a stored local backup of a file that's also being synced (not just moved) to b2. So the info provided about how to successfully do it using Lifecycle rules is really interesting - thanks. In the end I wrote my own script using the b2 cli tool to do so. I had tried to use b2's Lifecycle policy myself to delete old files, and failed. Old thread, but I thought I'd chime in, although I only have a small amount of info to offer here. If someone needs help or wants give me suggestions to improve this idea, please let me know! 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. 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. Then I've done a script running at cron weekly that delete in the object storage, oldest backup, keeping just the most recent ones. delete VM backup on local storage to free disk space made a script that with rclone move backup at the end of the process (using script hookup on nf) to the object storage (I'm using B2 Backplace that perform very fast but it works perfectly over S3 compatible, tested over Scaleway). If someone is interested I'm doing in this way: I've finally found a solution that is quite stable and perform well. I'm been working finding a way to backup VM over an object storage like S3 or B2 Backblaze. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |