CKBUPSCD(1M) CKBUPSCD(1M)
NAME
ckbupscd - check file system backup schedule
SYNOPSIS
/etc/ckbupscd [ -m ]
DESCRIPTION
ckbupscd consults the file /etc/bupsched and prints the file
system lists from lines with date and time specifications
matching the current time. If the -m flag is present an
introductory message in the output is suppressed so that
only the file system lists are printed. Entries in the
/etc/bupsched file are printed under the control of cron.
The System Administration commands bupsched/schedcheck are
provided to review and edit the /etc/bupsched file.
The file /etc/bupsched should contain lines of 4 or more
fields, separated by spaces or tabs. The first 3 fields
(the schedule fields) specify a range of dates and times.
The rest of the fields constitute a list of names of file
systems to be printed if ckbupscd is run at some time within
the range given by the schedule fields. The general format
is:
time[,time] day[,day] month[,month] fsyslist
where:
time Specifies an hour of the day (0 through 23),
matching any time within that hour, or an exact time
of day (0:00 through 23:59).
day Specifies a day of the week (sun through sat) or day
of the month (1 through 31).
month Specifies the month in which the time and day fields
are valid. Legal values are the month numbers (1
through 12).
fsyslist
The rest of the line is taken to be a file system
list to print.
Multiple time, day, and month specifications may be
separated by commas, in which case they are evaluated left
to right.
An asterisk (*) always matches the current value for that
field.
A line beginning with a sharp sign (#) is interpretted as a
Page 1 (last mod. 8/20/87)
CKBUPSCD(1M) CKBUPSCD(1M)
comment and ignored.
The longest line allowed (including continuations) is 1024
characters.
EXAMPLES
The following are examples of lines which could appear in
the /etc/bupsched file.
06:00-09:00 fri 1,2,3,4,5,6,7,8,9,10,11 /applic
Prints the file system name /applic if ckbupscd is
run between 6:00am and 9:00am any Friday during any
month except December.
00:00-06:00,16:00-23:59 1,2,3,4,5,6,7 1,8 /
Prints a reminder to backup the root (/) file system
if ckbupscd is run between the times of 4:00pm and
6:00am during the first week of August or January.
FILES
/etc/bupsched specification file containing times and file
system to back up
SEE ALSO
cron(1M).
echo(1), sh(1), sysadm(1) in the User's Reference Manual.
BUGS
ckbupscd will report file systems due for backup if invoked
any time in the window. It does not know that backups may
have just been taken.
ORIGIN
AT&T V.3
Page 2 (last mod. 8/20/87)