Date: Fri, 15 Sep 2000 22:58:45 +0100 From: j mckitrick <jcm@FreeBSD-uk.eu.org> To: freebsd-questions@freebsd.org Subject: incremental tar backup Message-ID: <20000915225845.A25780@dogma.freebsd-uk.eu.org>
next in thread | raw e-mail | index | archive | help
Here is a script i am trying for backups
Now, i don't have my zip drive connected at the moment, but i believe the
error i get is
tar: cannot write to (null)
I *did* have the zip drive mounted on /mnt
This happens after all the subdirectories are written, and tar is supposed
to be tarring the actual files in home/jcm. What have i done wrong or what
option have i omitted?
#!/bin/csh
set now = `date`
set then = `cat ~/.admin/date.home.dump`
tar -c -l -G -v\
-f /mnt/bak.tar\
-N "$then"\
-V "Dump from $then to $now"\
/home/jcm\
/etc\
/usr/local/sbin
echo $now > ~/.admin/date.home.dump
jcm
--
"I drank WHAT ?!" - Socrates
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000915225845.A25780>
