1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/restic_ynh.git synced 2024-09-03 20:16:22 +02:00

doc: add some useful commands

This commit is contained in:
Lionel Coupouchetty-Ramouchetty 2021-03-16 17:48:18 +01:00
parent 023cf09ced
commit 13fc29f43b

View file

@ -125,12 +125,39 @@ If you want to make a complete check of the backups - keep in mind that this rea
systemctl start restic_check_read_data.service systemctl start restic_check_read_data.service
``` ```
## Display the apps list to backup
```
yunohost app setting restic apps
```
## Edit the apps list to backup ## Edit the apps list to backup
``` ```
yunohost app setting restic apps -v "nextcloud,wordpress" yunohost app setting restic apps -v "nextcloud,wordpress"
``` ```
## Launch a backup
```
systemctl start restic
```
## Launch a backups check
```
systemctl start restic_check.service
```
## Launch a complete backups check
WARNING: this will read data from your backups destination server.
It may take a quite long time depending on the target server's internet upload speed and hardware performance.
```
systemctl start restic_check_read_data.service
```
## Backup on different server, and apply distinct schedule for apps ## Backup on different server, and apply distinct schedule for apps
You can setup the Restic app several times on the same server so you can backup on several server or manage your frequency backup differently for specific part of your server. You can setup the Restic app several times on the same server so you can backup on several server or manage your frequency backup differently for specific part of your server.