]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Document what to backup in Wallabag 2484/head
authorBaptiste Mille-Mathias <baptiste.millemathias@gmail.com>
Sat, 22 Oct 2016 07:14:07 +0000 (09:14 +0200)
committerBaptiste Mille-Mathias <baptiste.millemathias@gmail.com>
Sat, 22 Oct 2016 07:14:07 +0000 (09:14 +0200)
Fixes issue #2479

docs/en/index.rst
docs/en/user/backup.rst [new file with mode: 0644]

index 6d85db2ba903b3ac8565d43420a8863871ab62f0..0ead261b1f9120997a276bc50b9c6c71f05a0c9c 100644 (file)
@@ -46,6 +46,7 @@ The documentation is available in other languages:
    user/tags
    user/android
    user/parameters
+   user/backup
 
 .. _dev-docs:
 
diff --git a/docs/en/user/backup.rst b/docs/en/user/backup.rst
new file mode 100644 (file)
index 0000000..784da7e
--- /dev/null
@@ -0,0 +1,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
+- Posgresql: 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 `data/assets/images`.