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

Can db be migrated from another instance? #12

Closed
uhlhosting opened this issue Apr 18, 2020 · 1 comment
Closed

Can db be migrated from another instance? #12

uhlhosting opened this issue Apr 18, 2020 · 1 comment

Comments

@uhlhosting
Copy link

Lets say i would like to redeploy Taiga, and i use this ansible playbook, what are my options to migrate old db into newly deployed machine?

@fghaas
Copy link
Owner

fghaas commented Apr 20, 2020

First up please be advised that I haven't had much bandwidth to maintain this in the last few months, so what follows is tentative and your mileage may vary.

For migrating from an existing Taiga instance to another, you have two approaches:

  • Either you take a look at backup.yml and manually build a tarball that matches what that play generates, for your source instance. That's relatively straightforward; all you'll need is a PostgreSQL database dump and the content of your media directory, both rolled into a bzipped tarball.

  • Or you populate the variables so that the playbook can talk to your source instance, and run the playbook with --tags backup.

Either way you create your tarball, follow the instructions for a restore to import your data into your target instance.

@fghaas fghaas closed this as completed Jan 16, 2021
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

No branches or pull requests

2 participants