Skip to content
Snippets Groups Projects
Commit f0238755 authored by Taico Aerts's avatar Taico Aerts
Browse files

Allow backupninja to exit with nonzero exit code

parent 830a2ee0
No related branches found
No related tags found
No related merge requests found
...@@ -68,7 +68,8 @@ set :ssh_options, { forward_agent: true } ...@@ -68,7 +68,8 @@ set :ssh_options, { forward_agent: true }
# Backups the server with backupninja # Backups the server with backupninja
task :backup_db do task :backup_db do
on roles(:db) do on roles(:db) do
sudo :backupninja, '-n' execute 'sudo backupninja -n || true'
# sudo :backupninja, '-n'
end end
end end
......
...@@ -71,7 +71,8 @@ set :ssh_options, { forward_agent: true } ...@@ -71,7 +71,8 @@ set :ssh_options, { forward_agent: true }
# Backups the server with backupninja # Backups the server with backupninja
task :backup_db do task :backup_db do
on roles(:db) do on roles(:db) do
sudo :backupninja, '-n' execute 'sudo backupninja -n || true'
# sudo :backupninja, '-n'
end end
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment