update mysql_database_backup.rb
This commit is contained in:
parent
b746eedac6
commit
44e4e9aef8
|
@ -57,7 +57,7 @@ class MysqlDatabaseBackup
|
|||
|
||||
existing_files = `b2 ls #{@b2_bucket_name}`
|
||||
existing_files.each_line do |line|
|
||||
file_name = line.split(" ").last.strip
|
||||
file_name = line.split(' ').last.strip
|
||||
next unless file_name != b2_file_name
|
||||
|
||||
file_id = line.match(/"fileId": "([^"]+)"/)[1]
|
||||
|
|
Loading…
Reference in New Issue
Block a user