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

docs: moving the data directory #317

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

ltalirz
Copy link

@ltalirz ltalirz commented Nov 29, 2024

Description

Add documentation on how to move the data directory of an existing deployment.
This is motivated by a data loss incident due to a lack of understanding of the procedure of how to move the data directory

Related issues / Pull Requests

Contributor Agreement

When moving the data directory of an existing deployment, one needs to be careful to remove the existing containers (`bin/stop` is not enough).

A use case for moving the data directory of an existing deployment is, for example, to move it to a more frequently backed-up location when the user base of the service grows.
@ltalirz
Copy link
Author

ltalirz commented Nov 29, 2024

P.S. Somehow, when originally creating this pull request via the "edit" functionality directly on Github, it bypassed the pull request template

@ltalirz
Copy link
Author

ltalirz commented Nov 29, 2024

P.P.S. Since forgetting about step 2 can have such nasty consequences, it may even be worth adding a check in the overleaf startup that warns, if the data directories configured in the config file do not correspond to the ones mounted by the containers.

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.

1 participant