SDDATE(C) UNIX System V
Name
sddate - prints and sets backup dates
Syntax
sddate [ name lev date ]
Description
If no argument is given, the contents of the backup date
file /etc/ddate are printed. The backup date file is
maintained by backup(C) and contains the date of the most
recent backup for each backup level for each filesystem.
If arguments are given, an entry is replaced or made in
/etc/ddate. name is the last component of the device
pathname, lev is the backup level number (from 0 to 9), and
date is a time in the form taken by date(C):
mmddhhmm[yy]
Where the first mm is a two-digit month in the range 01-12,
dd is a two-digit day of the month, hh is a two-digit
military hour from 00-23, and the final mm is a two-digit
minute from 00-59. An optional two-digit year, yy, is
presumed to be an offset from the year 1900, i.e., 19yy.
Some sites may wish to back up file systems by copying them
verbatim to backup media. sddate could be used to make a
``level 0'' entry in /etc/ddate, which would then allow
incremental backups.
For example:
sddate rhd0 5 10081520
makes an /etc/ddate entry showing a level 5 backup of
/dev/rhd0 on October 8, at 3:20 PM.
Files
/etc/ddate
See Also
backup(C), dump(C), date(C)
Diagnostics
bad conversion If the date set is syntactically
incorrect.
(printed 8/24/89) SDDATE(C)