Proxmox with local backup

MH_MUC

Well-Known Member
May 24, 2019
67
6
48
38
Hi. I want to switch from openvz6 to Proxmox.
I have a question concerning partitioning.

I would like to run several containers with daily local backups on the node that are transfered to an FTP or CIFS Backup-Space (limited space so only the latest 2 backups)
I guess the only way to accomplish that is with a script to copy the backupfiles from local storage to FTP/CIFS. Otherwise I would need to seperate backup-jobs.

How do I partition the server? Right now I have local and local-lvm. I set maxvz to 300 GB to have free space remaining. However I can't create a storage volume with snapshots being selectable. Any idea?
I guess I should have reduced hdsize during setup to be able to create an extra volume-group for backups so that they aren't in the same VG as die CTs right?

Thanks!
 
Last edited:
I guess the only way to accomplish that is with a script to copy the backupfiles from local storage to FTP/CIFS. Otherwise I would need to seperate backup-jobs.

That can be done with hook scripts. Please search the wiki and forums.

How do I partition the server? Right now I have local and local-lvm. I set maxvz to 300 GB to have free space remaining. However I can't create a storage volume with snapshots being selectable. Any idea?

Why have you not just installed PVE with the defaults, you would not have those problems. Default is using all space with thin-LVM.
 
I can't select the thin-lvm as backup location, because Proxmox obviuously doesn't want backups and VMs in the same volume....
I can try a fresh installation, but I don't see how this changes the situation.
 
I can't select the thin-lvm as backup location, because Proxmox obviuously doesn't want backups and VMs in the same volume....

No, the problem is that LVM is block storage and backup is stored in files (file storage).

I can try a fresh installation, but I don't see how this changes the situation.

No, it won't change the backup situtation.