BackupControl.mesa
Copyright © 1985 by Xerox Corporation. All rights reserved.
Carl Hauser, April 16, 1986 10:48:25 am PST
DIRECTORY
AlpineInternal,
IO,
Rope;
BackupControl: CEDAR DEFINITIONS =
BEGIN
BackupCycle: TYPE ~ LIST OF BackupVolume;
BackupVolume: TYPE ~ AlpineInternal.BackupVolume;
RecoverFiles: PROC [files: LIST OF Rope.ROPE, in, out: IO.STREAM];
The set of files is recovered to a recent transaction-consistent state amongst themselves. The relationship between these files and files not participating in the recovery is unknown (and unknowable).
RecoverBackupDB: PROC [backupVolume: BackupVolume];
While the backup DB is an ordinary file as far as the rest of alpine is concerned, copies of AlpineLog entries for it are not made in the BackupLog. Instead, the DB is reconstructable by processing the backup log for all other files.
RecoverServer: PROC [in, out: IO.STREAM];
The server is recovered to a recent transaction-consistent state, solely from the backup logs. The backup DB is not referenced by this operation. This operation is a big deal. It requires mounting and reading all of the backup volumes in an entire backup cycle.
StartBackup: PROC [backupVolume: BackupVolume, newBTree: BOOLEANFALSE] RETURNS [startedBackup : BOOL];
StopBackup: PROC [];
END.