T o n g
2010-09-06 03:21:34 UTC
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
[ . . . ]
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/
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/