From: clos@ivory.trentu.ca
Subject: Need help with switching Run levels via crontab
Date: 1996/12/12 [thread overview]
Message-ID: <E2B2y9.2Ct@blaze.trentu.ca> (raw)
I would like to automate a nightly process using crontab whereby I shutdown to
single-user mode, umount -a, dump -0uf / & /usr, and "shutdown -r now" to return
system to run level 3. Is this sort of thing possible to automate? If so, I
could use some pointers on how I might set it up.
The main reason I want to do this is to ensure a clean tape backup of our UFS
filesystems. The DEC OSF/1 Sys Admin manual tells me the only way to produce a
"valid" backup of UFS files is to shutdown to single-user mode and unmount all
filesystems first. If there is a better way to run backups I'm all ears.
We are currently running DEC Unix 3.2c on an Alpha 2100 5/300.
--------------------------------------------------------------------------------
Chris Los e-mail: clos@trentu.ca
Computing and Telecommunications, Trent University phone: 705-748-1588
--------------------------------------------------------------------------------
next reply other threads:[~1996-12-12 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-12-12 5:00 clos [this message]
1996-12-16 5:00 ` Need help with switching Run levels via crontab sclarry
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox