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

migrate-3-to-4: use mongo data volume for backup #45

Merged
merged 2 commits into from
Jul 7, 2023

Conversation

patfreeman
Copy link
Contributor

⚙️ Issue

With our installation, our mongo db was 17GB on disk, and 52GB in the export format. Our data volume was expanded to 100GB previously, but there was no way the export would have fit into /tmp (only 50GB with 17GB in use).

Fix

This fix just uses the data volume which (in our case) already had the space available, but there is probably a better way to create a large temporary volume for the backup process.

Tests

This code got us to 4.x. 😃

  • Tested Updating Existing Instance
  • Installed on new instance

migrate-3-to-4/mongo.sh Outdated Show resolved Hide resolved
@ryanwohara ryanwohara dismissed atulsingh0’s stale review July 7, 2023 20:17

Atul is OOO and we would like this to get in before 4.2

@ryanwohara ryanwohara merged commit c382319 into CircleCI-Public:main Jul 7, 2023
@ryanwohara
Copy link
Contributor

Thanks Pat 🙂

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