Found one single thread so far dealing with this question but no definitive answer so I'm opening my own. http://forum.proxmox.com/threads/21...de-quot-system-quot-partitions-(boot-and-lvm)
If I've somehow missed this information, feel free to point me towards it. I'll also happily edit the wiki if I get useful replies here.
My intention is not to talk about backup storage and target or the tool used for the backup as that depends on everyone's preferences.
My goal is:
If the worst case scenario happens and I need to completely restore a proxmox server, I want to be able to do a Bare-metal ISO install and then restore a backup, maybe change the hostname and networking configuration and have proxmox in exactly the state it was during the last backup without any VMs or containers of course.
What to backup?
Since proxmox doesn't run any DBs (right?) I thought I#d use a tool like duplicity or borgbackup or attic or whatever and backup /
Now I'm considering what to exclude from the backup. This is my list so far, any suggestions what to exclude or include?
EXCLUDE LIST
*/cache
*/cache/supercache
*/image_cache
*/lost+found
*/Maildir/.spam
*/Maildir/.Trash
*/rrd
*/tmp
*/web/serverstats
/cdrom
/dev
/initrd
/media
/mnt
/opt
/proc
/run
/srv
/sys
/usr/share/man
/var/backups
/var/cache
/var/empty
/var/lib/mysql
/var/lock
/var/log
/var/run
/var/spool
/var/webmin
/var/lib/lxc/*/rootfs/media/*
/var/lib/lxc/*/rootfs/mnt/*
/var/lib/lxc/*/rootfs/proc/*
/var/lib/lxc/*/rootfs/run/*
/var/lib/lxc/*/rootfs/sys/*
/var/lib/lxcfs/cgroup
/var/lib/vz
I'm not sure if I am excluding too much or too little, any hints are welcome please.
I found another thread: https://pve.proxmox.com/wiki/Backup_and_restore_of_LVM_data saying to use: vgcfgbackup - would that still be needed with my proposed solution above?
If I've somehow missed this information, feel free to point me towards it. I'll also happily edit the wiki if I get useful replies here.
My intention is not to talk about backup storage and target or the tool used for the backup as that depends on everyone's preferences.
My goal is:
If the worst case scenario happens and I need to completely restore a proxmox server, I want to be able to do a Bare-metal ISO install and then restore a backup, maybe change the hostname and networking configuration and have proxmox in exactly the state it was during the last backup without any VMs or containers of course.
What to backup?
Since proxmox doesn't run any DBs (right?) I thought I#d use a tool like duplicity or borgbackup or attic or whatever and backup /
Now I'm considering what to exclude from the backup. This is my list so far, any suggestions what to exclude or include?
EXCLUDE LIST
*/cache
*/cache/supercache
*/image_cache
*/lost+found
*/Maildir/.spam
*/Maildir/.Trash
*/rrd
*/tmp
*/web/serverstats
/cdrom
/dev
/initrd
/media
/mnt
/opt
/proc
/run
/srv
/sys
/usr/share/man
/var/backups
/var/cache
/var/empty
/var/lib/mysql
/var/lock
/var/log
/var/run
/var/spool
/var/webmin
/var/lib/lxc/*/rootfs/media/*
/var/lib/lxc/*/rootfs/mnt/*
/var/lib/lxc/*/rootfs/proc/*
/var/lib/lxc/*/rootfs/run/*
/var/lib/lxc/*/rootfs/sys/*
/var/lib/lxcfs/cgroup
/var/lib/vz
I'm not sure if I am excluding too much or too little, any hints are welcome please.
I found another thread: https://pve.proxmox.com/wiki/Backup_and_restore_of_LVM_data saying to use: vgcfgbackup - would that still be needed with my proposed solution above?
Last edited: