HP 3PAR StoreServ 7400 2-node HP 3PAR Policy Server Administrator's G - Page 55

Tips, still running

Page 55 highlights

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. repeats until the database server is stopped) 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 HP 3PAR Policy Server 6-5

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87

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