[rear-devel] [rear/rear] 9c0440: Work on selecting the Borg archive to restore from.

Vladimir Gozora noreply at github.com
Thu May 28 08:22:23 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/rear/rear
  Commit: 9c0440cfdb68677c610dc49ed3b388616153799b
      https://github.com/rear/rear/commit/9c0440cfdb68677c610dc49ed3b388616153799b
  Author: Peter Hoffmann <hoffmann at b1-systems.de>
  Date:   2020-05-25 (Mon, 25 May 2020)

  Changed paths:
    M usr/share/rear/conf/default.conf
    M usr/share/rear/lib/borg-functions.sh
    M usr/share/rear/restore/BORG/default/300_load_archives.sh

  Log Message:
  -----------
  Work on selecting the Borg archive to restore from.


  Commit: 67117f90a15da5729c1ee3c02be08786278c1387
      https://github.com/rear/rear/commit/67117f90a15da5729c1ee3c02be08786278c1387
  Author: Peter Hoffmann <hoffmann at b1-systems.de>
  Date:   2020-05-25 (Mon, 25 May 2020)

  Changed paths:
    M usr/share/rear/conf/default.conf
    M usr/share/rear/lib/borg-functions.sh
    M usr/share/rear/restore/BORG/default/300_load_archives.sh

  Log Message:
  -----------
  Make pagination optionally.

If BORGBACKUP_RESTORE_ARCHIVES_SHOW_NUMBER=0 then pagination is
disabled, and behaves as before.


  Commit: 5c719ed433ad775778357f014ef05aacd868ec75
      https://github.com/rear/rear/commit/5c719ed433ad775778357f014ef05aacd868ec75
  Author: Peter Hoffmann <hoffmann at b1-systems.de>
  Date:   2020-05-25 (Mon, 25 May 2020)

  Changed paths:
    M usr/share/rear/restore/BORG/default/300_load_archives.sh

  Log Message:
  -----------
  Add new lines via UserOutput for showing available Borg archives.


  Commit: 021ec8df45fad2d1ebf111347afd59a9b45cc699
      https://github.com/rear/rear/commit/021ec8df45fad2d1ebf111347afd59a9b45cc699
  Author: Peter Hoffmann <hoffmann at b1-systems.de>
  Date:   2020-05-25 (Mon, 25 May 2020)

  Changed paths:
    M usr/share/rear/conf/default.conf
    M usr/share/rear/restore/BORG/default/300_load_archives.sh

  Log Message:
  -----------
  Work on comments for Borg restore pagination.


  Commit: ae5c1b72779179eb2074c194090f61bc37faa751
      https://github.com/rear/rear/commit/ae5c1b72779179eb2074c194090f61bc37faa751
  Author: Peter Hoffmann <hoffmann at b1-systems.de>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M usr/share/rear/restore/BORG/default/300_load_archives.sh

  Log Message:
  -----------
  Explain usage of ISO 8601 format for Borg archive timestamps.


  Commit: 779ee6dfcf10b0e1d6a543fb0f5c9dbedd84bdb5
      https://github.com/rear/rear/commit/779ee6dfcf10b0e1d6a543fb0f5c9dbedd84bdb5
  Author: Peter Hoffmann <hoffmann at b1-systems.de>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M usr/share/rear/restore/BORG/default/300_load_archives.sh

  Log Message:
  -----------
  Use same code, when pagination is disabled, just set value to show everything.


  Commit: 6d6059abf9e676c5fba834ad10a7f5a5da26b0e8
      https://github.com/rear/rear/commit/6d6059abf9e676c5fba834ad10a7f5a5da26b0e8
  Author: Peter Hoffmann <hoffmann at b1-systems.de>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M usr/share/rear/restore/BORG/default/300_load_archives.sh

  Log Message:
  -----------
  Simplify logic.

Remove tac at begin and end of pipes.
Adjust tail and head calls.


  Commit: 578c840a0364543dc288d51bdbc5173c2b6c38af
      https://github.com/rear/rear/commit/578c840a0364543dc288d51bdbc5173c2b6c38af
  Author: Peter Hoffmann <hoffmann at b1-systems.de>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M usr/share/rear/restore/BORG/default/300_load_archives.sh

  Log Message:
  -----------
  Remove dead break statement, since with Error it already left that part.


  Commit: ad213c3d8f88dae7eff4a43983af31f067c2bb2c
      https://github.com/rear/rear/commit/ad213c3d8f88dae7eff4a43983af31f067c2bb2c
  Author: Peter Hoffmann <hoffmann at b1-systems.de>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M usr/share/rear/conf/default.conf
    M usr/share/rear/lib/borg-functions.sh
    M usr/share/rear/restore/BORG/default/300_load_archives.sh

  Log Message:
  -----------
  Use better variable name BORGBACKUP_RESTORE_ARCHIVES_SHOW_MAX.

See https://github.com/rear/rear/pull/2408#discussion_r430420729.


  Commit: 6cc4b9485d737da8d8e97daf4a45307993e9b5bd
      https://github.com/rear/rear/commit/6cc4b9485d737da8d8e97daf4a45307993e9b5bd
  Author: Peter Hoffmann <hoffmann at b1-systems.de>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M usr/share/rear/lib/borg-functions.sh

  Log Message:
  -----------
  Don't shout at poor user, who made a mistake ;-)

See https://github.com/rear/rear/pull/2408#discussion_r430424917.


  Commit: b4ac81f951b5e72e605d4a53d5daeca5f9c9fcbc
      https://github.com/rear/rear/commit/b4ac81f951b5e72e605d4a53d5daeca5f9c9fcbc
  Author: Peter Hoffmann <hoffmann at b1-systems.de>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M usr/share/rear/restore/BORG/default/300_load_archives.sh

  Log Message:
  -----------
  Make archive_cache_lines and archive_cache_last_shown local variables.


  Commit: f1710706dbb609faeea694a48c685ab60f2d58f3
      https://github.com/rear/rear/commit/f1710706dbb609faeea694a48c685ab60f2d58f3
  Author: Peter Hoffmann <hoffmann at b1-systems.de>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M usr/share/rear/restore/BORG/default/300_load_archives.sh

  Log Message:
  -----------
  Make usage of spaces before/after brackets consistent.


  Commit: 04200abc9e0751d15f217f7847a67e3bbcc5d395
      https://github.com/rear/rear/commit/04200abc9e0751d15f217f7847a67e3bbcc5d395
  Author: Peter Hoffmann <hoffmann at b1-systems.de>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M usr/share/rear/restore/BORG/default/300_load_archives.sh

  Log Message:
  -----------
  Find better variable names.

As we are already working on this script clarify local variable names:

- archive_cache_lines_total for archive_cache_lines
- archive_cache_lines_last_shown for archive_cache_last_shown


  Commit: eb482dfbd4746bad1f53632c409da009da6376e6
      https://github.com/rear/rear/commit/eb482dfbd4746bad1f53632c409da009da6376e6
  Author: Vladimir Gozora <c at gozora.sk>
  Date:   2020-05-28 (Thu, 28 May 2020)

  Changed paths:
    M usr/share/rear/conf/default.conf
    M usr/share/rear/lib/borg-functions.sh
    M usr/share/rear/restore/BORG/default/300_load_archives.sh

  Log Message:
  -----------
  Merge pull request #2408 from flyinggreenfrog/improve-borg-restore-archive-selection

Work on selecting the Borg archive to restore from.


Compare: https://github.com/rear/rear/compare/07bc30524f75...eb482dfbd474


More information about the rear-devel mailing list