fix line too long, update gitignore
This commit is contained in:
parent
6b2955e48a
commit
dfbe572c9e
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -54,3 +54,4 @@ build-iPhoneSimulator/
|
|||
|
||||
# Used by RuboCop. Remote config files pulled in from inherit_from directive.
|
||||
# .rubocop-https?--*
|
||||
install.sh
|
||||
|
|
|
@ -33,7 +33,8 @@ class MysqlDatabaseBackup
|
|||
@logger.info("Backup file path: #{backup_file}")
|
||||
@logger.info("MySQL Info: #{@host} #{@username} #{@password} #{backup_file}")
|
||||
|
||||
`mysqldump --host=#{@host} --user=#{@username} --password='#{@password}' --databases #{database_name} > #{backup_file}`
|
||||
`mysqldump --host=#{@host} --user=#{@username} --password='#{@password}'
|
||||
--databases #{database_name} > #{backup_file}`
|
||||
|
||||
delete_old_backups
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user