mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 11:22:55 +09:00
Bug #1564: Do not restore the db when the backup cannot be done
(cherry picked from commit f582cd0e08)
This commit is contained in:
1 parent
33f60afdac
commit
51ff205b5c
1 file changed
+3
-3
+3
-3
@@ -183,10 +183,10 @@ class OneDB
|
||||
"#{@backend.db_version}, current database version is #{version}"
|
||||
end
|
||||
|
||||
begin
|
||||
# FSCK will be executed, make DB backup
|
||||
backup(ops[:backup], ops)
|
||||
# FSCK will be executed, make DB backup
|
||||
backup(ops[:backup], ops)
|
||||
|
||||
begin
|
||||
puts " > Running fsck" if ops[:verbose]
|
||||
|
||||
result = @backend.fsck
|
||||
|
||||
Reference in new issue
Block a user