Dear all
I'm using rsync to keep a backup of certain directories on my backup server.
I notice the following rsync command works, and place a folder called "zipped" inside the "/backup/" directory and deletes removed files on the source:
rsync -vrptgolz --progress --stats --delete root@remote_server:/remote_backup/zipped /backup/
The following rsync command copies the files over, but do not delete removed files on the source:
rsync -vrptgolz --progress --stats --delete root@remote_server:/remote_backup/zipped/* /backup/zipped/
Does anyone know why the 2nd command does not delete removed files on the source as expected?
Kind Regards,
I'm using rsync to keep a backup of certain directories on my backup server.
I notice the following rsync command works, and place a folder called "zipped" inside the "/backup/" directory and deletes removed files on the source:
rsync -vrptgolz --progress --stats --delete root@remote_server:/remote_backup/zipped /backup/
The following rsync command copies the files over, but do not delete removed files on the source:
rsync -vrptgolz --progress --stats --delete root@remote_server:/remote_backup/zipped/* /backup/zipped/
Does anyone know why the 2nd command does not delete removed files on the source as expected?
Kind Regards,