2016-10-22 14:16:17 +02:00
Backup wallabag
2016-10-22 09:14:07 +02:00
===============
2016-11-06 15:15:48 +01:00
2016-10-22 14:16:17 +02:00
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.
2016-10-22 09:14:07 +02:00
This articles describes what you need to backup.
2016-10-22 14:16:17 +02:00
Basic settings
2016-10-22 09:14:07 +02:00
--------------
2016-10-22 14:16:17 +02:00
wallabag stores some basic parameters (like SMTP server or database backend) in the file `app/config/parameters.yml` .
2016-10-22 09:14:07 +02:00
Database
--------
2016-10-22 14:16:17 +02:00
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.
2016-10-22 09:14:07 +02:00
Here's some examples:
2016-10-22 14:16:17 +02:00
- MySQL: http://dev.mysql.com/doc/refman/5.7/en/backup-methods.html
- PostgreSQL: https://www.postgresql.org/docs/current/static/backup.html
2016-10-22 09:14:07 +02:00
2016-10-22 14:16:17 +02:00
SQLite
2016-10-22 09:14:07 +02:00
~~~~~~
2016-10-22 14:16:17 +02:00
To backup the SQLite database, you just need to copy the directory `data/db` from the wallabag application directory.
2016-10-22 09:14:07 +02:00
Images
------
2016-11-06 15:15:48 +01:00
The images retrieved by wallabag are stored under `web/assets/images` (the images storage will be implemented in wallabag 2.2).