1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-12 09:17:41 +03:00

M #-: restore database in case no migrators (#45)

This commit is contained in:
Alejandro Huertas Herrero 2020-06-24 18:15:08 +02:00 committed by GitHub
parent 890a849be9
commit a74be9abb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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