Backup Proxmox PBS & PVE System Files! New script with advanced notification features!

Damianoo

New Member
Apr 3, 2025
4
1
3
Hi! Here's a complete script that works for both PVE and PBS and automatically detects which one you're using, with email and Telegram notifications, rotation, multi path, etc.!
This backup system automatically saves all critical files from your Proxmox environment, allowing you to completely restore the system in case of disaster recovery or migration. All options, files to be saved, and script functions are fully configurable and can be enabled or disabled as desired.
Anyone who feels like testing it, please let me know your feedback

https://github.com/tis24dev/proxmox-backup/blob/main/README.md
 
Last edited:
What's wrong with the default rotation in PBS, which is very complex and should allow anything you want.

I can see the value in this script if you don't use PBS, but with PBS, I don't see it. Can you try to explain what benefits are there for PBS usage? It's not clear to me from the Readme.
Hi! They're simply two completely different things!
I’ve corrected the README file—thanks for pointing out my oversight.


PBS performs backups of VMs, etc.
This script, instead, backs up system configurations, customizations, and much more — including pxar files — and even exports a list of installed packages to simplify reinstalls, all optionally based on configuration.
It works for both PVE and PBS, automatically detecting which system you're running (since some files are specific to one or the
other).
 
Last edited:
PBS does all of this for me already.
Even without PBS I don't see the point since for that usecase ( space-efficient host config backup with rotation ) restic ( which also allows using rclone for cloud storage access) with resticprofile works fine for me. Or rsnapshot ( based on rsync ) If one prefers to store backups not in a binary Format.

I also concurs with LnxBils point on the install method.
 
I wish I had found this earlier! I had a PVE machine that the boot drive failed on the machine but all VM's were on a separate zfs. I re-installed proxmox onto a new boot drive and had to rely on PBS to get the .conf files to recreate the VM's in order to not have to restore them as the VMs were in a good working state at the time of the proxmox shutdown. Some machines I did not have backing up and had to re-use other VM configs that were very close and changed the storage so that the VM's were all back up and running. If I had this script setup or at least something similar it would have saved me hours of time re-creating .conf files for each VM.
 
  • Like
Reactions: Kingneutron
If I had this script setup or at least something similar it would have saved me hours of time re-creating .conf files for each VM.
Why don't you just use PBS itself to backup your PVE host? This is the obvious answer and does not rely on any external or 3rd party stuff. Just search the forum and you'll find e.g. this.
 
  • Like
Reactions: Johannes S
Why don't you just use PBS itself to backup your PVE host? This is the obvious answer and does not rely on any external or 3rd party stuff. Just search the forum and you'll find e.g. this.
Or (if one want to have a host backup which will still work without a working PBS) any Linux backup tool (rsync, rsnapshot, tar, restic, borg etc).
 
@Damianoo

I use your package and find it very useful. Thank you.

Are you reviewing the issues posted to github? I've posted 3 times, more than a month old now, and no responses.
 
@Damianoo

I use your package and find it very useful. Thank you.

Are you reviewing the issues posted to github? I've posted 3 times, more than a month old now, and no responses.
Yea, i think your out of luck my guy.
He posted it on github, several commits that week and the post here. And then *poof* gone.
I was looking for a way to backup my pve host into pbs, and came across this, but zero activity made me turn around fast.

ALWAYS look at current issues and replies from the devs. Look at commits etc. Just ensure yourself the project is active.
You are the first one that posted there, I wouldn't want to have that honor.

Hope you can sort it out.
 
Yea, i think your out of luck my guy.
He posted it on github, several commits that week and the post here. And then *poof* gone.
I was looking for a way to backup my pve host into pbs, and came across this, but zero activity made me turn around fast.

ALWAYS look at current issues and replies from the devs. Look at commits etc. Just ensure yourself the project is active.
You are the first one that posted there, I wouldn't want to have that honor.

Hope you can sort it out.

Good advice. Thank you. But a disappointing result.