ckbupscd(1M) SYSTEM ADMINISTRATION COMMANDS ckbupscd(1M)
NAME
ckbupscd - check file system backup schedule
SYNOPSIS
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
/bupsched file are printed under the control of cron. The
file /bupsched should contain lines of four or more fields,
separated by spaces or tabs. The first three fields (the
schedule fields) specify a range of dates and times. The
rest of the fields constitute a list of names of file sys-
tems 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), match-
ing 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 inter-
preted as a comment and ignored. The longest line
allowed (including continuations) is 1024 charac-
ters.
EXAMPLES
The following are examples of lines which could appear in
the /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.
1
ckbupscd(1M) SYSTEM ADMINISTRATION COMMANDS ckbupscd(1M)
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.
NOTES
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. ckbupscd will be removed in the next
release of System V.
2