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. -- 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