I want to be able to customize the rsync options Hyper Backup uses, when the backup option Data Backup Task
> Remote Data Copy
is selected, but Hyper Backup options are limited and somewhat blury.
DSM version: DSM 6.0.2-8451 Update 9
I will actually give my own solution as an answer, but if any better solution shows up, I'll validate it. For this to be helpful to people in need, I'll also write down here my conclusions on the subject.
What Hyper Backup parameters mean vis-a-vis rsync options
Default
By default, when no following option is ticked in the task's Settings tab, rsync uses those options:
--chmod=ugo=rwx -W -H -rlt -p --delete --exclude-from=/tmp/RSYNC_RULE_xxxxxx
Notes:
- any configuration will lead to create extra files and folders on your remote backup repository: @app, _Syno_TaskConfig and synobkpinfo.db, managed by Hyper Backup for its own use
- many rsync commands are launched to manage Hyper Backup files and for integrity checking; rsync options vary for those commands: I'm only talking about the options used when backuping your actual data here
- the exclude-from file is created temporarily to reflect some checked options (see below)
Enable transfert compression
adds rsync option: --compress
Enable block-level backup
removes rsync option: -W
Reserve the backed up files at the destination
removes rsync option: --delete
Enable metadata backup
no rsync option modification
Creates an additional folder on remote backup repositories: @app/@metadata.
Launches more rsync commands to manage the new folder, supposedly containing backuped files' permission and owner data.
Enable thumbnails backup
no rsync option modification
I THINK (not been there yet) that it changes the content of the temporary exclude-from files.
Copies the @eaDir folder, present in each folder containing a picture, @eaDir containing one or more sized thumbnails of the picture, generated by DSM.