<html><head><style type=text/css><!--
.email-body .mcntemail-body .mcntmcntemail-body .mcntmcntmcntstyle1 { color: rgb(0, 102, 0); }
.email-body .mcntemail-body .mcntbody p { margin: 0px; }
.email-body .body p { margin: 0px; }body p {margin: 0px;}
--></style></head><body><div class="email-body"><div class="body"><div class="mcntemail-body"><div class="mcntbody"><p>Hi Richard,</p><p><br></p><p>In my log I see:</p><p><br></p><p>Executing plugin end.sh...</p><p>But I don't see ...Executing pluging start.sh..., but it is existing in the plugin directory</p><p><br></p><p>Maybe that's the problem, but I don't know. Please take a look at the start.sh and end.sh if you will.</p><p><br></p><p>This is the content of start.sh:</p><p><br></p><p><em>#!/bin/sh</em></p><p><em> WORKDIR=/home/solarspeed/solbackup/server_backup/data<br> TOBEREMOVED="$WORKDIR-$(date --date='7 days ago' +%F-%A)"<br> rm -rf $TOBEREMOVED</em></p><p><br></p><p>And this is the content of end.sh:</p><p><br><em> #!/bin/sh</em></p><p><em> WORKDIR=/home/solarspeed/solbackup/server_backup/data<br> TODAY="$WORKDIR-$(date +%F-%A)"<br> YESTERDAY="$WORKDIR-$(date --date='yesterday' +%F-%A)"</em></p><p><em> mv $WORKDIR $TODAY</em></p><p><em> 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</em></p><p><br></p><p>Kind regards,</p><p><br></p><p>PESJA</p><p><br></p><br><br><br><div><strong>
Van:
</strong>
 
Richard Barker <admin@probass.com>
<br>
<strong>
Aan:
</strong>
 
<blueonyx@mail.blueonyx.it>
<br>
<strong>
Verzonden:
 
</strong>
3-9-2017 23:13
<br>
<strong>
Onderwerp:
</strong>
 
[BlueOnyx:21335] Re: retention with automated backup
<br><br><blockquote class="mcntmcntmcnt mcntmcntmori" style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"><div class="mcntmcntemail-body"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
    <p>Mine looks like this:<br>
      ls -la /home/solarspeed/solbackup/server_backup/<br>
      total 164<br>
      drwxr-xr-x 8 root root  4096 Sep  2 23:24 .<br>
      drwxr-xr-x 5 root root  4096 Jun  6  2016 ..<br>
      drwxr-x--- 2 root root 36864 Aug 30 23:25
      data-2017-08-30-Wednesday<br>
      drwxr-x--- 2 root root 36864 Aug 31 23:24 data-2017-08-31-Thursday<br>
      drwxr-x--- 2 root root 36864 Sep  1 23:24 data-2017-09-01-Friday<br>
      drwxr-x--- 2 root root 36864 Sep  2 23:24 data-2017-09-02-Saturday<br>
      drwxr-xr-x 2 root root  4096 Sep  2 23:24 logs<br>
      drwxr-xr-x 2 root root  4096 Jun  8  2016 plugins</p>
    <p><br>
    </p>
    <div class="mcntmcntmcntmoz-signature">-- <br>
      
      <p><em><strong>Richard C. Barker Sr. <br>
            CEO & President <br>
            1-813-873-8942 <br>
            <span class="mcntmcntmcntstyle1">ProBass Networks Inc. </span></strong></em><br>
        <a href="http://www.probassnetworks.net" target="_blank">www.probassnetworks.net</a>
        <br>
        <a href="http://www.probass.net" target="_blank">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. <br>
      </p>
    </div>
  

</div></div><br><br>_______________________________________________
<br>Blueonyx mailing list
<br>Blueonyx@mail.blueonyx.it
<br>http://mail.blueonyx.it/mailman/listinfo/blueonyx
<br></blockquote></div></div></div></div></div></body></html>