M marotori Member Jun 17, 2009 161 1 16 Nov 18, 2011 #1 Hello, Has anyone implemented a script to do an LVM snapshot before backing up with bacula? Would be great if this could be shared? Rob
Hello, Has anyone implemented a script to do an LVM snapshot before backing up with bacula? Would be great if this could be shared? Rob
M marotori Member Jun 17, 2009 161 1 16 Nov 18, 2011 #2 Wrote my own.... Will post them up here when I have a desktop to hand! Sent from my iPhone using Tapatalk
Wrote my own.... Will post them up here when I have a desktop to hand! Sent from my iPhone using Tapatalk
U udo Distinguished Member Proxmox Subscriber Apr 22, 2009 5,977 201 163 Ahrensburg; Germany Nov 18, 2011 #3 Hi Rob, do you save the VM-disks with bacula from the host-side? I use bacula but backup inside the VMs - so i don't need snapshots. For fast disaster recovery i have an weekly vzdump of the VM-startdisk. Udo
Hi Rob, do you save the VM-disks with bacula from the host-side? I use bacula but backup inside the VMs - so i don't need snapshots. For fast disaster recovery i have an weekly vzdump of the VM-startdisk. Udo
M marotori Member Jun 17, 2009 161 1 16 Nov 19, 2011 #4 Hello, I am rather paranoid! I do the following: machine internals backuped up externally to livedrive.com using duplicity lvm snapshot and backup of /var/lib/vz weekly vzdump Somehow it all works! Rob
Hello, I am rather paranoid! I do the following: machine internals backuped up externally to livedrive.com using duplicity lvm snapshot and backup of /var/lib/vz weekly vzdump Somehow it all works! Rob
M marotori Member Jun 17, 2009 161 1 16 Nov 19, 2011 #5 My scripts are attached. All they do is to create the lvm volume as /var/lib/vz.snapshot and remove it. View attachment lvm-pve-create.txt View attachment lvm-pve-remove.txt Simply modify to suit, and configure bacula to execute them on start and stop.. and to ignore /var/lib/vz Rob
My scripts are attached. All they do is to create the lvm volume as /var/lib/vz.snapshot and remove it. View attachment lvm-pve-create.txt View attachment lvm-pve-remove.txt Simply modify to suit, and configure bacula to execute them on start and stop.. and to ignore /var/lib/vz Rob