Skip to content

Use default niceness for restores#308

Merged
snh merged 1 commit into
masterfrom
snh/niceless-restore
May 29, 2017
Merged

Use default niceness for restores#308
snh merged 1 commit into
masterfrom
snh/niceless-restore

Conversation

@snh

@snh snh commented May 29, 2017

Copy link
Copy Markdown
Member

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

@rubiojr rubiojr left a comment

Copy link
Copy Markdown
Member

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