From owner-freebsd-questions Fri Sep 15 14:58:50 2000 Delivered-To: freebsd-questions@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id CB8D037B423 for ; Fri, 15 Sep 2000 14:58:46 -0700 (PDT) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #4) id 13a3VO-000Hsb-00 for freebsd-questions@freebsd.org; Fri, 15 Sep 2000 22:58:46 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.9.3/8.9.3) id WAA25811 for freebsd-questions@freebsd.org; Fri, 15 Sep 2000 22:58:45 +0100 (BST) (envelope-from jcm) Date: Fri, 15 Sep 2000 22:58:45 +0100 From: j mckitrick To: freebsd-questions@freebsd.org Subject: incremental tar backup Message-ID: <20000915225845.A25780@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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