Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ weeklydump(cmds) — Sprite KS.390

Media Vault

Software Library

Restoration Projects

Artifacts Sought

WEEKLYDUMP  —  User Commands

NAME

weeklydump − Script to do weekly fully dumps

SYNOPSIS

weeklydump [−i] [startFs]

OPTIONS

startFsStart dumping with the named filesystem. 

−iInitialize the tape drives first with “dump -s”. 
 

DESCRIPTION

This script does full (level 0) dumps of all the filesystems that are normally backed up.  It is normally invoked manually over the weekend. 

The script has hard-coded a list of tape devices.  It dumps filesystems onto the first tape until it gets an error.  It then continues with the second tape until the next error, etc.  If it runs out of tapes before all the filesystems have been dumped, it sends mail to the user dumper with the name of the first filesystem in the list that has yet to be dumped. 

The list of filesystems to dump is contained in /sprite/admin/dump/dumplist.  If weeklydump is invoked with the name of a filesystem, it starts with that filesystem, skipping over the filesystems that appear before it in the list.  If weeklydump is not given the name of a filesystem, it looks for the starting filesystem in /sprite/admin/dump/doingweekly.  If that file is empty, weeklydump simply starts at the top of the list. 

Weeklydump puts the name of the current user in /sprite/admin/dump/dumpalias.  Mail sent to the “dumper” alias is sent to the user named in this file.  Weeklydump also creates the file /sprite/admin/dump/doingweekly, which disables the daily dumps.  This file is removed when the weekly dumps complete. 

If weeklydump detects an error, it sends mail to dumper and exits.  It also creates a status file, so that if the machine running the weekly dumps crashes while the dumps are running, mail will be sent to dumper when the machine reboots, telling about the crash. 

If weeklydump is invoked with the −i flag, it will initialize the tapes in both tape drives before starting. 
 

FILES

All the following files are in /sprite/admin/dump:

doingweeklylock file to prevent daily dump from running.  Names the filesystem currently being dumped. 

doingweekly.active
status file used to detect crashes.  Contains the name of the host running the dumps.

dumpaliasUser name of the current dumper, for error and status messages. 

dumpdateslist of filesystems dumped, at what time, what tape, etc. 

dumplistlist of file systems to dump. 

dumplogvery large status log from the dump programs

tapelistlist of tape devices uses for the dump
 

KEYWORDS

dump, tape, backup

Sprite version 1.0  —  September 28, 1991

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