HP 3PAR Policy Server Administrator's Guide (QR483-96003, December 2012)

HP 3PAR Policy Server 6-5
apm-20110922T110654.tar.gz
apm-20110922T110636.tar.gz
apm-20110921T174935.tar.gz
apm-20110921T174930.tar.gz
apm-20110921T174910.tar.gz
apm-20110921T174902.tar.gz
Once you have the list, you can specify a particular backup archive on the command line. After entering the
command, you must confirm the request before the utility actually restores the database. If the database is
still running, the utility presents an error message. You need to stop the database before you can restore.
Here is an example of the restore utility’s output:
$ hsqldb/bin/restore_database
The HP 3PAR Policy Server database will be restored
from the "apm-20110922T112110.tar.gz" backup.
The database server must be shut down before proceeding.
Shut down the database server and press enter to continue.
<-- (This message
repeats until the database server is stopped)
2011-09-22T11:21:10 0* 700 88 - apm.properties
2011-09-22T11:21:10 0* 700 23342 - apm.script
2011-09-21T17:49:35 0* 700 32768 - apm.data
After a restore operation, the backup archive remains intact. If a restore fails for any reason, perform the
operation again. Otherwise, the database will be in an indeterminate state.
Tips
Monitor the disk space used by the backup repository and adjust the number of backups you
keep (or available disk space) as your needs evolve. If the disk is full, you will see a response
and error message similar to the following:
C:\Program Files (x86)\HP 3PAR\PolicyServer\hsqldb\bin>backup_database.bat 20
Backing up to ' C:\Program Files (x86)\HP 3PAR\PolicyServer\hsqldb\backups'
SEVERE SQL Error at
'C:\HP 3PAR\PolicyServer\hsqldb\ddl\full\backup_database.sql' line 2:
"BACKUP DATABASE TO ' C:\HP 3PAR\PolicyServer6Test\hsqldb\backups/' BLOCKING"
file input/output error: java.io.IOException: There is not enough space on the
disk in statement [BACKUP DATABASE TO ' C:\Program Files (x86)\HP
3PAR\PolicyServer\hsqldb\backups/' BLOCKING]
org.hsqldb.cmdline.SqlTool$SqlToolException