You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just testing astrails-safe with some very simple configs, and have managed to get 7 svnbackups on S3 with the following settings (only 5 in local). Am I missing something, or is this not quite right?
safe do
local :path => "/backups/:kind/:id"
keep do
local 5
s3 5
end
svndump do
repo :testrepo do
repo_path "/home/mark/testrepo"
end
end
s3 do
key "............"
secret "............"
bucket "........"
path ""
end
end
Many thanks,
Mark...
The text was updated successfully, but these errors were encountered:
A bump I ran to when using $HOME, was causing a prefix of '/' with S3. Apparently the prefix messes things up and these files won't show as listed on S3, causing the deleting of old backups not to happen
Incorrect:
safe do
local :path => "#{HOME}/backup/"
s3 do
key '...'
secret '...'
bucket 'my.bucket'
end
end
Correct:
safe do
local :path => "#{HOME}/backup/"
s3 do
key '...'
secret '...'
bucket 'my.bucket'
path '/home/username/backup/'
end
end
Just testing astrails-safe with some very simple configs, and have managed to get 7 svnbackups on S3 with the following settings (only 5 in local). Am I missing something, or is this not quite right?
safe do
local :path => "/backups/:kind/:id"
keep do
local 5
s3 5
end
svndump do
repo :testrepo do
repo_path "/home/mark/testrepo"
end
end
s3 do
key "............"
secret "............"
bucket "........"
path ""
end
end
Many thanks,
Mark...
The text was updated successfully, but these errors were encountered: