10-22-2007 05:08 AM
Hi folks!!
In order to run restore backup in background mode, I need that this script doesn't ask to me, if or not want to overwrite the Certificate!
hera you are a log example
<Certificate restore starts>
WARNING: Cannot evaluate the hostname, hence the certificate may be from this host or another host.
[ Certificate not overwritten ]
<Certificate restore not done> - User opted not to restore or the certificate is not valid.
Restored Certificate.
---------------------------------
The previous version of restorebackup.pl could be forced to do this!
Any helps would be appreciate!
Thanks
Leonardo
10-22-2007 08:05 AM
Unlike LMS 2.2, in LMS 2.6, hostname discrepancy in the certificate no longer stops the restorebackup.pl from restoring the rest of the backup, so it makes sense the -force option is no longer needed. Why would you want to overwrite the existing certificate with the one from another box anyway, when it's a nonfactor getting the backup restored across hosts?
10-23-2007 04:23 AM
Hi yjdabear,
I don't like to restore certificate to another machine.
I would like that restore backup script goes anyway without any intereactive option.
This script must be run as a scheduled task.
You told me that the current LMS2.6 script doesn't stop the restore procedure and it continue anyway?
WBR
Leonardo
10-24-2007 07:25 AM
Yes. In LMS 2.6, the restore continues on after that WARNING, without needing manual intervention.
...
Restoring certificate.
WARNING: Cannot evaluate the hostname, hence the certificate
may be from this host or another host.
[ Certificate not overwritten ]
Restored Certificate.
Restoring Common Services database.
...
Restored successfully.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: