Skip to content

Teslamate running not in docker - how to backup? #3248

Closed Answered by miaszh
snu-snu-snu asked this question in Q&A
Discussion options

You must be logged in to vote

what is your database called? is it “template1”?

Here is my command:

pg_dump -h localhost -U teslamate -p 5432 -d teslamate > backup.sql

Looks like it created a file finally!!
How should I import it back after a docker installation?

Replies: 3 comments 12 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@init6-git
Comment options

Comment options

You must be logged in to vote
11 replies
@miaszh
Comment options

@jlestel
Comment options

@DrMichael
Comment options

@miaszh
Comment options

Answer selected by DrMichael
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants