[rear-devel] [rear/rear] 0f8818: Enhance logging and progress for running in parall...

Johannes Meixner jsmeix at suse.com
Mon Dec 5 12:12:00 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/rear/rear
  Commit: 0f8818b8e763cd4b848ad4bce86224892183d55f
      https://github.com/rear/rear/commit/0f8818b8e763cd4b848ad4bce86224892183d55f
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2016-12-05 (Mon, 05 Dec 2016)

  Changed paths:
    M usr/share/rear/backup/NETFS/default/500_make_backup.sh
    M usr/share/rear/backup/RSYNC/default/500_make_rsync_backup.sh
    M usr/share/rear/lib/_input-output-functions.sh
    M usr/share/rear/lib/progresssubsystem.nosh
    M usr/share/rear/restore/NETFS/default/400_restore_backup.sh
    M usr/share/rear/restore/RBME/default/400_restore_backup.sh
    M usr/share/rear/restore/RSYNC/default/400_restore_rsync_backup.sh

  Log Message:
  -----------
  Enhance logging and progress for running in parallel (issue 1096)


  Commit: 722a3a62c42f50eafd42a34f64b455a822d74e63
      https://github.com/rear/rear/commit/722a3a62c42f50eafd42a34f64b455a822d74e63
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2016-12-05 (Mon, 05 Dec 2016)

  Changed paths:
    M usr/share/rear/backup/NETFS/default/500_make_backup.sh
    M usr/share/rear/backup/RSYNC/default/500_make_rsync_backup.sh
    M usr/share/rear/lib/_input-output-functions.sh
    M usr/share/rear/lib/progresssubsystem.nosh
    M usr/share/rear/restore/NETFS/default/400_restore_backup.sh
    M usr/share/rear/restore/RBME/default/400_restore_backup.sh
    M usr/share/rear/restore/RSYNC/default/400_restore_rsync_backup.sh

  Log Message:
  -----------
  Merge pull request #1101 from jsmeix/Enhance_logging_and_progress_for_running_in_parallel_issue1096

Enhance logging and progress for running in parallel.
Added support for a new variable MESSAGE_PREFIX.
Added support for a new variable PROGRESS_MODE.
Added support for a new variable PROGRESS_WAIT_SECONDS.
Setting at least MESSAGE_PREFIX="PID$$: "
and PROGRESS_MODE="plain" is needed to get
still usable (i.e. meaningful) output when multiple
"rear mkbackuponly" or "rear restoreonly" run in parallel.
Optionally setting e.g. PROGRESS_WAIT_SECONDS="5"
results much less progress messages.


Compare: https://github.com/rear/rear/compare/c09f2bd28b03...722a3a62c42f


More information about the rear-devel mailing list