PBS Backup on the same VM

Nass

Member
Oct 25, 2022
40
1
13
Hello,

Would it be possible to back up the Proxmox Backup Server (PBS) VM directly onto the storage of that same VM (PBS)?

Thank you in advance for your response.

Best regards,
 
I'm not sure I understand you correctly. Do you want to use the PBS VM to backup this VM? This won't work. You could do a regular vzdump backup of your PBS vm to a backup storage (e.G. local or a NFS/CIFS share). Another possibility would be to create another PBS VM (on the same or a different PVE server) and instruct them to backup each other. In any case: Please be aware that's it's not a good idea to do your backups on the same storage and the same hardware as your actual environment. In case of a failure not only your production system but also the backups will be toast.
For this reason it's recommended to do your backups on a dedicated backup device (be it a NFS share for vzdump, a mini-pc with PBS, a offsite vserver with PBS etc).
 
Last edited:
  • Like
Reactions: UdoB
I run the pbs in a ct, and setting up a storage in PVE, there's no problem. About the possible chicken and egg issue, as long as you don't want to replace PBS and it's somehow working, you can even have a dupiicate in shutdown state for emergency and start when necessary (I didn't test this). Of course, the datastore physical path must be available for the duplicate, which should be any shareable filesystem or a mount point in the host.
 
Keeping backups of the Proxmox VE guests on the PVE host itself will not protect you from failures of the PVE host. So setting up a dedicated Proxmox Backup Server is highly recommended.

Would it be possible to back up the Proxmox Backup Server (PBS) VM directly onto the storage of that same VM (PBS)?
Nothing to gain there? You would not be able to restore the PBS from itself if the VM failed.
 
  • Like
Reactions: Johannes S