2020-10-28 19:28:03 +01:00
|
|
|
# Rsync
|
|
|
|
|
|
|
|
## Commands
|
|
|
|
|
2021-01-06 14:00:33 +01:00
|
|
|
### Update Movies
|
|
|
|
*Don't use this*
|
|
|
|
```
|
2020-11-07 11:56:22 +01:00
|
|
|
rsync -uvr --progress --bwlimit=4096 /mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/MediaLibrary/Movies/ root@jellyfin.realstickman.net:/home/jellyfin/Movies
|
2020-10-28 19:28:03 +01:00
|
|
|
```
|
2021-01-06 14:00:33 +01:00
|
|
|
*Non-root user*
|
|
|
|
```
|
|
|
|
rsync -uvr --progress --bwlimit=4096 --chmod=744 -e "ssh -i $HOME/.ssh/id_ed25519_non-root" /mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/MediaLibrary/Movies/ jellyfin@jellyfin.realstickman.net:/home/jellyfin/Movies
|
|
|
|
```
|
2020-10-28 19:28:03 +01:00
|
|
|
|
2021-01-06 14:00:33 +01:00
|
|
|
### Update Shows
|
|
|
|
*Don't use this*
|
|
|
|
```
|
2020-11-07 11:56:22 +01:00
|
|
|
rsync -uvr --progress --bwlimit=4096 /mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/MediaLibrary/Shows/ root@jellyfin.realstickman.net:/home/jellyfin/Shows
|
2020-10-28 19:28:03 +01:00
|
|
|
```
|
2021-01-06 14:00:33 +01:00
|
|
|
*Non-root user*
|
|
|
|
```
|
|
|
|
rsync -uvr --progress --bwlimit=4096 --chmod=744 -e "ssh -i $HOME/.ssh/id_ed25519_non-root" /mnt/1d90c4d5-21d2-4455-bb4a-814de8496744/MediaLibrary/Shows/ jellyfin@jellyfin.realstickman.net:/home/jellyfin/Shows
|
2020-10-28 19:28:03 +01:00
|
|
|
|
2021-01-06 14:00:33 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
### Update Musik
|
|
|
|
*Don't use this*
|
|
|
|
```
|
2020-11-07 11:56:22 +01:00
|
|
|
rsync -uvr --progress --bwlimit=4096 /home/marc/Musik/ root@jellyfin.realstickman.net:/home/jellyfin/Musik
|
2020-10-28 19:28:03 +01:00
|
|
|
```
|
2021-01-06 14:00:33 +01:00
|
|
|
*Non-root user*
|
|
|
|
```
|
|
|
|
rsync -uvr --progress --bwlimit=4096 --chmod=744 -e "ssh -i $HOME/.ssh/id_ed25519_non-root" /home/marc/Musik/ jellyfin@jellyfin.realstickman.net:/home/jellyfin/Musik
|
|
|
|
```
|
2020-11-16 21:05:47 +01:00
|
|
|
|
|
|
|
Update Website
|
2021-01-06 14:00:33 +01:00
|
|
|
```
|
2020-12-09 11:18:25 +01:00
|
|
|
rsync -vr --bwlimit=4096 /home/marc/GitProjects/website/ root@realstickman.net:/var/www/website
|
2020-11-16 21:05:47 +01:00
|
|
|
```
|