Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rubiojr
Copy link
Member

@rubiojr rubiojr commented Jun 21, 2016

We now use a tarball based backup/restore approach, fixing
problems with permissions when backing up and restoring user provided environments.

From @snh:

If files or directories within a hook environment are lacking the user read and/or write bits, then a number of issues arise:

  • The hook environment cannot be backed up by the backup utilities, and causes a backup failure, as the backup utilities needs the user read bit to access all files and directories as the git user.
  • Older backup snapshots cannot be pruned, as the backup utilities needs the user write bit to remove all files and directories as the account that is running the backup utilities.

@dbussink, @WillAbides and @snh: thanks for the new implementation
and feedback.

/cc @github/backup-utils

dbussink and others added 3 commits June 21, 2016 15:44
We now use a tarball based backup/restore approach, fixing
problems with permissions when backing up and restoring user provided environments.

From @snh:

If files or directories within a hook environment are lacking the user read and/or write bits, then a number of issues arise:

* The hook environment cannot be backed up by the backup utilities, and causes a backup failure, as the backup utilities needs the user read bit to access all files and directories as the git user.

* Older backup snapshots cannot be pruned, as the backup utilities needs the user write bit to remove all files and directories as the account that is running the backup utilities.

@dbussink, @WillAbides and @snh: thanks for the new implementation
and feedback.
Verbose rsync when using `ghe-restore` or `ghe-backup` with `-v`.

Print `ghe-hook-env-update` output when using verbose mode only.

/cc @dbussink
@rubiojr rubiojr merged commit 9ec7fea into master Jun 21, 2016
@rubiojr rubiojr deleted the git-hooks-fixes branch June 21, 2016 20:59
@rubiojr rubiojr mentioned this pull request Jun 22, 2016
rubiojr added a commit that referenced this pull request Jun 22, 2016
A patch release that includes performance improvements for cluster
restores, bug fixes and other improvements:

* git-hooks fixes #231
* Cluster: speedup repositories restore #232
* Cluster: restore Git over SSH keys #230
* Benchmark restores #219
rubiojr added a commit that referenced this pull request Jun 22, 2016
A patch release that includes performance improvements for cluster
restores, bug fixes and other improvements:

* git-hooks fixes #231
* Cluster: speedup repositories restore #232
* Cluster: restore Git over SSH keys #230
* Benchmark restores #219
rubiojr added a commit that referenced this pull request Jun 22, 2016
A patch release that includes performance improvements for cluster
restores, bug fixes and other improvements:

* git-hooks fixes #231
* Cluster: speedup repositories restore #232
* Cluster: restore Git over SSH keys #230
* Benchmark restores #219
dooleydevin pushed a commit that referenced this pull request Nov 10, 2022
Create stale.yml in backup-utils-private repo
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.

3 participants