diff --git a/misc/pms-copy-data.sh b/misc/pms-copy-data.sh index 8d235642..e948a12b 100644 --- a/misc/pms-copy-data.sh +++ b/misc/pms-copy-data.sh @@ -85,7 +85,7 @@ if [ $(pct status $CTID_TO | sed 's/.* //') == 'running' ]; then pct stop $CTID_TO fi msg "Mounting Container Disks..." -DATA_PATH=/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/ +DATA_PATH=/var/lib/plexmediaserver/Library/ CTID_FROM_PATH=$(pct mount $CTID_FROM | sed -n "s/.*'\(.*\)'/\1/p") || \ die "There was a problem mounting the root disk of LXC '${CTID_FROM}'." [ -d "${CTID_FROM_PATH}${DATA_PATH}" ] || \