How to fully backup answer.dev and restore it?

Viewed 670

Step to do when to fully backup and restore the answer.dev?
Including images, configuration files, etc.

1 Answers

If you use docker for deployment, then all the data is stored in the volume.

For example, your startup command is: docker run -d -p 9080:80 -v answer-data:/data --name answer answerdev/answer:latest then answer-data is that needs to be backed up.


If you are using a binary deployment, then you need to back up the data directory that you specified when you started.

For example, your startup command is: ./answer run -C ./answer-data/

The directory you need to back up is ./answer-data/


Additionally you need to back up the database you are using.