<?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: cpviewdb.dat in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/cpviewdb-dat/m-p/206125#M38935</link>
    <description>&lt;P&gt;Sure you can do:, instead of transfer, delete&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Make sure the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;/var/log&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;partition is not full:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;[Expert@MyGW:0]# df -h&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;If it is full, then delete (transfer to an external storage) all unnecessary files.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Restart the CPView service:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;[Expert@MyGW:0]# cpview -s off&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;[Expert@MyGW:0]# cpview -s on&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;[Expert@MyGW:0]# cpview -s stat&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Remove the current history database:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Stop the CPView service:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;[Expert@MyGW:0]# cpview -s off&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Back up the current history database:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;[Expert@MyGW:0]# mkdir -v /var/log/cpview_history_database&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;[Expert@MyGW:0]# mv -v $CPDIR/log/cpview_services/* /var/log/cpview_history_database&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Start the CPView service:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;[Expert@MyGW:0]# cpview -s on&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;[Expert@MyGW:0]# cpview -s stat&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Wed, 14 Feb 2024 19:42:52 GMT</pubDate>
    <dc:creator>Lesley</dc:creator>
    <dc:date>2024-02-14T19:42:52Z</dc:date>
    <item>
      <title>cpviewdb.dat</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/cpviewdb-dat/m-p/110608#M15205</link>
      <description>&lt;P&gt;Hey all&lt;/P&gt;&lt;P&gt;What period of data does each cpviewdb.dat file (&lt;SPAN&gt;/var/log/CPView_history/&lt;/SPAN&gt;&lt;STRONG&gt;CPViewDB&lt;/STRONG&gt;&lt;SPAN&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;dat)&lt;/STRONG&gt;&amp;nbsp;hold?&lt;/P&gt;&lt;P&gt;Can this value be adjusted?&amp;nbsp;&lt;/P&gt;&lt;P&gt;We plan to periodically copy this file from all our gateways to central storage location where it can be loaded in to the cpviewer utility.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 01:31:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/cpviewdb-dat/m-p/110608#M15205</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2021-02-12T01:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: cpviewdb.dat</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/cpviewdb-dat/m-p/110609#M15206</link>
      <description>&lt;P&gt;It keeps 30 days of history unless&amp;nbsp;the available space in /var/log is below 512MB per&amp;nbsp;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk101878&amp;amp;partition=Basic&amp;amp;product=Security" target="_blank"&gt;https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk101878&amp;amp;partition=Basic&amp;amp;product=Security&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;Doesn't appear to be adjustable.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 01:54:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/cpviewdb-dat/m-p/110609#M15206</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2021-02-12T01:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: cpviewdb.dat</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/cpviewdb-dat/m-p/110610#M15207</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&lt;/P&gt;&lt;P&gt;If there are historical .dat files sitting in /&lt;SPAN&gt;var/log/CPView_history/, what is generating these? For example, there is a .dat file named CPViewDB_1605269861.dat in the folder, smaller in size to the running CPViewDB.dat file, with a Nov 13 timestamp.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Simon&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 02:19:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/cpviewdb-dat/m-p/110610#M15207</guid>
      <dc:creator>Simon_Macpherso</dc:creator>
      <dc:date>2021-02-12T02:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: cpviewdb.dat</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/cpviewdb-dat/m-p/158836#M27746</link>
      <description>&lt;P&gt;We have the same issue - we have 11GB of old .dat files in the folder.&amp;nbsp; before we upgrade to R81.10 we are copying off and removing them.&amp;nbsp; seems strange that this would use diskspace until there is only 512MB free on the gateway &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2022 13:50:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/cpviewdb-dat/m-p/158836#M27746</guid>
      <dc:creator>gblinkhorn</dc:creator>
      <dc:date>2022-10-05T13:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: cpviewdb.dat</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/cpviewdb-dat/m-p/206087#M38926</link>
      <description>&lt;P&gt;I assume it won't cause any disruption if I remove some of these CPViewDB_42424524525.dat files.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 14:06:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/cpviewdb-dat/m-p/206087#M38926</guid>
      <dc:creator>Daniel_Kavan</dc:creator>
      <dc:date>2024-02-14T14:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: cpviewdb.dat</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/cpviewdb-dat/m-p/206125#M38935</link>
      <description>&lt;P&gt;Sure you can do:, instead of transfer, delete&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Make sure the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;/var/log&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;partition is not full:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;[Expert@MyGW:0]# df -h&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;If it is full, then delete (transfer to an external storage) all unnecessary files.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Restart the CPView service:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;[Expert@MyGW:0]# cpview -s off&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;[Expert@MyGW:0]# cpview -s on&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;[Expert@MyGW:0]# cpview -s stat&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Remove the current history database:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Stop the CPView service:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;[Expert@MyGW:0]# cpview -s off&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Back up the current history database:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;[Expert@MyGW:0]# mkdir -v /var/log/cpview_history_database&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;[Expert@MyGW:0]# mv -v $CPDIR/log/cpview_services/* /var/log/cpview_history_database&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Start the CPView service:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;[Expert@MyGW:0]# cpview -s on&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;[Expert@MyGW:0]# cpview -s stat&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 14 Feb 2024 19:42:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/cpviewdb-dat/m-p/206125#M38935</guid>
      <dc:creator>Lesley</dc:creator>
      <dc:date>2024-02-14T19:42:52Z</dc:date>
    </item>
  </channel>
</rss>

