PRIMECLUSTER Installation and Administration Guide 4.1 (for Solaris(TM) Operating System) |
Contents
Index
![]() ![]() |
Part 5 Maintenance | > Chapter 11 Backing Up and Restoring a PRIMECLUSTER System |
The two environment configuration files for backup and restoration are "ccbr.conf" and "ccbr.gen". The storage destination of the data to be backed up or restored can be changed by editing these files using the text editor "vi(1)".
Environmental variables and environment configuration files used for backup and restoration are shown below:
This file defines variables for PRIMECLUSTER backup and restoration. The variables include the following:
/var/spool/SMAW/SMAWccbr
This file defines the number of records for PRIMECLUSTER backup. This number increases one by one whenever the backup process is done.
The number of generations can be also changed with the arguments of cfbackup (1M) / cfrestore(1M). For details, refer to the explanation of each command.
The backup configuration is as follows:
<Setup contents>
In the case of above, the following file will be created as the backup data:
/var/spool/SMAW/SMAWccbr/fuji2_ccbr1.tar.Z
Configure the backup data storage destination to "/var/spool/SMAW/SMAWccbr" and the number of generations to "1".
Confirm the contents.
# cat /opt/SMAW/ccbr/ccbr.conf
...
CCBRHOME=/var/spool/SMAW/SMAWccbr
export CCBRHOME
...
#
Confirm the contents.
# cat /opt/SMAW/ccbr/ccbr.gen
1
#
# cfbackup
08/07/02 11:17:55 cfbackup 1 started
...
08/07/02 11:21:23 cfbackup 1 ended
#
Confirm the contents of the backup file.
# ls /var/spool/SMAW/SMAWccbr
fuji2_ccbr1
The restoration configuration is as follows:
In the above case, the following file will be used as the data to be restored:
/var/spool/SMAW/SMAWccbr/fuji2_ccbr1
Configure the destination of the restoration data to "/var/spool/SMAW/SMAWccbr" and the number of generations to "1".
Confirm the contents.
# cat /opt/SMAW/ccbr/ccbr.conf
...
CCBRHOME=/var/spool/SMAW/SMAWccbr
export CCBRHOME
...
#
Confirm the contents.
# cat /opt/SMAW/ccbr/ccbr.gen
2
#
# cfrestore
08/07/02 11:17:55 cfrestore 1 started
...
08/07/02 11:21:23 cfrestore 1 ended
#
Contents
Index
![]() ![]() |