Просмотр исходного кода

Document how to back up FreshRSS settings only (#9662)

The backup guide covers full installations, subscriptions and saved articles. Add a short section for people who only need the installation and per-user settings, with links to the existing instructions for exporting subscriptions or backing up the whole installation.

Refs #4278.

* Document how to back up FreshRSS settings only

* Favour typographic quotes

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Jeferson Araujo 15 часов назад
Родитель
Сommit
f6954526d4
1 измененных файлов с 13 добавлено и 2 удалено
  1. 13 2
      docs/en/admins/05_Backup.md

+ 13 - 2
docs/en/admins/05_Backup.md

@@ -19,7 +19,7 @@ The following commands assume your FreshRSS directory is `/usr/share/FreshRSS`;
 
 ### Creating a database backup
 
-Back up each user's database to `./data/users/*/backup.sqlite`:
+Back up each user’s database to `./data/users/*/backup.sqlite`:
 
 ```sh
 cd /usr/share/FreshRSS/
@@ -50,7 +50,7 @@ tar -xzf ~/FreshRSS-backup.tgz -C /usr/share/FreshRSS/
 
 ### Restoring a database backup
 
-Restore each user's database from `./data/users/*/backup.sqlite`:
+Restore each user’s database from `./data/users/*/backup.sqlite`:
 
 ```sh
 cd /usr/share/FreshRSS/
@@ -101,6 +101,17 @@ See also our [Docker documentation for migrating the database](https://github.co
 
 ## Backing up selected content
 
+### Settings only
+
+For a settings-only backup, save the following files and keep their original paths.
+
+- `./data/config.php` for the installation’s settings.
+- `./data/users/<username>/config.php` for each user’s settings.
+
+Keep these copies private, as configuration files can contain credentials.
+To keep subscriptions as well, [export the feed list](#feed-list-export) for each user.
+Use the [full backup](#full-installation-backup) to preserve the complete installation, including its databases.
+
 ### Feed list export
 
 You can export your feed list in OPML format either from the web interface, or from the [command-line interface](https://github.com/FreshRSS/FreshRSS/blob/edge/cli/README.md).