Skip to content

Instantly share code, notes, and snippets.

@vitaly
Created September 6, 2012 09:42
Show Gist options
  • Save vitaly/3653944 to your computer and use it in GitHub Desktop.
Save vitaly/3653944 to your computer and use it in GitHub Desktop.
safe do
local :path => "backup1"
tar do
archive "a1", :files => "some-directory-to-backup"
end
end
safe do
local :path => "backup2"
tar do
archive "a1", :files => "some-other-directory-to-backup"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment