Skip to content

Use default niceness for restores #308

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2017
Merged

Use default niceness for restores #308

merged 1 commit into from
May 29, 2017

Conversation

snh
Copy link
Member

@snh snh commented May 29, 2017

Fixes #307

As restores occur against an appliance in maintenance mode, there is no need to reduce the nice and ionice priority on processes run on the appliance.

Should these still be needed for a restore, such as to reduce the impact on the backup host during a restore, GHE_IONICE and GHE_NICE can be defined at the command-line for restores:

GHE_NICE="nice -n 19" GHE_IONICE="ionice -c 3" bin/ghe-restore

or in backup.config for both backups and restores:

GHE_NICE="nice -n 19"
GHE_IONICE="ionice -c 3"

/cc @github/backup-utils @OptimusAl

Copy link
Member

@rubiojr rubiojr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚡️

@snh snh merged commit 9b65315 into master May 29, 2017
@snh snh deleted the snh/niceless-restore branch May 29, 2017 10:11
@snh snh mentioned this pull request Jun 7, 2017
jeluhu pushed a commit that referenced this pull request Jun 12, 2023
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.

2 participants