sddate(C)


sddate -- print and set backup dates

Syntax

sddate [ name lev date ]

Description

If no argument is given to sddate the contents of the backup date file /etc/ddate are printed. The backup date file is maintained by backup(ADM) 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 from 01-31, 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 rightmost two digits of the year value (that is: 19yy or 20yy). sddate interprets the yy value as following:

Some sites may wish to back up filesystems by copying them in their entirety 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.

Diagnostics


bad conversion
If the date set is syntactically incorrect.

Files

/etc/ddate

See also

backup(ADM), date(C), dump(CP)

Standards conformance

sddate is not part of any currently supported standard; it is an extension of AT&T System V provided by The Santa Cruz Operation, Inc.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005