[Script] Proxmox VE & PBS – System, Configuration and Structure and More Backup & Recovery

legacy system or not: You should never, ever run scripts as root user directly from the internet if you don't know what they do.
We understand your concern, and it may be valid, but you will obviously understand that backing up and restoring certain files requires this.
If you have a different solution, we will be happy to implement it.
(With the new version, we will implement various additions such as signatures and verifications.)
 
I obviously do not understand that "backing up and restoring certain files requires" running scripts as root user directly from the Internet.
I understand your concern or your perplexity.
You surely know and understand well that not everyone can do everything (including you and me, of course), but I would also add that no one is born with all the skills.
But I can also add that not everyone has your skills and abilities. I certainly congratulate you on being able to do everything, but unfortunately, that is not the norm.
I know that if you want to, you will understand perfectly what I am saying, if you want to, of course.

You do not understand the need for it, but as far as I can see, many people have appreciated it and support it, which confirms that, fortunately, we are not all the same.

If you want to offer criticism, make it constructive and not pointless, perhaps suggesting changes and improvements, which will be greatly appreciated. Otherwise, saying, "This is useless and stupid" is pointless. Obviously, no one is forcing you to use it, but no one is forcing you to comment either.
 
We understand your concern, and it may be valid, but you will obviously understand that backing up and restoring certain files requires this.
It really doesn't. Since ProxmoxVE is basically a Debian system you can always do an "sudo apt install rsnapshot" or "sudo apt install rsync" and create backups with one of these tools:
https://wiki.archlinux.org/title/Rsnapshot
If one uses zfs on the OS install zfs send/receive works great as mechanism for a host backup.

And if one want to save space or use a cloud provider there are backups tools like restic (again installable via apt install restic or as download from it's github) which together with resticprofile or autorestic allows to implement a save-efficient cloud backup of the host configuration.

But even for an install of your script (which due to your reaction I wouldn't recommend anyhow now) it's not needed: A user could always first download the script to his local machine with "git clone https://github.com/tis24dev/proxmox-backup.git", open the install.sh in his editor and evauluate it before executing.
For the actual backup root permissions might be needed, but a backup and restore definitively doesn't need to connect to the Internet


All in all I think, that it's not that bad, that ProxmoxVE doesn't have host config backup at the moment (since it's easy to do on your own), but given the fact how many scripts exist, who encourage unsafe behaviour (like running stuff from Internet as root) it might be a good idea to implement host backup directly in PVE just to ensure that less people use them.
 
I like your suggestions. Can you add a page to the proxmox wiki outlining the commands needed for the procedure for both backup and restore? I asked the question about backup and restore of the host in another thread because there didn't seem to be much out there on it.