On Sat, Jun 18, 2016 at 06:02:32PM -0400, Kevin Korb wrote:
> Any time you don't understand why rsync is copying something the first
> step is to use --itemize-changes to find out what rsync thinks is
> different about the file.
> 

Thanks! That helped.


Albert.

> On 06/18/2016 07:22 AM, Albert Berger wrote:
> > For backuping system folders on ArchLinux I use the following command
> > per folder:
> > 
> > rsync --update -DHAErlptgo --relative --delete-during $dir $backupdir
> > 
> > The problem is that every file in /root folder and its subfolders is
> > copied each time when this command is run. In all other folders only
> > new or modified files are copied. The files and the folder itself have
> > the following attributes:
> > 
> > [root@kw var]# getfattr /root/.bash_aliases 
> > [root@kw var]# getfattr /root
> > [root@kw var]# ls -ld /root
> > drwxr-x--- 29 root root 4096 Jun 18 13:51 /root
> > [root@kw var]# ls -l /root/.bash_aliases 
> > -rw-r--r-- 1 root root 113 May 17  2015 /root/.bash_aliases
> > 
> > On backup dir:
> > 
> > [root@kw var]# getfattr /mnt/backup/home/root/.bash_aliases 
> > [root@kw var]# getfattr /mnt/backup/home/root
> > [root@kw var]# ls -ld /mnt/backup/home/root
> > drwxr-x---+ 1 root root 0 Jun 18 10:02 /mnt/backup/home/root
> > [root@kw var]# ls -l /mnt/backup/home/root/.bash_aliases 
> > -rw-r--r--+ 1 root root 113 May 17  2015 /mnt/backup/home/root/.bash_aliases
> > 
> > Could someone advise what can cause such rsync's behaviour?
> > 
> > Thanks.
> > 
> > Albert.
> > 
> 
> -- 
> ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
>       Kevin Korb                      Phone:    (407) 252-6853
>       Systems Administrator           Internet:
>       FutureQuest, Inc.               ke...@futurequest.net  (work)
>       Orlando, Florida                k...@sanitarium.net (personal)
>       Web page:                       http://www.sanitarium.net/
>       PGP public key available on web site.
> ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
> 




> -- 
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options: 
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to