Set up live backups for all VMs #433

Merged
greg merged 21 commits from feature/qemu_snapshots into master 2022-10-22 11:52:27 +00:00
Showing only changes of commit 6c8f9055c1 - Show all commits

View File

@ -24,6 +24,14 @@ export BORG_REPO='#{borg_credentials["repository"]}'
not_if "grep -q BORG /root/.bashrc"
end
directory "/root/backups" do
mode "0750"
end
directory "/root/backups/vm_meta" do
mode "0750"
end
cookbook_file "/root/backups/backup_vm.sh" do
source "backup_vm.sh"
mode "0750"