2016-10-22 12:16:17 +00:00
Backup wallabag
2016-10-22 07:14:07 +00:00
===============
2016-11-06 14:15:48 +00:00
2016-10-22 12:16:17 +00: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 07:14:07 +00:00
This articles describes what you need to backup.
2016-10-22 12:16:17 +00:00
Basic settings
2016-10-22 07:14:07 +00:00
--------------
2016-10-22 12:16:17 +00:00
wallabag stores some basic parameters (like SMTP server or database backend) in the file `app/config/parameters.yml` .
2016-10-22 07:14:07 +00:00
Database
--------
2016-10-22 12:16:17 +00: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 07:14:07 +00:00
Here's some examples:
2016-10-22 12:16:17 +00: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 07:14:07 +00:00
2016-10-22 12:16:17 +00:00
SQLite
2016-10-22 07:14:07 +00:00
~~~~~~
2016-10-22 12:16:17 +00:00
To backup the SQLite database, you just need to copy the directory `data/db` from the wallabag application directory.
2016-10-22 07:14:07 +00:00
Images
------
2016-11-06 14:15:48 +00:00
The images retrieved by wallabag are stored under `web/assets/images` (the images storage will be implemented in wallabag 2.2).