🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #9652

Re: Single user backups

#9652
From: Tom Poage
Date: Thu, 15 Dec 1988 10:04
23 lines
1195 bytes
I haven't tried this ... but I plan to real soon now :-).

	To bring the system (down) to single-user for unattended
	backups, try leaving a semaphore via cron or at:

		cat /dev/null >/mymessage
		/etc/reboot

	In one of your rc files put something like

		if [ -f "/mymessage" ]; then
			rm -f /mymessage
			# Hmm, security hole? vvvvv
			/run/your/dump/backup.shell
			# or run your C program with exec(dump).
			/etc/reboot
		fi

Tom.

Tom Poage, UCDMC Clinical Engineering, Sacto., CA
ucdavis.ucdavis.edu!sunny!{poage,root,postmaster,news}
ucbvax!ucdavis!sunny!{poage,root,postmaster,news}
Technical Details
Message-ID: <353@sunny.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-lcc!ames!mailrus!cornell!uw-beaver!rice!sun-spots-request
References: <8811102135.AA09427@rice.edu> <8811222300.AA12286@douglass.cs.columbia.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-lcc!ames!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: ucdavis!sunny!poage@ucbvax.berkeley.edu (Tom Poage)
Newsgroups: comp.sys.sun
Subject: Re: Single user backups
Message-ID: <353@sunny.UUCP>
Date: 15 Dec 88 10:04:49 GMT
References: <8811102135.AA09427@rice.edu> <8811222300.AA12286@douglass.cs.columbia.edu>
Sender: usenet@rice.edu
Organization: Rice University, Houston, Texas
Lines: 22
Approved: Sun-Spots@rice.edu
Original-Date: 5 Dec 88 03:14:05 GMT
X-Sun-Spots-Digest: Volume 7, Issue 56, message 1 of 14