aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/en/user/backup.rst
blob: f8b480a3ff43e5e61c22e08d676e8644de26c5c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Backup wallabag
===============

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.
This articles describes what you need to backup.

Basic settings
--------------
wallabag stores some basic parameters (like SMTP server or database backend) in the file `app/config/parameters.yml`.

Database
--------
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.

Here's some examples:

- MySQL: http://dev.mysql.com/doc/refman/5.7/en/backup-methods.html
- PostgreSQL: https://www.postgresql.org/docs/current/static/backup.html

SQLite
~~~~~~
To backup the SQLite database, you just need to copy the directory `data/db` from the wallabag application directory.

Images
------
The images retrieved by wallabag are stored under `web/assets/images` (the images storage will be implemented in wallabag 2.2).