Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sddate(C) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

backup(ADM)

date(C)

dump(CP)


 sddate(C)                       19 June 1992                       sddate(C)


 Name

    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 an offset from the year 1900, that
    is, 19yy.

    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.

 File

    /etc/ddate

 See also

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

 Diagnostics

    bad conversion    If the date set is syntactically incorrect.

 Value added

    sddate is an extension of AT&T System V provided by The Santa Cruz Opera-
    tion, Inc.


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026