Avaya Logo

Previous Topic

Next Topic

Book Contents

Book Index

schedback command

The schedback command lets you create a cron job to do backups.

Synopsis

/vs/bin/util/schedback -pcld minute(0-59) hour(0-23) days of week(0-6)

Description

The arguments of the schedback command are described in the following table:

Argument

Description

Comments

pcld option

p-schedule a partial backup

c-schedule a complete backup

l-list backups that are scheduled

d-use with the p or c option to delete the current partial backup schedule or to delete the current complete backup schedule

Must have one of these options

minute

Minute of the hour to start the backup

0-59

hour

Hour of the day to start the backup

0-23

days_of_week

Days of the week to run backup

0-6, 0=Sunday

You can specify one or more days to run the backup. To specify more than one day, use a comma-separated list or a dash-separated range.

Examples: 1-3 backs up on Monday, Tuesday, and Wednesday. 1,3 backs up on Monday and Wednesday.

Only one full backup and one partial backup may be scheduled at any one time. If you schedule a full backup, such as the following, any previously scheduled full backup is removed from crontab.

schedback –c 15 2 0

Examples

The following example performs a full backup at 12:15 am every Sunday.

/vs/bin/util/schedback -c 15 0 0

The following example performs a partial backup at 7:30 pm Monday through Saturday.

/vs/bin/util/schedback -p 30 19 1-6

The following example prints a listing of current backups scheduled.

/vs/bin/util/schedback -l

The following example shows the deletion of any complete backup that is currently scheduled.

/vs/bin/util/schedback -cd

The following example deletes any partial backup that is currently scheduled.

/vs/bin/util/schedback -pd

Files

/vs/data/backrest.rc is the default file associated with schedback

See also

© 2006 Avaya Inc. All Rights Reserved.