Back up your data
Save the database and the attached files.
On this page
Todomator keeps its data in two places. Back up both.
| Data | Where it is |
|---|---|
| Tickets, users and settings | The PostgreSQL database |
| Attached files | The databases folder in the application folder |
Save the database
pg_dump "postgresql://user:password@localhost:5432/todomator" > todomator.sqlSave the attached files
Run this command in the application folder:
tar -czf todomator-files.tar.gz databasesKeep both files in a safe place, away from the server.