mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-28 14:50:08 +03:00
M #-: restore database in case no migrators (#45)
(cherry picked from commit a74be9abb8afe00bffb74b24396ac6234bd91cc3)
This commit is contained in:
parent
caa7301e7f
commit
e2434ca9b2
@ -320,7 +320,12 @@ class OneDB
|
||||
'with non-commercial deployments they are provided ' \
|
||||
"via a\ndedicated migration package, which must be " \
|
||||
'obtained separately.'
|
||||
0
|
||||
|
||||
puts
|
||||
puts 'The database will be restored'
|
||||
restore(ops[:backup], :force => true)
|
||||
|
||||
-1
|
||||
rescue Exception => e
|
||||
puts
|
||||
puts e.message
|
||||
|
Loading…
x
Reference in New Issue
Block a user