Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Restore backup packages from the console

    Scheduled Pinned Locked Moved General pfSense Questions
    1 Posts 1 Posters 427 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tacioandrade
      last edited by

      Hello friends, I am creating a script to install the Zabbix Agent and Zabbix Proxy on pfSense, so that I can facilitate the process of deploying the packages, user parameters and scripts necessary for the correct monitoring of the environments I manage.

      I tried to find a simple way to change the xml to insert the data, running the least risk of corrupting the pfSense configuration file and so far the best option I found was to generate a backup only of the packages from a pfSense configured only I need and then import this file into the new pfSense.

      Searching the internet I didn't find anything like that, so I went straight to the pfSense source code and found the command rrdtool restore -f '{$ xml_file}' '{$ rrd_file}', but I couldn't understand how it would work.

      Tried: rrdtool restore -f packages.xml /conf/config.xml

      However returned error: ERROR: line 14: expected <installedpackages> element but found <rrd>

      If anyone knows how to solve this then I would appreciate it very much.

      1 Reply Last reply
      Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post
      Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
      Privacy Policy · Cookie Policy