|
@@ -19,7 +19,7 @@ The following commands assume your FreshRSS directory is `/usr/share/FreshRSS`;
|
|
|
|
|
|
|
|
### Creating a database backup
|
|
### 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
|
|
```sh
|
|
|
cd /usr/share/FreshRSS/
|
|
cd /usr/share/FreshRSS/
|
|
@@ -50,7 +50,7 @@ tar -xzf ~/FreshRSS-backup.tgz -C /usr/share/FreshRSS/
|
|
|
|
|
|
|
|
### Restoring a database backup
|
|
### 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
|
|
```sh
|
|
|
cd /usr/share/FreshRSS/
|
|
cd /usr/share/FreshRSS/
|
|
@@ -101,6 +101,17 @@ See also our [Docker documentation for migrating the database](https://github.co
|
|
|
|
|
|
|
|
## Backing up selected content
|
|
## 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
|
|
### 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).
|
|
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).
|