From owner-freebsd-isp Fri Apr 23 13: 9:39 1999 Delivered-To: freebsd-isp@freebsd.org Received: from mothership.hostresource.com (unknown [216.37.30.11]) by hub.freebsd.org (Postfix) with ESMTP id E77F915477 for ; Fri, 23 Apr 1999 13:09:02 -0700 (PDT) (envelope-from angrick@netdirect.net) Received: from fdc7.fdcredit.com ([216.37.30.62]) by mothership.hostresource.com (8.8.8/8.8.8) with SMTP id PAA04420 for ; Fri, 23 Apr 1999 15:06:21 -0500 (EST) (envelope-from angrick@netdirect.net) Message-Id: <1.5.4.32.19990423200448.00b94170@netdirect.net> X-Sender: angrick@netdirect.net X-Mailer: Windows Eudora Light Version 1.5.4 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Fri, 23 Apr 1999 15:04:48 -0500 To: FreeBSD-ISP@FreeBSD.ORG From: Andy Angrick Subject: tar Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sort of off topic...but....tar has been driving me a little crazy. I'm trying to create a cron job that backups webserver files and websites to a second drive in the middle of the night. I'm having a problem with the update feature (-u). It acts very strange. tar uvf /usr2/backup1/backup.tar apachef will do what its suppose to when the file /usr2/backup1/backup.tar doesn't exist. It tars all the files. However, if i modify one of the files and do tar uvf /usr2/backup1/backup.tar apachef again, it doesn't update the archive, when when I do tar dvf /usr2/backup1/backup.tar apachef and it compares the files correctly stating that a modified time had changed. If I specifically say what files tar uvf /usr2/backup1/backup.tar apachef/logs/* it works. It seems that -u will not recurse the directories. What's strange is that if the tar files doesn't already exist it WILL recurse the directories. Anyone know of a way to recurse the directories with the -u options? Thanks -Andy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message