Hi there,
Is there a way to use an S3 Bucket as storage for my Proxmox backups?
Thank you for the help
Is there a way to use an S3 Bucket as storage for my Proxmox backups?
Thank you for the help
s3fs-fuse
to add this functionality [2]. However, be aware that there have been reports of issues with this approach, and we do not officially support that. So there are no guarantees about the stability of such a setup.I'm sorry if I misunderstand your project, but I'd like to know if it allow us to use an S3 bucket as target for Proxmox backup.
How could I copy backups... should I upload entire tree for iDrive?You could always move your backups from a local drive to AWS using Rclone and run it as a cron job, if you are comfortable working from the command line. Rclone installs from a simple script https://rclone.org/install/
I'm sorry if I misunderstand your project, but I'd like to know if it allow us to use an S3 bucket as target for Proxmox backup.
I'd like to use iDrive (AWS competitor , much cheaper, with S3 protocol access too, to store replica from backups done localy.
So primary backup is done onsite and later exported/sync to iDrive using S3.
I'd like to understand how to do it ... and later I can create very detailed documentation to all other users.
#!/bin/bash
# A simple script to back up PBS to Crypt remote
_lock_file=/root/.tertiary_backup.lock
_schedule_time=1:30
_max_duration="7.5h"
_cutoff_mode="soft"
_datastore_dir_name=Primary_Backup
_datastore_dir_path=/mnt/datastore/$_datastore_dir_name
_config_dir=$_datastore_dir_path/host_backup
_remote_user=user
_remote_ip=tailscale-ip
_remote_port=22
_remote_name=Tertiary_Backup_Crypt...
Hi,the proxy basically simulates an Proxmox Backup server, just that it stores the data in S3 natively.
It makes most sense if you use it as upstream backup server where you set it as remote target to push
the data from your local proxmox backup server instance to an bucket.
You can also use it as primary backup storage, you configure it like an PBS in PVE for backup targets.
You can also use it as backup target for the regular proxmox-backup-client.
Depends on your usecase.
You may want to consider to read the README entirely, it describes how to use it.
Hi,
Thanks for your answer.
So let me try to explain what I undestand:
I have a local PVE + local PBS + this "PBS proxy" running as a service somewhere in LAN and connected to external any S3 storage .
PVE backups are done in local PBS, later replicated to "PBS proxy" that uses external S3 storage .
Everything uses PVE/PBS GUI and configurations to backup and restore.
Is that right?
I don't want to be a killjoy but just a reminder: Although I like the idea of a PBS/S3 wrapper a lot that's just another solution (like s3fs and similiar hacks) which is not from the Proxmox team, thus it's not officially supported.
I understand the risks of not being officially supported.I don't want to be a killjoy but just a reminder: Although I like the idea of a PBS/S3 wrapper a lot that's just another solution (like s3fs and similiar hacks) which is not from the Proxmox team, thus it's not officially supported. So I wouldn't run this in a business-critical environment. Using it in your homelab (if you are fine with potential dataloss) is a different thing of course.
And just you don't get the wrong idea: I think it's great somebody did this because this approach is exactly what I would like to have as native S3 support from the Proxmox team. Although personally I would prefer if they would implement it for rclone because then not only S3 but everything supported by rclone could be used as a pseudo-PBS for cloud backup.
We use essential cookies to make this site work, and optional cookies to enhance your experience.