]>
Commit | Line | Data |
---|---|---|
67aa755f | 1 | Backup wallabag |
fc75009d | 2 | =============== |
67aa755f | 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. |
fc75009d BMM |
4 | This articles describes what you need to backup. |
5 | ||
67aa755f | 6 | Basic settings |
fc75009d | 7 | -------------- |
67aa755f | 8 | wallabag stores some basic parameters (like SMTP server or database backend) in the file `app/config/parameters.yml`. |
fc75009d BMM |
9 | |
10 | Database | |
11 | -------- | |
67aa755f | 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. |
fc75009d BMM |
13 | |
14 | Here's some examples: | |
15 | ||
67aa755f NL |
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 | |
fc75009d | 18 | |
67aa755f | 19 | SQLite |
fc75009d | 20 | ~~~~~~ |
67aa755f | 21 | To backup the SQLite database, you just need to copy the directory `data/db` from the wallabag application directory. |
fc75009d BMM |
22 | |
23 | Images | |
24 | ------ | |
67aa755f | 25 | The images retrieved by wallabag are stored under `data/assets/images` (the images storage will be implemented in wallabag 2.2). |