This commit is contained in:
DoTheEvo 2022-04-03 10:50:12 +02:00
parent 6d9dff7fe9
commit f1f00c8127
4 changed files with 12 additions and 19 deletions

View File

@ -137,6 +137,10 @@ Default login: `admin@admin.com` // `password`
![interface-pic](https://i.imgur.com/cN1GUZw.png)
# Trouble shooting
If after update you cant see edit tools. Clear cookies.
# Update
[Watchtower](https://github.com/DoTheEvo/selfhosted-apps-docker/tree/master/watchtower)

View File

@ -64,7 +64,8 @@ Borg is likely in your linux repositories.
`mkdir ~/borg`</br>
`borg init --encryption=none ~/borg/docker_backup`
Note the sudo. Borg commands should be run as root, so it can access everything.
Note the lack of sudo for initialization, this allows regular user to browse it.
But the script should be run as root to have full access.
#### The backup script
@ -141,23 +142,13 @@ but then non root user would not be able to enter the repo directory.
### Automatic execution
Using [cron](https://wiki.archlinux.org/index.php/cron).
Previously cron has been used, but decided to try systemd timers.
[This](https://blog.andrewkeech.com/posts/170719_borg.html) is the source.
**Make sure cron is installed and the service is running**</br>
`sudo systemctl status cronie`
Create a cron job that executes the script
[at 03:00](https://crontab.guru/#0_03_*_*_*)
* switch to root</br>
`su`
* add new cron job</br>
`crontab -e`</br>
`0 3 * * * /home/bastard/borg/borg_backup.sh`
`crontab -l` - list current cronjobs</br>
`journalctl -u cronie` - cron history
# Accessing the backup files

View File

@ -161,9 +161,7 @@ jellyfin.{$MY_DOMAIN} {
*We're unable to connect to the selected server right now. Please ensure it is running and try again.*
If you encounter this,
try open the url in browsers private window.
If you encounter this, try opening the url in browsers private window.<br>
If it works then clear the cookies in your browser.

View File

@ -152,7 +152,7 @@ Address = 10.200.200.2/32
[Peer]
PublicKey = fuCKVQU+x/jukZq3WH5yorJ4mE665dkv2HKN/0mH5hQ=
AllowedIPs = 10.200.200.1/32, 192.168.5.0/24
AllowedIPs = 192.168.5.0/24
Endpoint = 63.123.113.495:51820
```