It's to have:
(1) -n|--dry-run in RSYNC_OPTIONS
(2) -u|--uuid indicating a disk UUID instead of hard-coded sdN (in case of using cron job and disk table changed after power down => very very dangerous).
Using blkid command to query disk label based on UUID is more tolerant.
It's to have: (1) -n|--dry-run in RSYNC_OPTIONS (2) -u|--uuid indicating a disk UUID instead of hard-coded sdN (in case of using cron job and disk table changed after power down => very very dangerous). Using blkid command to query disk label based on UUID is more tolerant.