]>
Commit | Line | Data |
---|---|---|
67aa755f NL |
1 | Backup wallabag |
2 | =============== | |
3 | Because sometimes you may do a mistake with your wallabag and lose data or in case you need to move your wallabag to another server you want to backup your data. | |
4 | This articles describes what you need to backup. | |
5 | ||
6 | Basic settings | |
7 | -------------- | |
8 | wallabag stores some basic parameters (like SMTP server or database backend) in the file `app/config/parameters.yml`. | |
9 | ||
10 | Database | |
11 | -------- | |
12 | As wallabag supports different kinds of database, the way to perform the backup depends on the database you use, so you need to refer to the vendor documentation. | |
13 | ||
14 | Here's some examples: | |
15 | ||
16 | - MySQL: http://dev.mysql.com/doc/refman/5.7/en/backup-methods.html | |
17 | - PostgreSQL: https://www.postgresql.org/docs/current/static/backup.html | |
18 | ||
19 | SQLite | |
20 | ~~~~~~ | |
21 | To backup the SQLite database, you just need to copy the directory `data/db` from the wallabag application directory. | |
22 | ||
23 | Images | |
24 | ------ | |
25 | The images retrieved by wallabag are stored under `data/assets/images` (the images storage will be implemented in wallabag 2.2). |