Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20040722143029.88743.qmail@web21101.mail.yahoo.com> Date: Thu, 22 Jul 2004 10:30:29 -0400 (EDT) From: Alex Song Subject: tar incremental backup issue To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Hi, I'm relying on incremental feature of tar for my backup need. After doing a lot of backups, I suddenly found an issue with this feature. It seems if you move a file with an earlier date to the directory, the incremental backuped archive of this directory does NOT have this file! I'm using following script to test this, #! /bin/sh rm -fr test restore 1 2 snapshot date > date.txt sleep 90 #make an older file mkdir test mkdir test/1 mkdir test/2 echo 1 > test/1/1 echo 2 > test/2/2 #first backup tar -cf test.tar --listed-incremental=snapshot test mkdir 1 mv test.tar 1 #second backup mv date.txt test/1 tar -cf test.tar --listed-incremental=snapshot test mkdir 2 mv test.tar 2 #restore mkdir restore cd restore tar -xf ../1/test.tar --listed-incremental=../snapshot tar -xf ../2/test.tar --listed-incremental=../snapshot diff -r test ../test #end The output is Only in ../test/1: date.txt Or did I do something wrong? I really appreciate your reply. Alex ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/