DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦0c7d863cd⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, generic, package System_Backup, pragma Module_Name 4 3924, pragma Subsystem Os_Commands, seg_012849

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



package System_Backup is

    subtype Id is Natural;
    type Kind is (Full, Primary, Secondary);
    -- Full backup is self-sufficient
    -- Primary incremental is a differential from last Full backup
    -- Secondary incremental is a differential from last Primary

    procedure Backup (Variety : Kind := System_Backup.Full);
    -- Take a backup of kind Variety.

    procedure History (Entry_Count : Positive := 10;
                       Full_Backups_Only : Boolean := False;
                       Tape_Information : Boolean := False);

    -- print a list of Entry_Count previous backups.  Full_Backups_Only
    -- implies showing only Full backups.  Tape_Information implies a list
    -- of tapes involved in each.

    generic
        with procedure Backup_Starting (Is_Full : Boolean);
        with procedure Backup_Finishing (Was_Successful : Boolean);
    procedure Backup_Generic (Variety : Kind; Wait_Until : String);

    -- Complete form of Backup.
    --
    -- Backup starts at the time specified in wait_until.  The tape is mounted
    -- now, then Backup pauses until the time specified.  Backup_Starting
    -- is then called, the backup happens, then Backup_Finishing is called.
    --
    -- The formal procedures are provided to allow setting up the machine for
    -- a backup at the last moment.  Usually used to alter scheduling
    -- parameters and the like.

    pragma Subsystem (Os_Commands);
    pragma Module_Name (4, 3924);
end System_Backup;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1a rec1=00 rec2=01 rec3=03c
        [0x01] rec0=0d rec1=00 rec2=02 rec3=000
    tail 0x2170e51b282b0815ee5a5 0x42a00088462060003