From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,ac9e2a0f17d13140,start X-Google-Attributes: gidf678f,public From: "HuBrIs" Subject: vdump of root ..et al Date: 2000/02/11 Message-ID: #1/1 X-Deja-AN: 584585853 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: abuse@pacbell.net X-Trace: nnrp3-w.snfc21.pbi.net 950284444 63.199.31.223 (Fri, 11 Feb 2000 07:54:04 PST) Organization: SBC Internet Services X-MSMail-Priority: Normal NNTP-Posting-Date: Fri, 11 Feb 2000 07:54:04 PST Newsgroups: comp.unix.osf.misc I'm running Digital Unix 4.0f on 2 Alpha 4000s and 1 GS140. I was wondering where I stand as far as the following tasks: what do you do?... 1) rebooting: I hard-reboot just about every Sunday, just to clean out the cobwebs. 2) vdump root: once a month I boot single user mode and vdump / /var and /usr to tape. I always wondered if my method was leaving critical files open: console>>> b -fl s >ksh > set -o emacs > bcheckrc > vdump -0 -f /dev/nrmt0h /; \ > vdump -0 -f /dev/nrmt0h /var; \ > vdump -0 -f /dev/rmt0h /usr; 3) resetting binary errlog: About once a month I: >cd /var/adm > mv binary.errlog old_binary.errlog > touch binary.errlog I know there's a better procedure, I'm afraid of stopping the log daemon. Does anyone know how to force a trivial message to go to this daemon to test the log file? 4) bonus question: I need to get "yesterday's" date for ksh scripts.... any ideas? I thought of having a cron job that would just write today's dat to a log file at one second before midnight, then you can read from that.... thanks and happy computing PFH