<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
p.style1, li.style1, div.style1
        {mso-style-name:style1;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:#006600;}
span.style11
        {mso-style-name:style11;
        color:#006600;}
span.E-mailStijl22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=NL link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Hello Richard,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>I did exactly what you wrote. Put a start.sh and a end.sh with the content into the plugins directory. But no luck.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Can you help me get on track?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Kind regards,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>PESJA<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext'>Van:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext'> Blueonyx [mailto:blueonyx-bounces@mail.blueonyx.it] <b>Namens </b>Richard Barker<br><b>Verzonden:</b> donderdag 31 augustus 2017 15:58<br><b>Aan:</b> blueonyx@mail.blueonyx.it<br><b>Onderwerp:</b> [BlueOnyx:21317] Re: retention with automated backup<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Yes you can add these two files end.sh and start.sh in the /home/solarspeed/solbackup/server_backup/plugins/<br><br>end.sh<br>#!/bin/sh<br><br>WORKDIR=/home/solarspeed/solbackup/server_backup/data<br>TODAY="$WORKDIR-$(date +%F-%A)"<br>YESTERDAY="$WORKDIR-$(date --date='yesterday' +%F-%A)"<br><br>mv $WORKDIR $TODAY<br><br>for myfile in $YESTERDAY/*<br>do<br>   cmp $TODAY/${myfile##*/} $YESTERDAY/${myfile##*/} &> /dev/null<br>   if [ $? -eq 0 ]         # Test exit status of "cmp" command.<br>   then<br>     ln -s -f $TODAY/${myfile##*/} $YESTERDAY/${myfile##*/}<br>   fi<br>done<br><br>start.sh<br>#!/bin/sh<br><br>WORKDIR=/home/solarspeed/solbackup/server_backup/data<br>TOBEREMOVED="$WORKDIR-$(date --date='7 days ago' +%F-%A)"<br>rm -rf $TOBEREMOVED<br><br>-- <o:p></o:p></p><p><strong><i>Richard C. Barker Sr. </i></strong><b><i><br><strong>CEO & President </strong><br><strong>1-813-873-8942 </strong><br></i></b><span class=style11><b><i>ProBass Networks Inc. </i></b></span><br><a href="http://www.probassnetworks.net">www.probassnetworks.net</a> <br><a href="http://www.probass.net">www.probass.net</a> <br>*************************************** <br>DISCLAIMER : - <br>This e-mail is confidential and intended only for the use <br>of the individual or entity named above and may contain <br>information that is privileged. If you are not the intended <br>recipient, you are notified that any dissemination, distribution <br>or copying of this e-mail is strictly prohibited. If you have <br>received this email in error, please notify us immediately <br>by return email or telephone and destroy the original message. <o:p></o:p></p></div></div></body></html>