Skip to content

Suppress dd output noise#289

Merged
rubiojr merged 5 commits into
masterfrom
supress-dd-noise
Apr 11, 2017
Merged

Suppress dd output noise#289
rubiojr merged 5 commits into
masterfrom
supress-dd-noise

Conversation

@rubiojr

@rubiojr rubiojr commented Feb 27, 2017

Copy link
Copy Markdown
Member
Starting restore of rubiojr5.foobar.com:122 from snapshot 20170227T112756
rubiojr5-app-1: 0+1 records in
rubiojr5-app-1: 0+1 records out
rubiojr5-app-1: 10 bytes (10 B) copied, 7.1914e-05 s, 139 kB/s
Error: rubiojr5.foobar.com:122 must be put in maintenance mode before restoring. Aborting.
rubiojr5-app-1: 0+1 records in
rubiojr5-app-1: 0+1 records out
rubiojr5-app-1: 7 bytes (7 B) copied, 8.4164e-05 s, 83.2 kB/s

dd doesn't support status=none in GHE <= 2.5 (Precise) I think, so we may need a wrapper here, or just wait for 2.5 to be EOLd.

/cc @github/backup-utils

@rubiojr rubiojr changed the title Supress dd output noise Suppress dd output noise Feb 27, 2017
```
Starting restore of rubiojr5.foobar.com:122 from snapshot 20170227T112756
rubiojr5-app-1: 0+1 records in
rubiojr5-app-1: 0+1 records out
rubiojr5-app-1: 10 bytes (10 B) copied, 7.1914e-05 s, 139 kB/s
Error: rubiojr5.foobar.com:122 must be put in maintenance mode before restoring. Aborting.
rubiojr5-app-1: 0+1 records in
rubiojr5-app-1: 0+1 records out
rubiojr5-app-1: 7 bytes (7 B) copied, 8.4164e-05 s, 83.2 kB/s
```
snh added 3 commits February 28, 2017 20:57
status=none is not available on precise, so use sponge instead to
maintain backwards compatibility.
@snh

snh commented Feb 28, 2017

Copy link
Copy Markdown
Member

I have confirmed that the updated sponge based method functions as expected when restoring to a single instance. Have not verified to a cluster as yet.

Comment thread .travis.yml
packages:
- devscripts
- debhelper
- moreutils

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Do we need moreutils/sponge installed on a Travis host?

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.

Yes, it turns out this isn't on any of the targets we test on. See https://travis-ci.org/github/backup-utils/builds/206119031 for build failures before I added this to the travis hosts.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Of course, forgot about mocking/stubs... 🙇

@rubiojr rubiojr left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Have not verified to a cluster as yet.

Clustering shouldn't make a difference here, right?

@rubiojr rubiojr merged commit cfedfc3 into master Apr 11, 2017
@rubiojr rubiojr deleted the supress-dd-noise branch April 11, 2017 12:11
@rubiojr rubiojr added the bug label Apr 11, 2017
@snh snh mentioned this pull request Jun 7, 2017
jeluhu pushed a commit that referenced this pull request Jun 12, 2023
Add multi stage build Dockerfile that compiles rsync from the source rsync repository
@jeluhu jeluhu mentioned 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants