tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: vdump, /etc/vdumpdates, crontab and tape
@ 1996-11-22  9:53 Kjell Andresen
  0 siblings, 0 replies; only message in thread
From: Kjell Andresen @ 1996-11-22  9:53 UTC (permalink / raw)
  To: tru64-unix-managers

Searching the archieves I find:
http://www.ornl.gov/its/archives/mailing-lists/alpha-osf-managers/1996/01/\
msg00092.html

Seems like a reboot might be useful and each parameter is separately.
Hope I do not have to buy a new tapedrive.

Or maybe wait for the pid to exit:
http://www.ornl.gov/its/archives/mailing-lists/alpha-osf-managers/1995/09/\
msg00112.html
-----------------
#vdump the filesystem
#runs in background but redirects stdout/stderr to /tmp/dump_tmp

vdump -0 -u -f /dev/rmt0h /raid_clone > /tmp/dump_tmp 2>&1 &
d_pid=$!

#wait for vdump to die and save its exit status
wait $d_pid
d_exit=$?
---------------

Kjell


> I have a little problem writing av script to do full backups.
> There are a few problems:
> 
> 1. When the script is made up of more vdump statments all but the first
> one fails as the tapedevice is busy when the next vdump is submitted.
> 
> 2. vdump -u 	: Does not log entries in /etc/vdumpdates when the
> commands is run in a script. It's OK if the statment is run on the command
> line. Sad because it's easy to check in /etc/vdumpdates.
> 
> 3. The script is not succesfully run if output is written to a file in the
> command-line in crontab, so I had to add the exec-line in the beginning of
> the script.
> 
> #!/bin/sh
> exec >/tmp/logg.`date +%y%m%d-%H%M` 2>&1
> /sbin/vdump -0 -Nqu -f /dev/nrmt0h /home
> /sbin/vdump -0 -Nqu -f /dev/nrmt0h /
etc.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-11-22  9:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-22  9:53 SUMMARY: vdump, /etc/vdumpdates, crontab and tape Kjell Andresen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox