Backing up and Restoring Certificate System
107
data. If the information is stored in the default directories in the instance
alias
directory, then it is
backed up with the instance directory. To back it up separately, use a utility such as
tar
or
zip
.
•
Instance directory.
The instance directory contains all configuration files, security databases, and
other instance files. This can be backed up using a utility such as
tar
or
zip
.
For example, back up the
alias
directory or the instance directory:
1. Stop the subsystem instance.
/etc/init.d/
instance_ID
stop
2. Save the directory to a compressed file. For example:
cd /var/lib/rhpki-ca/
tar -cvf /export/archives/ca/alias.tar alias/
3. Restart the subsystem instance.
/etc/init.d/
instance_ID
start
NOTE
Stop the subsystem instance before backing up the instance or the security databases.
The Directory Server database can be restored using Directory Server-specific tools; see the Directory
Server documentation for more information on restoring the LDAP database.
The Certificate System backup files, both the
alias
database backups and the full instance directory
backups, can be used to replace the current directories if the data are corrupted or hardware is
damaged. To restore the data, uncompress the archive file using the
unzip
or
tar
tool, and copy the
archive over the existing files.
To restore the
alias
directory or the instance directory:
1. Uncompress the archive; for example, untar an
alias
directory archive:
cd /export/archive/ca/
tar -xvf alias.tar
2. Stop the subsystem instance if it has not already been stopped.
/etc/init.d/
instance_ID
stop
3. Copy the archived files to the directory. For example, restore the
alias
directory:
cp -r /export/archives/ca/alias /var/lib/rhpki-ca/alias
4. Restart the subsystem instance.
Содержание CERTIFICATE SYSTEM 7.3 - ADMINISTRATION
Страница 1: ...Red Hat Certificate System 7 3 Administration Guide Publication date May 2007 updated March 25 2010 ...
Страница 15: ...xv Index 525 ...
Страница 16: ...xvi ...
Страница 38: ...Chapter 1 Overview 16 Figure 1 4 Certificate System Architecture ...
Страница 82: ...Chapter 2 Installation and Configuration 60 rpm ev rhpki manage ...
Страница 154: ...132 ...
Страница 194: ...172 ...
Страница 238: ...216 ...
Страница 244: ...222 ...
Страница 246: ...224 ...
Страница 286: ...264 ...
Страница 292: ...270 ...
Страница 318: ...Chapter 13 Certificate Profiles 296 Parameter IssuerType_n IssuerName_n ...
Страница 321: ...Freshest CRL Extension Default 299 Parameter PointName_n PointIssuerName_n ...
Страница 371: ...Configuring Mappers 349 Figure 15 9 Selecting a New Mapper Type 6 Edit the mapper instance and click OK ...
Страница 398: ...376 ...
Страница 412: ...390 ...
Страница 472: ...450 ...
Страница 500: ...Appendix A Certificate and CRL Extensions 478 Parameter namen Table A 8 IssuerAlternativeName Configuration Parameters ...
Страница 506: ...484 ...
Страница 528: ...506 ...
Страница 546: ...524 ...