Differential backup based on catalogue file

T o n g <mlist4suntong-/[email protected]> Mon, 6 Sep 2010 03:21:34 +0000 (UTC)
Newsgroups gmane.comp.sysutils.backup.dar.general
Message-ID <[email protected]>
Hi, 

I want to do a differential backup based on a given catalogue
file. I think it should work, but test shows otherwise [1]:

I.e., I see that a file is already backed up, and show up in the
catalogue file, but dar still wants to back it up, even everything
seems to be the same. 

What's happening? How can I do further investigation?

Thanks

[1]

$ dar -l da-name_2009-12-11-cat | head -15
[data ][ EA  ][compr] | permission | user  | group | size  |          date                 |    filename
----------------------+------------+-------+-------+-------+-------------------------------+------------
[InRef]       [-----]   drwxrwxr-x   9999       tong    0       Fri Jan  4 13:46:39 2008        db
[InRef]       [-----]   drwxrwxr-x   tong       tong    0       Fri Jan  4 13:46:39 2008        db/dict
[InRef]       [-----]   drwxrwxr-x   tong       tong    0       Fri Jan  4 13:46:39 2008        dev
[InRef]       [-----]   drwxrwxr-x   tong       tong    0       Fri Jan  4 13:46:39 2008        fun
[InRef]       [-----]   drwxrwxr-x   tong       tong    0       Fri Jan  4 13:46:39 2008        fun/games
[InRef]       [-----]   drwxrwxr-x   tong       tong    0       Fri Jan  4 13:46:39 2008        inet
[InRef]       [-----]   drwxrwxr-x   tong       tong    0       Fri Jan  4 13:46:39 2008        inet/lan
[InRef]       [-----]   drwxrwxr-x   tong       tong    0       Fri Jan  4 13:47:17 2008        inet/web
[InRef]       [-----]   -rwxrwxr-x   tong       tong    8510    Fri Jan  4 13:47:05 2008        inet/web/larve.2006.add-to-social-bookmarking-services.htm
[InRef]       [-----]   -rwxrwxr-x   tong       tong    12385   Fri Jan  4 00:00:00 2008        inet/web/sb.zip
[InRef]       [-----]   -rwxrwxr-x   tong       tong    199     Fri Jan  4 13:47:17 2008        inet/web/11getlog.lst
[InRef]       [-----]   drwxrwxr-x   tong       tong    0       Fri Jan  4 13:46:39 2008        inet/agent
[InRef]       [-----]   drwxrwxr-x   tong       tong    0       Fri Jan  4 13:46:39 2008        inet/email


$ dar -e -v -R . -c /path/to/da-name_2010-09-05-diff -A da-name_2009-12-11-cat -s 10M
Extracting contents of the archive...
Adding file to archive: /path/to/pwd/db
Adding file to archive: /path/to/pwd/db/dict
Adding file to archive: /path/to/pwd/dev
Adding file to archive: /path/to/pwd/fun
Adding file to archive: /path/to/pwd/fun/games
Adding file to archive: /path/to/pwd/inet
Adding file to archive: /path/to/pwd/inet/lan
Adding file to archive: /path/to/pwd/inet/web
Adding file to archive: /path/to/pwd/inet/web/larve.2006.add-to-social-bookmarking-services.htm
Adding file to archive: /path/to/pwd/inet/web/sb.zip
Adding file to archive: /path/to/pwd/inet/web/11getlog.lst
Adding file to archive: /path/to/pwd/inet/agent
Adding file to archive: /path/to/pwd/inet/email
[ . . . ]


-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd