<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Example at wiki for backup/restore might be incorrect"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1695">1695</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Example at wiki for backup/restore might be incorrect
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>nftables
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86_64
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>nft
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pablo@netfilter.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>apachez@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>At
<a href="https://wiki.nftables.org/wiki-nftables/index.php/Operations_at_ruleset_level">https://wiki.nftables.org/wiki-nftables/index.php/Operations_at_ruleset_level</a>
there is a backup/restore example that hints to add "nft flush ruleset" as the
first line in "backup.nft" but shouldnt that be "flush ruleset" instead?

Also an additional example can be provided:

<span class="quote">> nft -s list ruleset > /path/backup.nft
> sed -i '1s/^/flush ruleset\n\n/' /path/backup.nft</span ></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>