Skip to content
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

Replace the legacy backups implementation with a new one. #606

Merged
merged 37 commits into from Sep 8, 2014

Conversation

ericsnowcurrently
Copy link
Contributor

The new implementation is refactored to fit to the new backups approach of storing the backups in env storage (along with metadata in mongo). This is the final large patch in the backup series (the remaining ones are much smaller).

The next 2 patches in the series:
ericsnowcurrently#3
ericsnowcurrently#4

dbSecret = "shared-secret"
)

// GetFilesTOBackUp returns the paths that should be included in the
Copy link
Contributor

Choose a reason for hiding this comment

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

TypO?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yep

@axw
Copy link
Contributor

axw commented Aug 28, 2014

The size of the PR is a bit overwhelming, but I think it looks fine in general.

@ericsnowcurrently
Copy link
Contributor Author

Yeah, sorry about the size of this one. Thanks for taking the time.

dbDumpDir = "dump"
)

// Archive is used to represents the contents of a backup archive.
Copy link
Contributor

Choose a reason for hiding this comment

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

s/represents/represent/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ack

@natefinch
Copy link
Contributor

So, I have some nitpicks but it generally is fine, so I'll call it LGTM.

@ericsnowcurrently
Copy link
Contributor Author

$$merge$$

@jujubot
Copy link
Collaborator

jujubot commented Sep 8, 2014

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

jujubot added a commit that referenced this pull request Sep 8, 2014
Replace the legacy backups implementation with a new one.

The new implementation is refactored to fit to the new backups approach of storing the backups in env storage (along with metadata in mongo). This is the final large patch in the backup series (the remaining ones are much smaller).

The next 2 patches in the series:
ericsnowcurrently#3
ericsnowcurrently#4
@jujubot jujubot merged commit 23492c0 into juju:master Sep 8, 2014
@ericsnowcurrently ericsnowcurrently deleted the backups-kill-legacy branch September 9, 2014 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants