Create directories for KVM host backup files
This commit is contained in:
parent
2e2ebbcc02
commit
6c8f9055c1
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue