<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
  <head runat="server">
    <!-- PageID 382 - published by RedDot 7.5 - 7.5.1.69 - 22111 -->
    <META name="PublicArticle" content="True" />
    <META http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <META name="keywords" />
    <META name="summary" />
    <META name="product" content="V_Series,X_Series,X10G,V10K,V5K" />
    <META name="version" content="v84" />
    <META name="book" content="Forcepoint Appliances CLI Guide" />
    <title>Filestore definition and file save commands</title>
    <!--Loading the 2016 fonts.-->
    <script type="text/javascript" src="//fast.fonts.net/jsapi/c504d579-e135-4f75-8335-4906f6c6ce67.js"></script>
    <!--Library content styles.-->
    <link rel="StyleSheet" href="//www.websense.com/content/support/library/ni/assets/css/help2016.css" type="text/css" media="all" />
    <!--2016 font support -->
    <link type="text/css" rel="stylesheet" href="//fast.fonts.net/cssapi/c504d579-e135-4f75-8335-4906f6c6ce67.css" />
  </head>
  <body>
    <!--googleoff: all-->
    <a href="https://www.forcepoint.com">
      <img class="logo" alt="Forcepoint logo" src="//www.websense.com/content/support/library/ni/assets/logo1.png" />
    </a>
    <div class="extLinksContainer">
      <a class="extLinks" href="//support.forcepoint.com/documentation">Documentation</a> | <a class="extLinks" href="//support.forcepoint.com">Support</a></div>
    <!--
		<wsApp:UserAccess ID="useraccess1" runat="server" IsSecure="False" />
		-->
    <div class="spacer1"></div>
    <br />
    <!-- New Navigation DIV -->
    <div class="TL_nav" style="text-align: left;">
      <table cellspacing="0" class="toolBarTable" summary="">
        <!-- End New Navigation DIV -->
        <tr>
          <td>
            <!-- New Go To TOC -->
            <a href="toc.aspx"><img src="images/toc.png" alt="Go to the table of contents" border="0" /></a>
            <!-- End Go To TOC -->
          </td>
          <td>
            <!-- New Previous -->
            <a href="user_certificates.aspx"><img src="images/prev.png" alt="Go to the previous page" border="0" /></a>
            <!-- End New Previous -->
          </td>
          <td>
            <!-- New Next (Active) -->
            <a href="appliance_interface_configuration.aspx"><img src="images/next.png" alt="Go to the next page" border="0" /></a>
            <!-- End New Next (Active) -->
          </td>
          <td>
            <!-- New PDF -->
            <a href="appl_cli_guide.pdf"><img src="images/pdf.png" alt="View or print as PDF" border="0" /></a>
            <!-- End New PDF -->
          </td>
          <!--Start JR breadcrumbs -->
          <td width="20px"></td>
          <td>
            <div class="WebWorks_Breadcrumbs" style="text-align: left;">
              <a class="WebWorks_Breadcrumb_Link" href="first.aspx">Forcepoint Appliances Command Line Interface</a> &gt; <a class="WebWorks_Breadcrumb_Link" href="system_configuration.aspx">System configuration</a> &gt; Filestore definition and file save commands</div>
          </td>
          <!--End JR breadcrumbs -->
        </tr>
      </table>
    </div>
    <!--googleon: all-->
    <div>
      <div class="N2H-Heading2">
        <span class="Heading_Number"></span><a name="727459">Filestore definition and file save commands</a></div>
      <div class="IN-TopicInfo"><a name="725951">CLI Guide&nbsp;| Forcepoint Appliances&nbsp;| v8.4.x</a></div>
      <div class="B-Body"><a name="732708">A filestore is a remote (off-box) location that you define for storing backup and configuration files. The filestore can be FTP, Samba, or TFTP. It allows you to either load files onto the server (upgrades, hotfixes, or routes) or save files from the server to be edited/viewed outside the appliance (logs or routes). You can create a maximum of 10 filestores. </a></div>
      <div class="F-Frame"><a name="732786">&nbsp;</a></div>
      <table class="BodyTable" style="text-align: left" summary="">
        <caption></caption>
        <tr>
          <td style="background-color: #666465; border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: 2px; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: 2px; border-top-color: #808080; border-top-style: solid; border-top-width: 2px; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CH-CellHeading"><a name="732711">Action and Syntax</a></div>
          </td>
          <td style="background-color: #666465; border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: 2px; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: 2px; border-top-color: #808080; border-top-style: solid; border-top-width: 2px; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CH-CellHeading"><a name="732713">Details</a></div>
          </td>
        </tr>
        <tr>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CB-CellBody"><a name="732715">Display all filestore aliases.</a></div>
            <div class="COT-CodeTable"><a name="732716">show filestore<br /> [--alias &lt;alias_name&gt;]</a></div>
          </td>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CB-CellBody"><span class="B-Bold"><a name="732718">Alias: </a></span> (optional) Displays the unique name for the remote storage location.</div>
          </td>
        </tr>
        <tr>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CB-CellBody"><a name="732720">Define a remote location to host backup and configuration files.</a></div>
            <div class="COT-CodeTable"><a name="732721">set filestore<br /> --alias &lt;name&gt;<br /> --type &lt;ftp|samba|tftp&gt;<br /> --host &lt;ip_address&gt;<br /> --path &lt;share_directory&gt;<br /> [--user &lt;user_name&gt;]<br /> [--port &lt;port&gt;]</a></div>
          </td>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CB-CellBody"><span class="B-Bold"><a name="732723">Alias: </a></span>Provide a unique name for the remote storage location.</div>
            <div class="CB-CellBody"><a name="732724">The alias must be between 1 and 60 characters and begin with a letter. It may contain letters, numbers, periods, and hyphens, but may not contain 2 consecutive periods, nor end with a period.</a></div>
            <div class="CB-CellBody"><span class="B-Bold"><a name="732725">Type: </a></span>Specify the protocol to use to connect to the filestore (FTP, Samba, or TFTP).</div>
            <div class="CB-CellBody"><span class="B-Bold"><a name="732726">Host: </a></span>Provide the IP address of the machine hosting the filestore.</div>
            <div class="CB-CellBody"><span class="B-Bold"><a name="732727">Path:</a></span> Give the directory path to the shared location on the remote server.</div>
            <div class="CB-CellBody"><span class="B-Bold"><a name="732728">User:</a></span> (optional) Provide a user account with full permissions to the filestore. Format must be <span class="EM-Emphasis">domain_name/user_name</span>.</div>
            <div class="CB-CellBody"><span class="B-Bold"><a name="732729">Port: </a></span>(optional) Specify a port to use to connect to the filestore.</div>
            <div class="CB-CellBody" style="color: #000000; font-style: normal; font-variant: normal; font-weight: normal; text-transform: none; vertical-align: baseline"><span style="color: #000000; font-style: normal; font-variant: normal; font-weight: normal; text-transform: none; vertical-align: baseline"><a name="732730">Example:</a></span></div>
            <div class="COT-CodeTable"><a name="732731">(config)# set filestore <br />--alias fstore --type ftp <br />--host 10.10.10.6 <br />--path . --user jdoe</a></div>
            <div class="COT-CodeTable"><a name="732732">&nbsp;</a></div>
            <div class="CB-CellBody"><a name="732733">Example without a user:</a></div>
            <div class="COT-CodeTable"><a name="732734">(config)# set filestore <br />--alias tftp-store --type ftp <br />--host 10.10.10.5 <br />--path /ftp/myfiles</a></div>
            <div class="COT-CodeTable"><a name="732735">&nbsp;</a></div>
            <div class="CB-CellBody"><a name="732736">Example of domain-based authentication with the domain "acme" and the user "jdoe":</a></div>
            <div class="COT-CodeTable"><a name="732737">(config)# set filestore <br />--alias fstore <br />--type samba --host 10.123.48.70 --path myfiles <br />--user acme/jdoe</a></div>
            <div class="COT-CodeTable"><a name="732738">&nbsp;</a></div>
            <div class="CB-CellBody"><a name="732739">Example using a subfolder:</a></div>
            <div class="COT-CodeTable"><a name="732740">(config)# set filestore <br />--alias fstore <br />--type samba --host 10.123.48.70 --path myfiles/myfolder <br />--user jdoe</a></div>
          </td>
        </tr>
        <tr>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CB-CellBody"><a name="732742">Delete one or more filestore aliases.</a></div>
            <div class="COT-CodeTable"><a name="732743">delete filestore <br /> --alias &lt;filestore_1&gt;, [filestore_2],[filestore_n]</a></div>
          </td>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CB-CellBody"><a name="732745">You can specify a comma-separated list of filestore aliases (no spaces).</a></div>
            <div class="CB-CellBody"><a name="732746">Example:</a></div>
            <div class="COT-CodeTable"><a name="732747">delete filestore<br /> --alias ftp-fs1,samba-fs5</a></div>
          </td>
        </tr>
        <tr>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CB-CellBody"><a name="732749">Save the appliance MIB file to the specified location.</a></div>
            <div class="COT-CodeTable"><a name="732750">save mibfile<br /> --location &lt;filestore_alias&gt;</a></div>
          </td>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CB-CellBody"><a name="732752">Saves the MIB file to a remote storage location defined by the "set filestore" command.</a></div>
            <div class="CB-CellBody"><a name="732753">Example:</a></div>
            <div class="COT-CodeTable"><a name="732754">save mibfile<br /> --location ftp-fs1</a></div>
          </td>
        </tr>
        <tr>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CB-CellBody"><a name="732756">Summarize configuration data and save it to a specified location.</a></div>
            <div class="COT-CodeTable"><a name="732757">save configsummary<br /> --location &lt;filestore_alias&gt;</a></div>
          </td>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CB-CellBody"><a name="732759">Saves your configuration data to a remote storage location defined by the "set filestore" command.</a></div>
            <div class="CB-CellBody"><a name="732760">May be requested by Technical Support for analyzing unexpected behavior.</a></div>
            <div class="CB-CellBody"><a name="732761">Example:</a></div>
            <div class="COT-CodeTable"><a name="732762">save configsummary<br /> --location ftp-fs1</a></div>
          </td>
        </tr>
        <tr>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CB-CellBody"><a name="732764">Save SNMP trap events settings for editing or later use.</a></div>
            <div class="COT-CodeTable"><a name="732765">save trap<br /> --location &lt;filestore_alias&gt;<br /> [--default]</a></div>
          </td>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CB-CellBody"><a name="732767">Saves trap settings for editing. If "--default" is not specified, saves current trap settings.<br /><br /></a><span class="B-Bold">NOTE: </span>Upon install, trap events are <span class="EM-Emphasis">enabled</span>, but the default configuration for saving trap events in <span class="EM-Emphasis">disabled</span>.</div>
            <div class="CB-CellBody"><a name="732768">Example:</a></div>
            <div class="COT-CodeTable"><a name="732769">save trap<br /> --location ftp-fs1</a></div>
          </td>
        </tr>
        <tr>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CB-CellBody"><a name="732771">Zip a log file and save it to a remote filestore.</a></div>
            <div class="COT-CodeTable"><a name="732772">save log <br /> --module &lt;all|app|email|network-agent|proxy|web&gt;<br /> --type &lt;all|audit|module|system|&gt;<br /> --location &lt;filestore_alias&gt;</a></div>
          </td>
          <td style="border-bottom-color: #808080; border-bottom-style: solid; border-bottom-width: thin; border-left-color: #808080; border-left-style: solid; border-left-width: thin; border-right-color: #808080; border-right-style: solid; border-right-width: thin; border-top-color: #808080; border-top-style: solid; border-top-width: thin; padding-bottom: 3.5pt; padding-left: 6pt; padding-right: 6pt; padding-top: 4.5pt; vertical-align: top">
            <div class="CB-CellBody"><a name="732774">Specify which module logs to save, which type of logs to save, and where to save the file.</a></div>
            <div class="CB-CellBody"><a name="732775">The module options are </a><span class="B-Bold">all</span> or <span class="B-Bold">app</span>, both of which currently save logs for all modules.</div>
            <div class="CB-CellBody"><a name="732776">The log types are </a><span class="B-Bold">all</span>, <span class="B-Bold">system</span>, or <span class="B-Bold">audit</span>.</div>
            <div class="CB-CellBody"><span class="B-Bold"><a name="732777">Audit log:</a></span> audit.log </div>
            <div class="CB-CellBody"><span class="B-Bold"><a name="732778">System log:</a></span> cli.log</div>
            <div class="CB-CellBody"><span class="B-Bold"><a name="732779">Email log:</a></span> ESG.log </div>
            <div class="CB-CellBody"><span class="B-Bold"><a name="732780">Web log:</a></span> Websense.log </div>
            <div class="CB-CellBody"><span class="B-Bold"><a name="732782">Proxy log:</a></span> content_gateway.log </div>
            <div class="CB-CellBody"><span class="B-Bold"><a name="732783">Network Agent log: </a></span>NetworkAgent.log </div>
            <div class="CB-CellBody"><a name="732784">Example:</a></div>
            <div class="CB-CellBody"><a name="732785">save log<br /> --module all --type system <br /> --location samba-fs5</a></div>
          </td>
        </tr>
      </table>
    </div>
    <!--googleoff: all-->
    <div class="library_search">
      <form class="support_search" action="/content/kb-search.aspx" method="get">
        <label></label>
        <label></label>
        <input type="text" name="q" value=" Search eSupport" onfocus="if (this.value == ' Search eSupport') {this.value = '';}" onblur="if (this.value == '') {this.value = ' Search eSupport';}"></input>
        <input type="submit" value=" "></input>
      </form>
    </div>
    <br class="clear" />
    <!-- New Navigation DIV -->
    <div class="TL_nav" style="text-align: left;">
      <table cellspacing="0" class="toolBarTable" summary="">
        <!-- End New Navigation DIV -->
        <tr>
          <td>
            <!-- New Go To TOC -->
            <a href="toc.aspx"><img src="images/toc.png" alt="Go to the table of contents" border="0" /></a>
            <!-- End Go To TOC -->
          </td>
          <td>
            <!-- New Previous -->
            <a href="user_certificates.aspx"><img src="images/prev.png" alt="Go to the previous page" border="0" /></a>
            <!-- End New Previous -->
          </td>
          <td>
            <!-- New Next (Active) -->
            <a href="appliance_interface_configuration.aspx"><img src="images/next.png" alt="Go to the next page" border="0" /></a>
            <!-- End New Next (Active) -->
          </td>
          <td>
            <!-- New PDF -->
            <a href="appl_cli_guide.pdf"><img src="images/pdf.png" alt="View or print as PDF" border="0" /></a>
            <!-- End New PDF -->
          </td>
          <!--Start JR breadcrumbs -->
          <td width="20px"></td>
          <td>
            <div class="WebWorks_Breadcrumbs" style="text-align: left;">
              <a class="WebWorks_Breadcrumb_Link" href="first.aspx">Forcepoint Appliances Command Line Interface</a> &gt; <a class="WebWorks_Breadcrumb_Link" href="system_configuration.aspx">System configuration</a> &gt; Filestore definition and file save commands</div>
          </td>
          <!--End JR breadcrumbs -->
        </tr>
      </table>
    </div>
    <div class="extFooterContainer">
      <div class="extFooter">
        <div align="center">Copyright 2017 Forcepoint. All rights reserved.</div>
      </div>
    </div>
    <SCRIPT>
   function getFileName() {
      //this gets the full url
      var url = document.location.href;
      //this removes the anchor at the end, if there is one
      url = url.substring(0, (url.indexOf("#") == -1) ? url.length : url.indexOf("#"));
      //this removes the query after the file name, if there is one
      url = url.substring(0, (url.indexOf("?") == -1) ? url.length : url.indexOf("?"));
      //this removes everything before the last slash in the path
      url = url.substring(url.lastIndexOf("/") + 1, url.length);
      //return
      return url;
   }

   var url = document.URL;
   var Docname = getFileName()
   s.pageName = "enu:support:technical library:v84cliguide:" + Docname;
   s.prop1 = "enu:support";
   s.prop2 = "enu:support:technical library";
   s.channel = "support";
   // <!--
   s.server = "<%= System.Environment.MachineName %>";
   //--></SCRIPT>
    <script language="javascript1.1" type="text/javascript">
   /********Do Not alter below this line ***********/
   var s_code = s.t(); if (s_code) document.write(s_code)
   //--&gt;</script>
  </body>
  <!--"GENERALQUARTERSALLHANDSMANYOURSTATIONS"-->
</html>