Add recurse copy option

This commit is contained in:
Jonathan Ervine 2020-07-27 18:26:04 +08:00
parent 5dce8111d4
commit f0c916cd75

View File

@ -6,7 +6,7 @@ echo -e 'Starting the sidecar container to periodically backup the sonarr databa
chown 1003:1003 /mnt/app-local-config
chown 1003:1003 /app-remote-config/*
echo -e 'Copy the config from the remote share to the ramdisk'
cp -fvp /app-remote-config/* /mnt/app-local-config
cp -Rfvp /app-remote-config/* /mnt/app-local-config
echo -e 'Set up the filesystem freeze, copy, unfreeze loop'
while true; do
sleep 890