Follow below steps to manually backup OVM Manager Database.
1. Login to OVM Manager Host as root user.
2. Run below command as root user on OVM host.
You will be prompted for username and password. Enter the username as "admin" and provide "admin" user password for password prompt. Replace the filename with the filename you want for the backup. For e.g. if you want to have backup filename as ovm-db-backup, your command looks as follows:
.
As you can see from above output the backup completed successfully and DB backup directory is "/u01/app/oracle/mysql/dbbackup/ovm-db-backup-20190929_160600"
3. Verify that the OVM Manager backup is available inside "/u01/app/oracle/mysql/dbbackup/" directory using this command.
Oracle VM Manager Version 3.3.X & Above Versions
1. Login to OVM Manager Host as root user.
2. Run below command as root user on OVM host.
/u01/app/oracle/ovm-manager-3/ovm_tools/bin/BackupDatabase -w -n <filename>
You will be prompted for username and password. Enter the username as "admin" and provide "admin" user password for password prompt. Replace the filename with the filename you want for the backup. For e.g. if you want to have backup filename as ovm-db-backup, your command looks as follows:
/u01/app/oracle/ovm-manager-3/ovm_tools/bin/BackupDatabase -w -n ovm-db-backup
Below is example of console output you will see when running above command..
# /u01/app/oracle/ovm-manager-3/ovm_tools/bin/BackupDatabase -w -n ovm-db-backup
Enter your OVM Manager username: admin
Enter your OVM Manager password:
INFO: Backup job starting with destination:
/u01/app/oracle/mysql/dbbackup/ovm-db-backup-20190929_160600
Job Id = 'Start Backup to: ovm-db-backup(1569787560937) Uri: https://localhost:7002/ovm/core/wsapi/rest/Job/1569787560937'
Job Name = 'Start Backup to: ovm-db-backup'
INFO: Backup job finished
Enter your OVM Manager username: admin
Enter your OVM Manager password:
INFO: Backup job starting with destination:
/u01/app/oracle/mysql/dbbackup/ovm-db-backup-20190929_160600
Job Id = 'Start Backup to: ovm-db-backup(1569787560937) Uri: https://localhost:7002/ovm/core/wsapi/rest/Job/1569787560937'
Job Name = 'Start Backup to: ovm-db-backup'
INFO: Backup job finished
As you can see from above output the backup completed successfully and DB backup directory is "/u01/app/oracle/mysql/dbbackup/ovm-db-backup-20190929_160600"
3. Verify that the OVM Manager backup is available inside "/u01/app/oracle/mysql/dbbackup/" directory using this command.
ls -ld /u01/app/oracle/mysql/dbbackup/*
Products to which Article Applies
Oracle VM Manager Version 3.3.X & Above Versions
Additional Reference
https://docs.oracle.com/cd/E50245_01/E50251/html/ch05s01s02s02.html
tarun boyella
I am attracted by the info which you have provided in the above post. It is genuinely good and beneficial info for us. Continue posting, Thank you..oracle fusion SCM training india
ReplyDelete