bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] Tar Update command


From: Clinton Mills
Subject: [Bug-tar] Tar Update command
Date: Mon, 15 Sep 2008 23:52:47 -0500

I am using the update command to try to speed up our back ups. I was thinking of using the update command to try and accomplish this.

 

I am having a small problem with my test. Am I doing something wrong, please see below?

 

First Test

tar -v --update --file /root/test.tar 1 2 3 4

 

This shows all 4 files were added to the archive. Great! Now let’s run it again. This shows no files were added to the archive, Great! Now let’s change file 3. Now let’s run it again and it shows it added 3 to the archive, it worked great!

 

Let’s do the same thing but with the following command using the full path to each file.

tar -v --update --file /root/test.tar /tmp/1 /tmp/2 /tmp/3 /tmp/4

This shows all four files are added to the archive. Great. Now let’s run it again!! This time it shows all four files were added to the archive, even though none of them changed??

 

Why would this add all 4 files to the archive every time just b/c I put the full path?

 

I am basically trying to backup

tar -v --update --file /root/test.tar /home (where only the updated files get added).

 

Any ideas, thanks in advance!

 

Clinton Mills
Hitcents.com
Tel: (270) 796-5063 ext 105
Fax: (270) 796-3195

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]