From: Luitzen van Gorkum <luitzen.van.gorkum () cmg ! nl>
To: tru64-unix-managers
Subject: SUMMARY: Unable to run vrestore en vdump in crontab
Date: Tue, 20 Feb 2001 08:29:26 +0000 [thread overview]
Message-ID: <98265777915688.tru64-unix-managers.marc@archive.invalid> (raw)
Hi,
I've got 2 answer allmost in a minute. Thanks to Olle Eriksson and Adrian
Howard!
I've never thought about this but it turns out to be awfully simple: cron
doesn't set your PATH environment as I expected is. Adding /sbin/ to my
vrestore and vdump commands was enough!
Thank you very much! I'm again suprised by the QUICK responses!
Kind regards, Luitzen
-----Original Message-----
From: Luitzen van Gorkum
Sent: dinsdag 20 februari 2001 9:17
To: true 64 mail list
Subject: Unable to run vrestore en vdump in crontab
Hi,
I've got a backupscript wich I want to start from the crontab. Manually the
script works fine in cron the commands vrestore en vdump don't work.
Monitoring the processes I don't even find a process for them...
This is de command as I've been using restoring the file session from the
first saveset on tape:
#!/bin/sh
BUPdev="/dev/rmt0h"
mt -f $BUPdev load
vrestore -f $BUPdev -v -o yes -D /tmp -x session
mt -f $BUPdev offline
exit
The vdump syntax is:
vdump -f $BUPdev -v -0 -N -D /usr
Manually it works fine, Manually detatching works fine but Cron doesn't work
(all user root).
Kind regards,
Luitzen van Gorkum
---
CMG Noord Nederland
Divisie Advanced Technology
reply other threads:[~2001-02-20 8:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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