VERITAS Storage Foundation 4.1 for Oracle RAC HP Serviceguard Storage Management Suite Extracts, December 2005
Examples of Using the Command Line Interface
Scheduling Storage Checkpoint creation in a cron Job
◆ To create a Storage Checkpoint twice a day, at 5:00 a.m. and 7:00 p.m., every Monday
through Friday, include the following entry in your crontab file:
0 5,19 * * 1-5 /opt/VRTS/bin/sfrac_ckptcreate -S DB12 \
-H $ORACLE_HOME -o online
◆ To create a Storage Checkpoint at 11:30 p.m., on the 1st and 15th day of each month,
include the following entry in your crontab file:
30 23 1,15 * * /opt/VRTS/bin/sfrac_ckptcreate -S DB12 \
-H $ORACLE_HOME -o online
◆ To create a Storage Checkpoint at 1:00 a.m. every Sunday, with a prefix name of
cronckpt_, and while the database is offline, include the following entry in your
crontab file:
0 1 * * 0 /opt/VRTS/bin/sfrac_ckptcreate -S DB12 \
-H $ORACLE_HOME -o offline
Chapter 7, Using Storage Checkpoints and Storage Rollback 147