Minor fixes before merging pull request
This commit is contained in:
parent
d0b14bd268
commit
9bd20fefa1
|
@ -28,7 +28,7 @@ _SKIP_HOME_DIRS=false
|
||||||
_FORCED_LOG_FILE=""
|
_FORCED_LOG_FILE=""
|
||||||
_QUIET_MODE=false
|
_QUIET_MODE=false
|
||||||
_VERBOSE_MODE=false
|
_VERBOSE_MODE=false
|
||||||
_SHOW_PROGRESS=false # Option to display file transfer progress
|
_SHOW_PROGRESS=false
|
||||||
_DRY_RUN=false
|
_DRY_RUN=false
|
||||||
_FORCE_RUN=false
|
_FORCE_RUN=false
|
||||||
_ERROR_COUNT=0
|
_ERROR_COUNT=0
|
||||||
|
@ -65,7 +65,7 @@ Options:
|
||||||
machine and %u with your username)
|
machine and %u with your username)
|
||||||
--push-module=NAME The remote rsync server module
|
--push-module=NAME The remote rsync server module
|
||||||
--ssh-options=OPTS Additional SSH options (will be merged with the default
|
--ssh-options=OPTS Additional SSH options (will be merged with the default
|
||||||
options set in the rs-backup client-config file)
|
ptions set in the rs-backup client-config file)
|
||||||
-o, --rsync-options=OPTS Additional options for rsync
|
-o, --rsync-options=OPTS Additional options for rsync
|
||||||
-n, --dry-run Perform a test run (same as the --dry-run option for
|
-n, --dry-run Perform a test run (same as the --dry-run option for
|
||||||
rsync). Enable --verbose mode for useful control output
|
rsync). Enable --verbose mode for useful control output
|
||||||
|
|
|
@ -51,7 +51,7 @@ chmod 0644 "${HOME_DIR}/rsnapshot.conf"
|
||||||
mkdir -p "${HOME_DIR}/${FILES_DIR}/.sync"
|
mkdir -p "${HOME_DIR}/${FILES_DIR}/.sync"
|
||||||
|
|
||||||
# Set permissions for backup directory
|
# Set permissions for backup directory
|
||||||
chown -R ${USERNAME}:${GROUPNAME} "${HOME_DIR}/${FILES_DIR}"
|
chown -R "${USERNAME}:${GROUPNAME}" "${HOME_DIR}/${FILES_DIR}"
|
||||||
chmod -R 0755 "${HOME_DIR}/${FILES_DIR}"
|
chmod -R 0755 "${HOME_DIR}/${FILES_DIR}"
|
||||||
|
|
||||||
# If SSH key file has been specified
|
# If SSH key file has been specified
|
||||||
|
|
Loading…
Reference in New Issue