Sha256: 686a30e7a6459c87f3180645712ed6c6ae0294e56838d50523fd698d0e393f44
Contents?: true
Size: 459 Bytes
Versions: 5
Compression:
Stored size: 459 Bytes
Contents
# frozen_string_literal: true namespace :backup do namespace :storage do include Capistrano::Ops::Backup::Helper # 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" end end end end
Version data entries
5 entries across 5 versions & 1 rubygems