Utility to restore backups
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenVista/GT.M Integration |
Fix Released
|
High
|
Jon Tai |
Bug Description
We need a utility, ovrestore, that will restore a backup produced by ovbackup. After restoring the database files and routines, ovrestore should compile all the routines and optionally apply journal entries.
Here's a mockup of the usage:
$ ovrestore -h
Usage: ovrestore [-y] [-j JOURNAL_DIRECTORY | -k] [-f] INSTANCE_NAME BACKUP_FILE
or ovrestore -h
-y overwrite routines, database files, and journals without asking for
confirmation
-j after restoring the backup, apply journals from JOURNAL_DIRECTORY
-k only restore the routines and database files; do not remove journals
and do not re-enable journaling on the new database file
-f if any processes are accessing the database, kill those processes
instead of aborting the restore
-h display this help text
Related branches
Changed in openvista-gtm-integration: | |
importance: | Undecided → High |
milestone: | none → phase-1 |
status: | New → In Progress |
assignee: | nobody → jontai |
Changed in openvista-gtm-integration: | |
status: | Fix Committed → Fix Released |
Ready for mainline