<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Bash script to backup SmartEvent R80.10 doesn't work in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/Bash-script-to-backup-SmartEvent-R80-10-doesn-t-work/m-p/26268#M5341</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Xavier again for your help. No, this doesn't seem to be the problem. It works when I run the commands manually from the exact location. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 May 2018 11:17:31 GMT</pubDate>
    <dc:creator>Alain_Ikula</dc:creator>
    <dc:date>2018-05-29T11:17:31Z</dc:date>
    <item>
      <title>Bash script to backup SmartEvent R80.10 doesn't work</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Bash-script-to-backup-SmartEvent-R80-10-doesn-t-work/m-p/26264#M5337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to backup our smartEvent&amp;nbsp; using the procedure explained in in sk122655. When we run the commands manually, it work&amp;nbsp; but when we include them in a bash script, it doesn't work. We receive the error &lt;EM&gt;&lt;STRONG&gt;'Cannot stat : No such file or directory'&lt;/STRONG&gt;&lt;/EM&gt;. I've included a screenshot of the error. I've also attached the script. Do you guys see what could be the issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2018 11:25:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Bash-script-to-backup-SmartEvent-R80-10-doesn-t-work/m-p/26264#M5337</guid>
      <dc:creator>Alain_Ikula</dc:creator>
      <dc:date>2018-05-25T11:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Bash script to backup SmartEvent R80.10 doesn't work</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Bash-script-to-backup-SmartEvent-R80-10-doesn-t-work/m-p/26265#M5338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I would change the script by testing each variable's value.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;echo ${FOLDER1}fwlogs.tgz $FWDIR/log/*&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;...just before executing the&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;tar zcf ${FOLDER1}fwlogs.tgz $FWDIR/log/*&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 May 2018 12:37:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Bash-script-to-backup-SmartEvent-R80-10-doesn-t-work/m-p/26265#M5338</guid>
      <dc:creator>XavierBens</dc:creator>
      <dc:date>2018-05-27T12:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Bash script to backup SmartEvent R80.10 doesn't work</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Bash-script-to-backup-SmartEvent-R80-10-doesn-t-work/m-p/26266#M5339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xavier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help. When I follow your advise and I display my variables, they&amp;nbsp; show up correctly(see below) . It seems BASH is not correctly interpretating the * sign used to say "anything". Do you agree ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/66134_tar_error.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 10:15:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Bash-script-to-backup-SmartEvent-R80-10-doesn-t-work/m-p/26266#M5339</guid>
      <dc:creator>Alain_Ikula</dc:creator>
      <dc:date>2018-05-28T10:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Bash script to backup SmartEvent R80.10 doesn't work</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Bash-script-to-backup-SmartEvent-R80-10-doesn-t-work/m-p/26267#M5340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Referring &lt;A href="https://unix.stackexchange.com/questions/149494/tar-exits-on-cannot-stat-no-such-file-of-directory-why"&gt;the first article I've found&lt;/A&gt;: did you check "your write permission to the directory from which you are executing the command"? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 14:30:36 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Bash-script-to-backup-SmartEvent-R80-10-doesn-t-work/m-p/26267#M5340</guid>
      <dc:creator>XavierBens</dc:creator>
      <dc:date>2018-05-28T14:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Bash script to backup SmartEvent R80.10 doesn't work</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Bash-script-to-backup-SmartEvent-R80-10-doesn-t-work/m-p/26268#M5341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Xavier again for your help. No, this doesn't seem to be the problem. It works when I run the commands manually from the exact location. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 11:17:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Bash-script-to-backup-SmartEvent-R80-10-doesn-t-work/m-p/26268#M5341</guid>
      <dc:creator>Alain_Ikula</dc:creator>
      <dc:date>2018-05-29T11:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Bash script to backup SmartEvent R80.10 doesn't work</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Bash-script-to-backup-SmartEvent-R80-10-doesn-t-work/m-p/26269#M5342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just do not really understand why you don not create a backup folder in /var/log and create all the TGZ files there?&lt;/P&gt;&lt;P&gt;This way you always have 1 simple place to find your backup files in the location that has the most available storage.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 20:57:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Bash-script-to-backup-SmartEvent-R80-10-doesn-t-work/m-p/26269#M5342</guid>
      <dc:creator>Maarten_Sjouw</dc:creator>
      <dc:date>2018-05-30T20:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Bash script to backup SmartEvent R80.10 doesn't work</title>
      <link>https://community.checkpoint.com/t5/General-Topics/Bash-script-to-backup-SmartEvent-R80-10-doesn-t-work/m-p/26270#M5343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Maarten,&lt;/P&gt;&lt;P&gt;Thanks a lot for your input. I see what you mean but I thought the folder was not relevant because later in the script, the files are sent to the FTP server and then deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 May 2018 08:34:58 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/Bash-script-to-backup-SmartEvent-R80-10-doesn-t-work/m-p/26270#M5343</guid>
      <dc:creator>Alain_Ikula</dc:creator>
      <dc:date>2018-05-31T08:34:58Z</dc:date>
    </item>
  </channel>
</rss>

