Hi, I use the options --backup and --backup-dir (in combination with --delete) to backup changed or deleted files. And for each rsync I use a different backup-dir so I keep all the deleted/changed files.
Now I have some big files (> 50GB) that change every day but I only need one last version on my destination server. I want to have these files synced, but I don't want to have a --backup copy of the previous version. Is there a way to exclude files only from the --backup option (e.g. --backup-exclude or --backup-exclude-from)? In local rsync scripts I use to delete the files from the backup-dir after rsync has finished. But this is difficult on a remote rsync server. Perhaps triggering the post-xfer option for the rsync server might be a solution. But can I inject a post-xfer script to the server? Anyway it unnecessarily would consume resources to first make the backup to backup-dir and the delete the files. Is there a smarter solution? Regards Helmut Schweinzer -- 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
