-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
plex_server_sync.config
61 lines (44 loc) · 1.87 KB
/
plex_server_sync.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#-------------------------------------------------------------------------
# User settings config file for Plex_Server_Sync.sh
#
# https://github.com/007revad/Plex_Server_Sync
#-------------------------------------------------------------------------
# Local machine's IP or hostname and OS
# OS can be ADM, DSM6, DSM7 or Linux (required to stop/start local Plex)
src_IP=192.168.0.70
src_OS=DSM7
# Local Plex is docker - set to no or blank if not Plex docker
src_Docker=no
# Local Plex container name
src_Docker_plex_name="plexinc-pms-docker-1"
# Location of local Plex data folder
#src_Directory="/volume1/docker/plex/Library/Application Support"
src_Directory="/volume1/PlexMediaServer/AppData/Plex Media Server"
# Local user with SSH keys and sudoers setup
src_User=Bob
# Destination machine's IP or hostname and OS
# OS can be ADM, DSM6, DSM7 or Linux (required to stop/start remote Plex)
dst_IP=192.168.0.60
dst_OS=DSM6
# Destination Plex is docker - set to no or blank if not Plex docker
dst_Docker=no
# Destination Plex container name
dst_Docker_plex_name="plexinc-pms-docker-1"
# Location of destination Plex data folder
#dst_Directory="/volume1/docker/plex/Library/Application Support"
dst_Directory="/volume1/Plex/Library/Application Support/Plex Media Server"
# Remote user with SSH keys and sudoers setup
dst_User=Bob
# Remote SSH port, if blank the default port 22 is used
dst_SshPort=22
# rsync delete extra files from destination [yes/no]
# If left blank you'll be asked "Delete yes/no?"
# If you don't answer within 10 seconds it defaults to no
Delete=yes
# Do an rsync dry run to check results are as expected [yes/no]
# If left blank you'll be asked "Dry Run yes/no?"
# If you don't answer within 10 seconds it defaults to no
DryRun=no
# Set path to save log file. Directory must exist already
# If blank the logs are saved in script location
LogPath=~/plex_server_sync_logs