mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 03:14:50 +03:00
Move to a new server #56
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @clemone210 on GitHub (Jan 5, 2021).
Hello,
I successfully used planka in the last month on a my local pc.
I would like to move it now to my server.
This is my docker-compose file. How can I move it to a new server?
Where is the database located?
I run it on a Ubuntu machine.
@meltyshev commented on GitHub (Jan 6, 2021):
Hi!
docker run --rm --volumes-from planka_planka_1 -v $(pwd):/backup meltyshev/planka:latest tar cvf /backup/backup.tar /app/public/user-avatars /app/public/project-background-images /app/public/attachments.docker exec planka_postgres_1 pg_dump -U postgres -c planka > backup.sql.docker run --rm --volumes-from planka_planka_1 -v $(pwd):/backup planka bash -c "cd / && tar xvf /backup/backup.tar --strip 1".docker exec -i planka_postgres_1 psql -U postgres -d planka < backup.sql.Note that you need to change the container name in commands (
planka_planka_1,planka_postgres_1) if you have other names.@mongrelion commented on GitHub (Jan 21, 2021):
I'm not sure if this is truly an "issue" for Planka but rather a limitation in the user's knowledge of the underlying technology so I'd suggest we close this.
@clemone210 commented on GitHub (Jan 21, 2021):
thats true. I will close it.