Re: A strange problem with my daily backups performed via rsync

2020-11-02 Thread Wayne Davison via rsync
On Mon, Nov 2, 2020 at 3:03 AM Manish Jain wrote: > rsync -av --delete src dst # but protect dir dst/XYZ from deletion > > I tried "--filter 'protect dst/XYZ'" but that does not prevent the > directory dst/XYZ from being deleted. > The "dst" dir isn't in the transfer, so it can't appear in a fil

Re: A strange problem with my daily backups performed via rsync

2020-11-02 Thread Manish Jain via rsync
Problem solved. But I would like to know for my own sake if --delete can be made to work while preventing a certain directory from deletion in the backup : rsync -av --delete src dst # but protect dir dst/XYZ from deletion I tried "--filter 'protect dst/XYZ'" but that does not prevent the d

Re: A strange problem with my daily backups performed via rsync

2020-11-02 Thread Manish Jain via rsync
/mnt/sony is ext4. /mnt/wall is ext2. I think I have spotted the problem. Let me try and work this out myself now. If the problem persists, I will post again. Thanks for your reply, Manish Jain On 2020-11-02 15:08, Kevin Korb via rsync wrote: A few things here... What filesystem is on /mnt

Re: A strange problem with my daily backups performed via rsync

2020-11-02 Thread Kevin Korb via rsync
A few things here... What filesystem is on /mnt/sony? Add a --itemize-changes to see what it says is going on. There really isn't a good reason to exclude lost+found. It should always be empty and take up no space. If there is something in it that is a sign that there is a problem with your filesy

A strange problem with my daily backups performed via rsync

2020-11-02 Thread Manish Jain via rsync
Hi, I am facing a strange situation with my daily backups performed via rsync. I primarily use Manjaro KDE Linux (LTS kernel), but also have FreeBSD and Windows 10 bare-metal installations. I have an all-OS-writable ext2 partition /dev/sda2 mounted at /mnt/wall My USB backup device is a So

Re: Strange problem with rsync and expect

2015-06-16 Thread Kevin Korb
ended it, confirmed that the temp file was present, then ran another rsync of a different file in the same directory and the original temp file was not touched or removed by the subsequent rsync. On 06/16/2015 02:38 AM, Guangmu Zhu wrote: > Version: 3.0.6 OS: CentOS 6.6 > > I met a strang

Strange problem with rsync and expect

2015-06-15 Thread Guangmu Zhu
Version: 3.0.6OS: CentOS 6.6 I met a strange problem when using rsync with expect. I wrote a script backing up using rsync and expect. However when I run the script twice for two different files at same time, the two files on destination path would be deleted automatically before the files

Strange problem

2010-08-27 Thread Manuel Rodriguez Morales
Hello. I have a strange problem with rsync With a cron, I run a script that launches about 30 processes at once, two of which fail, always the same. It worked fine until recently. The commands executed are of the type: rsync -Aavq --password-file=passfile --del --log-file=logfile rsync://u

strange problem with directories acls

2005-09-29 Thread stefanke
Hi all, I try to use rsync with acl support. Files with acls were transfered but the acls of direcotries don`t! Is it not possible to transfer acls of diretories? Any suggetions? info: rsync-2.6.2-8 (rpm from sles9) cheers Stefan -- To unsubscribe or change options: https://lists.samba.or