1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

onedb, if the backup already exists stop the upgrade process

This commit is contained in:
Daniel Molina 2011-06-17 15:37:22 +02:00
parent 6d139a9b75
commit ffce8af029

View File

@ -51,7 +51,7 @@ class OneDB
if !ops[:force] && File.exists?(bck_file)
puts "File #{bck_file} exists, backup aborted. Use -f to overwrite."
return -1
raise
end
@backend.backup(bck_file)