30.01.2015 Views

Picture Perfect 4.6 User Manual - UTCFS Global Security Products

Picture Perfect 4.6 User Manual - UTCFS Global Security Products

Picture Perfect 4.6 User Manual - UTCFS Global Security Products

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

308<br />

<strong>Picture</strong> <strong>Perfect</strong> <strong>4.6</strong><br />

<strong>User</strong> <strong>Manual</strong><br />

Performing a restore using the command line option cbr<br />

The cbr command uses a configuration file, restore.cfg, located in /cas/db/text. This file<br />

contains the flat files to be restored. You can edit this file to add or delete files to be restored.<br />

The syntax of the contents of the restore.cfg file is:<br />

/etc/passwd<br />

/etc/group<br />

/etc/security<br />

The following table describes the cbr command options.<br />

Table 126.Options for cbr command<br />

Command option<br />

Description<br />

-o (htable) Rollover, then archive the selected history table<br />

-b Backup specified table or group of tables<br />

-a (htable) Archive the specified history table<br />

-r Force rollover on history (archive only)<br />

-rt (#) Retry rollover (#) of times (default is 100)<br />

-d (file) Write to the specified disk file<br />

-t Tape - write to /dev/pptape<br />

-v Verify that data was written successfully<br />

-np Do not prompt for tapes if specified with -c<br />

-nb<br />

Run from netback<br />

-e (table) Backup specified tables<br />

-l (file) Backup tables specified in file<br />

To launch the cbr restore option:<br />

1. Stop the <strong>Picture</strong> <strong>Perfect</strong> server (see Starting and stopping <strong>Picture</strong> <strong>Perfect</strong> on page 8).<br />

Note:<br />

In a PPRS configuration, the <strong>Picture</strong> <strong>Perfect</strong> server must be stopped on both the primary and the backup<br />

hosts.<br />

2. Open a terminal window.<br />

3. Type the cbr command, including the desired options.<br />

For example: to restore and verify the base <strong>Picture</strong> <strong>Perfect</strong> package from a disk file, type:<br />

cbr -c -a -v -d /tmp/basebackup<br />

Enter<br />

The cbr command restores the files contained in the restore.cfg file. After the<br />

database records are restored and if your backup included “flat” files, messages similar to<br />

the following display:<br />

This program edits the configuration file, /cas/d/text/restore.cfg<br />

before running the backup or restore programs.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!