Comment on Best Back Up Solution For Multiple Servers
irmadlad@lemmy.world 1 week agoWill Proxmox BackUp server handle remote VPS? I had assumed that it only was for ProxMox VM’s.
Backup Types: Proxmox Backup Server is optimized for backing up Proxmox VMs and containers. If your VPS is running a different virtualization platform, you may need to adapt your backup strategy accordingly.
That’s what AI tells me and then gives a configuration such as:
spoiler
#!/bin/bash # Variables CONTAINER_NAME=“your_container_name” VOLUME_NAME=“your_volume_name” BACKUP_DIR=“/path/to/backup/dir” TIMESTAMP=$(date +“%Y%m%d_%H%M%S”) # Create a backup of the Docker volume docker run --rm -v ${VOLUME_NAME}:/volume -v ${BACKUP_DIR}:/backup alpine \ sh -c “cd /volume && tar czf /backup/${VOLUME_NAME}_${TIMESTAMP}.tar.gz .” # Optionally, export the container docker export ${CONTAINER_NAME} -o ${BACKUP_DIR}/${CONTAINER_NAME}_${TIMESTAMP}.tar echo “Backup completed for ${CONTAINER_NAME} and ${VOLUME_NAME} at ${TIMESTAMP}”
Yeah I know it’s AI, which may or may not be completely accurate. Would I need to do that for each and every Docker container? I’ve got some 60 +/- containers. LOL <whine boohoo!>
That along with the client on the remote VPS would take care of Docker containers, however, I would also like to back up configuration files, and data associated with UFW, F2B, etc. Pretty much a snapshot of each server.
These lowendbox hosts don’t include snapshots and frills and Contabo only lets you keep one snapshot active. I did find an N8N flow that automates the snapshot process for Contabo. I guess I could upgrade to better hosts, but one of the VPS is my skunk works server where I run and test everything before putting it into production…it’s like $25 per year. Contabo is decent, and LuxVPS gives me the most bang for buck including all the frills for $10 a month. So, that’s about as much fun money I got for the time being.
tvcvt@lemmy.ml 1 week ago
It sure will handle a remote VPS, it’s just not as automatic to set up as it is with PVE.
I put this off for a long time, but I finally did it this weekend.
Basically, you install the
proxmox-backup-client
utility and then run it viacron
or asystemd timer
to do the backup however often you want.You’re responsible for getting the VPS to communicate with your backup server (like pretty much any self-hosted service), so some sort of VPN between them would be good. I used NetBird for that part and I have a policy that allows access from the client to PBS only on TCP port 8007.