Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dry-run mode and -u|--uuid for disk uuid instead of hard-coded sdN #16

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

hominhquan
Copy link

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.

crowzero and others added 6 commits June 18, 2015 23:33
Version 1.3	2015/06/18
      add -q (quiet) option for use as cron script
      -q only works with existing backups.
      It won't initialize the destination SD card partitions with dd!
      Please initialize the destination SD card from the shell (by hand)
      for the first time.
      This is to protect you for accidentally overwriting a SD Card.
Pull crozero's branch with quite mode inside
@hominhquan hominhquan changed the title add dry-run mode add dry-run mode and -u|--uuid for disk uuid instead of hard-coded sdN Nov 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant