Hi Richard, In my log I see: Executing plugin end.sh... But I don't see ...Executing pluging start.sh..., but it is existing in the plugin directory Maybe that's the problem, but I don't know. Please take a look at the start.sh and end.sh if you will. This is the content of start.sh: #!/bin/sh WORKDIR=/home/solarspeed/solbackup/server_backup/data TOBEREMOVED="$WORKDIR-$(date --date='7 days ago' +%F-%A)" rm -rf $TOBEREMOVED And this is the content of end.sh: #!/bin/sh WORKDIR=/home/solarspeed/solbackup/server_backup/data TODAY="$WORKDIR-$(date +%F-%A)" YESTERDAY="$WORKDIR-$(date --date='yesterday' +%F-%A)" mv $WORKDIR $TODAY for myfile in $YESTERDAY/* do cmp $TODAY/${myfile##*/} $YESTERDAY/${myfile##*/} &> /dev/null if [ $? -eq 0 ] # Test exit status of "cmp" command. then ln -s -f $TODAY/${myfile##*/} $YESTERDAY/${myfile##*/} fi done Kind regards, PESJA Van: Richard Barker <ad...@probass.com> Aan: <blueonyx@mail.blueonyx.it> Verzonden: 3-9-2017 23:13 Onderwerp: [BlueOnyx:21335] Re: retention with automated backup Mine looks like this: ls -la /home/solarspeed/solbackup/server_backup/ total 164 drwxr-xr-x 8 root root 4096 Sep 2 23:24 . drwxr-xr-x 5 root root 4096 Jun 6 2016 .. drwxr-x--- 2 root root 36864 Aug 30 23:25 data-2017-08-30-Wednesday drwxr-x--- 2 root root 36864 Aug 31 23:24 data-2017-08-31-Thursday drwxr-x--- 2 root root 36864 Sep 1 23:24 data-2017-09-01-Friday drwxr-x--- 2 root root 36864 Sep 2 23:24 data-2017-09-02-Saturday drwxr-xr-x 2 root root 4096 Sep 2 23:24 logs drwxr-xr-x 2 root root 4096 Jun 8 2016 plugins -- Richard C. Barker Sr. CEO & President 1-813-873-8942 ProBass Networks Inc. www.probassnetworks.net www.probass.net *************************************** DISCLAIMER : - This e-mail is confidential and intended only for the use of the individual or entity named above and may contain information that is privileged. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this e-mail is strictly prohibited. If you have received this email in error, please notify us immediately by return email or telephone and destroy the original message. _______________________________________________ Blueonyx mailing list Blueonyx@mail.blueonyx.it http://mail.blueonyx.it/mailman/listinfo/blueonyx
_______________________________________________ Blueonyx mailing list Blueonyx@mail.blueonyx.it http://mail.blueonyx.it/mailman/listinfo/blueonyx