From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e2cdb569eec43e82,start X-Google-Attributes: gidfee84,public From: clos@ivory.trentu.ca Subject: Need help with switching Run levels via crontab Date: 1996/12/12 Message-ID: #1/1 X-Deja-AN: 203742599 sender: news@blaze.trentu.ca (USENET News System) x-nntp-posting-host: trentu.ca organization: Trent University, Peterborough reply-to: clos@ivory.trentu.ca newsgroups: comp.unix.osf.osf1 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 --------------------------------------------------------------------------------