github-backup-utils (3.0.0) UNRELEASED; urgency=medium

  * Fix restoring the password pepper for already configured instances #683

 -- Michael Dang <dangmh@github.com>  Tue, 16 Feb 2021 22:32:25 +0000

github-backup-utils (3.0.0.rc1) UNRELEASED; urgency=medium

  * Cleanup nomad container when restore for 2.22 #670
  * Use ghe-cluster-nomad-cleanup for cluster mode #663
  * Only run ghe-nomad-cleanup in 3.0 #662
  * Revert backup-utils gitHub env and a few more fixes #661
  * Note how to test filesystem symlink / hardlink support #660
  * stop github-timerd based on its running environment #659
  * Backup and restore password pepper #656
  * github-env -> github-env-dispatch #654
  * Rename redis-cli to ghe-redis-cli #639

 -- Michael Dang <dangmh@github.com>  Thu, 14 Jan 2021 21:17:53 +0000

github-backup-utils (2.22.0) UNRELEASED; urgency=medium

  * Added basic timing around the ghe-restore process #625
  * Improve python3 & finding moreutils parallel  #627
  * Turn off POSIX for ghe-backup-config #632
  * Add parallelized restore capability to ghe-restore-storage #635
  * Update backup-utils for new features in 2.22 #641

 -- jianghao0718@github.com  Wed, 23 Sep 2020 15:48:54 +0000

github-backup-utils (2.21.0) UNRELEASED; urgency=medium

  * Introduce option to skip restoring of audit logs #596
  * Beta: Execute ghe-backup tasks in parallel #597
  * Beta: Execute ghe-restore tasks in parallel #601
  * Run repositories restore in parallel #603
  * Fix mismatched `bm_start` and `bm_end` commands #607
  * remove rsync restore method used by GHES versions prior to 2.13 #608
  * Output MySQL backup strategy for clarity during backup and restore #610

 -- Hao Jiang <jianghao0718@github.com>  Tue, 09 Jun 2020 17:59:06 +0000

github-backup-utils (2.19.5) UNRELEASED; urgency=medium

  * In legacy mode we should use ghe-import-mysql #581

 -- Caine Jette <cainejette@github.com>  Fri, 21 Feb 2020 19:13:17 +0000

github-backup-utils (2.20.2) UNRELEASED; urgency=medium

  * In legacy mode we should use ghe-import-mysql #581

 -- Hao Jiang <jianghao0718@github.com>  Thu, 20 Feb 2020 22:47:09 +0000

github-backup-utils (2.20.1) UNRELEASED; urgency=medium

  * Fixes gist route calculation for GHES version 2.20

 -- Caine Jette <cainejette@github.com>  Wed, 19 Feb 2020 21:47:18 +0000

github-backup-utils (2.19.4) UNRELEASED; urgency=medium

  * Fix the way we connect to mysql master using ssh forwarding for binary backups #567

 -- Hao Jiang <jianghao0718@github.com>  Tue, 18 Feb 2020 17:54:31 +0000

github-backup-utils (2.20.0) UNRELEASED; urgency=medium

  * Fix `ghe-backup-repositories` performance for large instances #541
  * Fix two issues with binary backup (slow gzip compression and support for restore from instances other than SQL master) #551

 -- Alejandro Figueroa <thejandroman@github.com>  Tue, 11 Feb 2020 20:47:17 +0000

github-backup-utils (2.19.3) UNRELEASED; urgency=medium

  * Fix two issues with binary backup (slow gzip compression and support for restore from instances other than SQL master) #551

 -- Hao Jiang <jianghao0718@github.com>  Tue, 11 Feb 2020 19:31:55 +0000

github-backup-utils (2.19.2) UNRELEASED; urgency=medium

  * Fix `ghe-backup-repositories` performance for large instances #541

 -- Evgenii Khramkov <ewgenius@github.com>  Fri, 31 Jan 2020 19:13:46 +0000

github-backup-utils (2.19.1) UNRELEASED; urgency=medium

  * Cater for more explicit gist paths used in routes file #524
  * Suppress "*.rsync': No such file or directory" errors when no data to backup or restore #525

 -- Colin Seymour <colin@github.com>  Wed, 11 Dec 2019 09:33:01 +0000

github-backup-utils (2.19.0) UNRELEASED; urgency=medium

  * Remove temporary exclude file from the backup host not the target GHES appliance #516
  * Update Debian package depends to include git #520

 -- Colin Seymour <colin@github.com>  Tue, 12 Nov 2019 18:57:12 +0000

github-backup-utils (2.18.0) UNRELEASED; urgency=medium

  * Replace "sed -E" in ghe-host-check with a more portable solution #509

 -- Colin Seymour <colin@github.com>  Tue, 20 Aug 2019 18:49:44 +0000

github-backup-utils (2.17.1) UNRELEASED; urgency=medium

  * Redirect ghe-export-audit-logs stderr output unless using verbose output #497

 -- Colin Seymour <colin@github.com>  Wed, 05 Jun 2019 08:43:25 +0000

github-backup-utils (2.17.0) UNRELEASED; urgency=medium

  * Restore target is ignored when specified on the command line #476
  * Support incremental backups for MySQL-stored audit logs #485

 -- Colin Seymour <colin@github.com>  Thu, 23 May 2019 08:20:15 +0000

github-backup-utils (2.16.1) UNRELEASED; urgency=medium

  * Detect storage user on each cluster host being backed up or restored #472

 -- Colin Seymour <colin@github.com>  Tue, 26 Feb 2019 16:37:04 +0000

github-backup-utils (2.16.0) UNRELEASED; urgency=medium


 -- Colin Seymour <colin@github.com>  Tue, 22 Jan 2019 20:25:34 +0000

github-backup-utils (2.15.1) UNRELEASED; urgency=medium

  * Restoring to an un-configured appliance fails due to a missing license file #449

 -- Colin Seymour <colin@github.com>  Tue, 13 Nov 2018 17:34:21 +0000

github-backup-utils (2.15.0) UNRELEASED; urgency=medium


 -- Colin Seymour <colin@github.com>  Tue, 16 Oct 2018 16:40:03 +0000

github-backup-utils (2.15.0) UNRELEASED; urgency=medium


 -- Colin Seymour <colin@github.com>  Tue, 16 Oct 2018 16:07:36 +0000

github-backup-utils (2.14.3) UNRELEASED; urgency=medium

  * Improve multi-platform detection of simultaneous ghe-backup runs #435

 -- Colin Seymour <colin@github.com>  Tue, 11 Sep 2018 17:03:42 +0000

github-backup-utils (2.14.2) UNRELEASED; urgency=medium

  * Capture and display repository/gist warnings during cluster restore #423
  * Use remote tempdir when finalizing Pages routes #424
  * Use old rsync restore method for pages prior to 2.13 #426

 -- Colin Seymour <colin@github.com>  Tue, 21 Aug 2018 13:57:20 +0000

github-backup-utils (2.14.1) UNRELEASED; urgency=medium

  * Don't fail a backup if the Management Console password isn't set #416
  * Fix permissions issues when repeat restoring to configured cluster instance #417
  * Add missing dependencies to debian packaging #418
  * Prevent restoring snapshots to older releases #420

 -- Colin Seymour <colin@github.com>  Tue, 07 Aug 2018 16:00:36 +0000

github-backup-utils (2.14.0) UNRELEASED; urgency=medium

  * Disable pager and context when running git-diff #411
  * Optimise hookshot and audit log backups and restores and MySQL restores #413

 -- Colin Seymour <colin@github.com>  Thu, 12 Jul 2018 15:11:11 +0000

github-backup-utils (2.13.2) UNRELEASED; urgency=medium

  * Treat missing repository networks, gists, and storage objects as a non-critical error  #386
  * Clean up stale HA nodes on restore #396
  * Cleanup all SSH muxes in a non blocking way #402
  * Raise an error if the current symlink doesn't exist when attempting to restore it #404

 -- Colin Seymour <colin@github.com>  Fri, 22 Jun 2018 10:08:22 +0000

github-backup-utils (2.13.1) UNRELEASED; urgency=medium

  * Retry with the admin ssh port on network unreachable too. #377
  * Output backup utils version on backup and restore #384
  * Check filesystem supports hardlinks #388
  * Switch back to optimised restore route calculation #389
  * Optionally log verbose output to a file instead of stdout #391
  * Switch back to optimised backup route calculation #392
  * Remove check for git from ghe-ssh #393
  * Use remote's mktemp to create temp dir on remote host #395

 -- Colin Seymour <colin@github.com>  Wed, 09 May 2018 10:16:18 +0000

github-backup-utils (2.13.0) UNRELEASED; urgency=medium

  * Unify the backup & restore process #375

 -- Colin Seymour <colin@github.com>  Tue, 27 Mar 2018 16:01:43 +0000

github-backup-utils (2.11.4) UNRELEASED; urgency=medium

  * Move check for git for ssh muxing into ghe-ssh #378
  * Make it clear the settings need to be applied after restoring to an unconfigured instance  #381

 -- Colin Seymour <colin@github.com>  Tue, 27 Mar 2018 13:20:18 +0000

github-backup-utils (2.11.3) UNRELEASED; urgency=medium

  * Update argument parsing and help/usage consistency #320
  * Fix failures variable #353
  * Remove other snapshot contents before removing the "incomplete" file #358
  * Backup and restore the management console password #361
  * Check for git before allowing SSH multiplex #362
  * Cleanup SSH multiplexing on exit #363
  * Filter cluster nodes by role during backup and restore #367
  * Optimise route generation and finalisation during cluster restores of pages #369
  * Allow extra rsync options to override default options #370

 -- Colin Seymour <colin@github.com>  Wed, 28 Feb 2018 16:32:07 +0000

github-backup-utils (2.11.2) UNRELEASED; urgency=medium

  * Allow the restoration of configuration to Cluster #347
  * Switch to TMPDIR before initiating SSH multiplexing workaround to prevent locking the destination filesystem #348

 -- Colin Seymour <colin@github.com>  Thu, 09 Nov 2017 12:16:23 +0000

github-backup-utils (2.11.1) UNRELEASED; urgency=medium

  * Refresh the existing indices when restoring Elasticsearch indices to cluster #328
  * Fix failure to restore 2.9/2.10 backups to 2.11 prevented by incorrect detection of the audit log migration #333
  * Use git to generate short name for SSH multiplex control path  #335
  * Remove use of --literally when computing arbitrary shasum #338
  * Remove -o option from ps use #341

 -- Colin Seymour <colin@github.com>  Thu, 05 Oct 2017 14:47:56 +0000

github-backup-utils (2.11.0) UNRELEASED; urgency=medium

  * Use calculated routes when backing up storage data from a cluster #318
  * Add SSH multiplexing support #321
  * Optimise route generation and finalisation during cluster restores #322
  * Prefer the SSH port specified on the command line #324

 -- Colin Seymour <colin@github.com>  Wed, 13 Sep 2017 16:31:20 +0000

github-backup-utils (2.10.0) UNRELEASED; urgency=medium

  * Include the user data directory in the benchmark name #311
  * Use existing Elasticsearch indices to speed up transfer during a restore #310
  * Improve detection of failures in cluster backup rsync threads #301
  * Improve redis backup robustness #306
  * Use default niceness for restores #308
  * Add additional case to SSH port detection logic #304
  * Suppress additional dd output noise #289
  * Track completeness of Elasticsearch JSON dumps #298

 -- Steven Honson <snh@github.com>  Thu, 08 Jun 2017 09:06:16 +1000

github-backup-utils (2.9.0) UNRELEASED; urgency=medium

  * Block restores to appliances with HA configured #291
  * Add a `--version` flag #284
  * Check backup-utils are not being run on GitHub Enterprise host #286
  * Backup and restore custom CA certificates #281
  * Hookshot backup/restores optimisations #276

 -- Sergio Rubio <rubiojr@github.com>  Wed, 01 Mar 2017 09:39:26 -0800

github-backup-utils (2.8.3) UNRELEASED; urgency=medium

  * Set restore status on all cluster nodes #274
  * Fix pages backups and restores in GitHub Enterprise 11.10 #275

 -- Steven Honson <snh@github.com>  Wed, 21 Dec 2016 21:01:20 +1100

github-backup-utils (2.8.2) UNRELEASED; urgency=medium

  * Backup and restore the appliance UUID #272

 -- Sergio Rubio <rubiojr@github.com>  Thu, 17 Nov 2016 15:58:08 +0100

github-backup-utils (2.8.1) UNRELEASED; urgency=medium

  * Stop cron and timerd during restore #269
  * Fix compatibility issue with older versions of OpenSSH #263

 -- Sergio Rubio <rubiojr@github.com>  Mon, 14 Nov 2016 22:04:48 +0100

github-backup-utils (2.8.0) UNRELEASED; urgency=low

  * Adds support for GitHub Enterprise 2.8.0
  * Speedup storage restores #247
  * More portable backup-utils #260

 -- rubiojr <rubiojr@github.com>  Wed, 09 Nov 2016 06:35:21 -0800

github-backup-utils (2.7.1) UNRELEASED; urgency=medium

  * Cluster: fix offline cluster node detection #250
  * Detect leaked ssh keys in backup snapshots #253

 -- Sergio Rubio <rubiojr@github.com>  Tue, 20 Sep 2016 20:15:12 +0200

github-backup-utils (2.7.0) UNRELEASED; urgency=medium

  * GitHub Enterprise 2.7.0 support

 -- Sergio Rubio <rubiojr@github.com>  Wed, 03 Aug 2016 20:25:31 +0200

github-backup-utils (2.6.4) UNRELEASED; urgency=medium

  * Instrument/benchmark backups #238
  * Cluster: remove restoring cluster.conf on restore #242
  * Cluster: Prevent restoring to a standalone GHE appliance #244

 -- Sergio Rubio <rubiojr@github.com>  Wed, 27 Jul 2016 19:15:53 +0200

github-backup-utils (2.6.3) UNRELEASED; urgency=medium

  * Cluster: git-hooks backup fixes #235

 -- Sergio Rubio <rubiojr@github.com>  Wed, 29 Jun 2016 21:05:21 +0200

github-backup-utils (2.6.2) UNRELEASED; urgency=medium

    * git-hooks fixes #231
    * Cluster: speedup repositories restore #232 (requires GitHub Enterprise
      2.6.4)
    * Cluster: restore Git over SSH keys #230
    * Benchmark restores #219

 -- Sergio Rubio <rubiojr@github.com>  Wed, 22 Jun 2016 19:36:06 +0200

github-backup-utils (2.6.1) UNRELEASED; urgency=medium

  * Cluster: faster gist restores #220
  * Cluster: faster storage restores #212
  * Cluster: fix git-hooks restores #204

 -- Sergio Rubio <rubiojr@github.com>  Tue, 31 May 2016 20:54:11 +0200

github-backup-utils (2.6.0) UNRELEASED; urgency=medium

  * Adds support for GitHub Enterprise 2.6
  * Adds an extra supported location for the backup configuration #197
  * New config option to check for corrupted repositories after the backup #195
  * General improvements and bug fixes

 -- Sergio Rubio <rubiojr@github.com>  Tue, 26 Apr 2016 18:03:01 +0200

github-backup-utils (2.5.2) UNRELEASED; urgency=medium

  * New configuration variable: GHE_CREATE_DATA_DIR #186
  * Require that snapshots originated from an instance running GitHub
    Enterprise 2.5.0 or above when restoring to a cluster #182
  * Prevent Git GC operations and some other maintenance jobs from running
    while repositories are being restored #179
  * Fix Solaris and SmartOS support, using Bash everywhere #177

 -- Sergio Rubio <rubiojr@github.com>  Wed, 30 Mar 2016 14:32:15 +0200

github-backup-utils (2.5.1) UNRELEASED; urgency=medium

  * Fixes for cluster restores #173
  * Fix Elasticsearch backups for GitHub Enterprise <= 2.2 #175
  * Removed experimental S3 support #167
  * Remote logging output fixes #170
  * Update ghe-host-check to detect extra port 22 error #162

 -- Sergio Rubio <rubiojr@github.com>  Wed, 09 Mar 2016 14:44:05 +0100

github-backup-utils (2.5.0) UNRELEASED; urgency=medium

  * Adds GitHub Enterprise 2.5 support
  * Adds GitHub Enterprise Clustering support
  * Backups and restores SAML keypairs

 -- Sergio Rubio <rubiojr@github.com>  Tue, 9 Feb 2016 00:02:37 +0000

github-backup-utils (2.4.0) UNRELEASED; urgency=medium

  * Moves the in-progress detection to a separate file with PID which is
    removed if the process is no longer running after the backup. #145, #99
  * Updates the README to explain why backup-utils is useful even if you have
    the high availability replica running. #140
  * Changes the use of the --link-dest option to only occur when backing up
    populated directories. #138
  * Adds logging to /var/log/syslog on the remote GitHub Enterprise appliance
    to both ghe-backup and ghe-restore.  #131
  * Restarts memcached after restoring to an already configured appliance to
    ensure it doesn't contain out-of-sync information. #130
  * Removes the temporary /data/user/repositories-nw-backup directory that
    remains after successfully migrating the repository storage layout to the
    new format used on GitHub Enterprise 2.2.0 and later after restoring a
    backup from an older release of GitHub Enterprise. #129
  * Add devscripts to Debian's build-depends for checkbashisms. #101
  * Documents the -c option which forces the restoration of the configuration
    information to an already configured appliance. #96

 -- Colin Seymour <colin@github.com>  Tue, 20 Oct 2015 00:02:37 +0000

github-backup-utils (2.2.0) UNRELEASED; urgency=medium

  * Adds support for the new repositories filesystem layout include in
    GitHub Enterprise v2.2. #122, #124
  * ghe-restore now performs a config run on the instance after an incremental
    restore to 11.10.x and 2.x instances. #100
  * ghe-restore now fails fast when run against a GHE instance with replication
    enabled. Replication should be disabled during a restore and then setup
    after the restore completes. #121
  * Fixes an issue with special port 122 detection failing when port is
    overridden in an ssh config file. #102
  * Removes a warning message when running ghe-backup against an instance with
    GitHub Pages disabled. #117
  * backup-utils release version numbers now track GitHub Enterprise releases
    to ease the process of determining which version of backup-utils is
    required for a given GitHub Enterprise version.

 -- Ryan Tomayko <ryan@github.com>  Wed, 29 Apr 2015 07:29:04 +0000

github-backup-utils (2.0.2) UNRELEASED; urgency=medium

  * ghe-restore now requires that an already-configured appliance be put into
    maintenance mode manually. This is a safeguard against accidentally
    overwriting data on the wrong instance. #62, #84
  * ghe-backup and ghe-restore now run a ghe-negotiate-version program on the
    appliance to determine whether the backup-utils and GHE versions are
    compatible. #91
  * Various portability fixes for problems surfaced when running on Solaris
    and FreeBSD. #86, #87
  * Fixes an issue in ghe-backup where mysqldump failures weren't being
    reported properly. #90
  * Automated builds are now run on Travis CI. #77

 -- Ryan Tomayko <ryan@github.com>  Tue, 20 Jan 2015 16:00:00 +0000

github-backup-utils (2.0.1) UNRELEASED; urgency=medium

  * Adds /etc/github-backup-utils/backup.config as a default config file search
    location for deb / system installs.
  * Enables SSH BatchMode for all remote command invocation except initial host
    check / version identification.
  * Fixes a bug in ghe-backup where Git GC process detection would misclassify
    long-running server processes matching /git.*gc/, causing the backup operation
    to timeout.
  * Adds a note and link to the Migrating from GitHub Enterprise v11.10.34x to
    v2.0 documentation in the README.
  * Adds example / documentation for the GHE_EXTRA_SSH_OPTS config value to the
    backup.config-example file.

 -- Ryan Tomayko <ryan@github.com>  Mon, 17 Nov 2014 12:47:22 +0000

github-backup-utils (2.0.0) UNRELEASED; urgency=medium

  * Support for GitHub Enterprise 2.0.
  * Support for migrating from GitHub Enterprise 11.10.34x to 2.0 (including from
    VMware to AWS).
  * ghe-backup retains hardlinks present on VM in backup snapshots, saving space.
  * ghe-restore retains hardlinks present in backup snapshot when restoring to VM.
  * backup-utils now includes debian packaging support.
  * Fixes an issue with ghe-restore -s not using the snapshot specified.
  * Fixes an issue with ghe-backup not waiting for nw-repack processes to finish
    in some instances.

 -- Ryan Tomayko <ryan@github.com>  Mon, 10 Nov 2014 10:48:36 +0000

github-backup-utils (1.1.0) UNRELEASED; urgency=medium

  * Updated documentation on minimum GitHub Enterprise version requirements for
    online and incremental backups from v11.10.341 to at least v11.10.342.
  * The ghe-restore command now prompts for confirmation of the host to restore to
    before performing any destructive operation. This is to reduce the chances of
    restoring to the wrong host. The prompt may be bypassed in automated scenarios
    by providing the --force option.
  * Added a -c option to ghe-restore for restoring base appliance settings in
    addition to primary datastores. See ghe-restore --help for more information.
  * Added a note about disabling maintenance mode on the appliance after a
    successful ghe-restore operation.
  * Added support for filesystem layout changes and upgraded server components in
  * future versions of GitHub Enterprise.

 -- Twan Wolthof <xeago@spotify.com>  Sat, 18 Oct 2014 19:14:47 +0000

github-backup-utils (1.0.1) UNRELEASED; urgency=medium

  * Initial release.

 -- Twan Wolthof <xeago@spotify.com>  Tue, 23 Sep 2014 08:34:55 +0000
