Add recurse copy option
This commit is contained in:
parent
5dce8111d4
commit
f0c916cd75
2
start.sh
2
start.sh
@ -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 /mnt/app-local-config
|
||||||
chown 1003:1003 /app-remote-config/*
|
chown 1003:1003 /app-remote-config/*
|
||||||
echo -e 'Copy the config from the remote share to the ramdisk'
|
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'
|
echo -e 'Set up the filesystem freeze, copy, unfreeze loop'
|
||||||
while true; do
|
while true; do
|
||||||
sleep 890
|
sleep 890
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user