Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Tar Incremental Backup, Cannot get --listed-incremental to work
dave_nutter
post Dec 15 2004, 04:54 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 15-December 04
Member No.: 4,341



Hi.

I am trying to use the --listed-incremental switch in Tar to back up my data. It seems to be behaving very erratically. The 1st tar backs up everything. Subsequent backups only sometimes pick up new files.

Below is what happens when I try this. If anyone can helpo, I would appreciate it .
Thanks
Dave

% 922: cd ~/test_dir/
% 923:
% 923: ls ~/ > original_file1
% 924: ls ~/ > updateable_file
% 925: ls -l
total 2.0K
-rw-r--r-- 1 spxdjn starform 812 Dec 15 09:53 original_file1
-rw-r--r-- 1 spxdjn starform 812 Dec 15 09:53 updateable_file
% 926:
% 926: tar --create -v --file=/home/capdata/spxdjn/backup/master.tar --listed-incremental=/home/capdata/spxdjn/backup/snapshot ~/test_dir
tar: Removing leading `/' from member names
home/user1/spxdjn/test_dir/
home/user1/spxdjn/test_dir/original_file1
home/user1/spxdjn/test_dir/updateable_file
% 927:
% 927: cat original_file1 > new_file
% 928: cat original_file1 >> updateable_file
% 929: ls -l
total 4.0K
-rw-r--r-- 1 spxdjn starform 812 Dec 15 09:53 new_file
-rw-r--r-- 1 spxdjn starform 812 Dec 15 09:53 original_file1
-rw-r--r-- 1 spxdjn starform 1.6K Dec 15 09:53 updateable_file
% 930:
% 930:
% 930: tar --create -v --file=/home/capdata/spxdjn/backup/increment.tar --listed-incremental=/home/capdata/spxdjn/backup/snapshot ~/test_dir
tar: Removing leading `/' from member names
home/user1/spxdjn/test_dir/
% 931:

The new file and the updated file are not added to increment.tar ?!?!?!?!?
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd October 2017 - 03:31 AM