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

24 lines
1 KiB
Markdown
Raw Normal View History

2024-07-10 20:40:37 +02:00
### Test
2024-07-10 20:47:13 +02:00
You can manually trigger backups using: `systemctl start restic.service`
2024-07-10 20:40:37 +02:00
2024-07-10 20:47:13 +02:00
And then make sure to verify the backup contents using: `restic -r sftp:DESTINATION_SERVER:ORIGIN_SERVER/auto_conf snapshots`
2024-07-10 20:40:37 +02:00
2024-07-10 20:47:13 +02:00
(Replace `auto_conf` with `auto_<app>` if you did not choose to backup configuration but only applications)
2024-07-10 20:40:37 +02:00
### Misc helpful commands
- Display the apps list to backup: `yunohost app setting restic apps`
- Edit the apps list to backup: `yunohost app setting restic apps -v "nextcloud,wordpress"`
2024-07-10 20:47:13 +02:00
- Launch a backup manually: `systemctl start restic`
- Launch a backup consistency check: `systemctl start restic_check.service`
2024-07-10 20:40:37 +02:00
##### Launch a complete backup check
2024-07-10 20:47:13 +02:00
If you want to make a complete check of the backups - keep in mind that this reads all the backed up data, it can take some time depending on your target server upload speed (more on this topic in [the Restic documentation](https://restic.readthedocs.io/en/latest/045_working_with_repos.html#checking-integrity-and-consistency)):
2024-07-10 20:40:37 +02:00
```
systemctl start restic_check_read_data.service
```