lib/dokku_installer/postgres.rb in dokku-installer-cli-0.1.4 vs lib/dokku_installer/postgres.rb in dokku-installer-cli-0.1.5
- old
+ new
@@ -19,10 +19,10 @@
def postgres_backups_create
command = "ssh -t dokku@#{domain} postgres:backups:create #{app_name}"
puts "Running #{command}..."
result = `#{command}`
- if result.include?("database dumped")
+ if result.include?("Backup created")
puts "Database backup created successfully."
else
puts "Database backup could not be created."
end
end