Minimize log file: get rid of ".d...p..... send"
Hans Troost
hans.troost at gmail.com
Fri Sep 3 09:46:14 MDT 2010
Thanks Matt,
Tested again a bit and indeed: permissions on source and destination are
different:
[hans at localhost rsync-test]$ cd ~/rsync-files/rsync-test/
[hans at localhost rsync-test]$ ls -l
total 24
drwxrwxr-x 2 hans hans 4096 2010-09-02 18:24 2bchanged/
drwxrwxr-x 2 hans hans 4096 2010-09-03 16:45 New Folder/
drwxrwxr-x 2 hans hans 4096 2010-09-03 16:42 New Folder (2)/
[hans at localhost rsync-test]$ cd /mnt/backup//rsync-test/
[hans at localhost rsync-test]$ ls -l
total 8
drwxr-xr-x 1 hans hans 0 2010-09-02 18:24 2bchanged/
drwxr-xr-x 1 hans hans 0 2010-09-03 16:45 New Folder/
drwxr-xr-x 1 hans hans 0 2010-09-03 16:42 New Folder (2)/
and indeed - although I specified rsync -vvv (most verbose output) - rsync
"silently ignores chmod(2) calls" with emphasis on "silently":
2010/09/03 16:45:49 [7882] send_files(15, /home/hans/rsync-files/rsync-test/New Folder)
2010/09/03 16:45:49 [7882] cd+++++++++ send home/hans/rsync-files/rsync-test/New Folder
2010/09/03 16:45:49 [7882] set modtime of rsync-test/New Folder to (1283525117) Fri Sep 3 16:45:17 2010
2010/09/03 16:45:49 [7882] delete_in_dir(rsync-test/New Folder)
Since it is just a backup of my own personal workstation I decided to to use
rsync -a --no-p .... : when restoring I just have to re-apply the correct permissions
(if required at all). I decided to also remove the --log-file-format at all.
This gives the log-file I prefer.
Thanks for your comments and recommendations,
Kind regards,
Hans Troost
More information about the rsync
mailing list