lib/capistrano/ops/capistrano/v3/tasks/backup/storage/create.rake in capistrano-ops-0.2.4 vs lib/capistrano/ops/capistrano/v3/tasks/backup/storage/create.rake in capistrano-ops-0.2.5
- old
+ new
@@ -4,10 +4,10 @@
namespace :backup do
namespace :storage do
include BackupHelper
# Default to :app role
rake_roles = fetch(:rake_roles, :app)
-
+
desc 'create storage dump on server'
task :create do
on roles(rake_roles) do
puts 'Creating backup...'
execute "#{prepare_env} BACKUPS_ENABLED=true EXTERNAL_BACKUP_ENABLED=false bundle exec rake storage:backup"