Rollback and FTP permissions


  • Question
    Rollback is used to backup the Vital Security NG configurations to FTP/Samba server (network share folder).
    It's important to understand how the Rollback process operates for configuration and troubleshooting purposes.

    How does the Rollback mechanism operate and what are the needed FTP/Samba permissions for its successful operation?

  • Answer
    The Rollback operates in the following order (in this case Rollback is being configured for the first time and manual backup is performed):
    1. A file named “date” is being written to FTP/Samba folder, it contains date and time of its creation.
    2. A file named “index.xml” is being written to FTP/Samba folder, it contains the string “<?xml version="1.0"?>”
    3. A file named “backup_YYYY_MM_DD_HH_MM_SS.tar.enc” is being written to FTP/Samba folder, it contains the Vital Security appliance's configurations.
    4. A file named “index.xml” that now contains the new created file record, is overwriting the old index.xml file.
      Each backup file record inside the index.xml contains the following tags:
      <file name="backup_YYYY_MM_DD_HH_MM_SS.tar.enc">
      <creation_date year="YYYY" month="MM" day="DD" hour="HH" minute="MM" second="SS" />
      <type value="Manual or Scheduled"/>
      <ng_version value="8.x.x" />
      <description>the description string</description>


    Every time Administrator enters Rollback (after the FTP / Samba settings are entered and the administrator clicks on Apply and then on the Refresh button), the system tries to read the index.xml file and to display the entries in it. These entries are the backup files that can be used to restore the previous configuration.




    Please note, it is very important that the FTP server will allow permissions to  read, write and delete files, otherwise the Rollback will fail.

  • VSOS
    8.5
    9.x

  • This article applies to:
    SWG 3000
    SWG 5000
    SWG 7000
    This article was previously published as:
    Finjan KB 1400

    Last Modified 8/20/2010.
    https://support.trustwave.com/kb/KnowledgebaseArticle13282.aspx