OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • backup (again)
« previous next »
  • Print
Pages: [1]

Author Topic: backup (again)  (Read 2784 times)

marcri

  • Jr. Member
  • **
  • Posts: 60
  • Karma: 5
    • View Profile
    • https://www.risse-it.services/
backup (again)
« on: June 29, 2019, 07:47:22 pm »
Hi,

yes I know, the only thing I need to backup is the config.xml.  >:(

But that is not always true. I need custom files from squid, sensei, suricata, unbound and all the stuff like check_mk, statistics, cronjobs, installed pkgs etc etc...

So again the question: what is the best way to backup the complete system? I'm a linux user, so I used rsync to a remote system to keep my files. But is it possible to restore a complete system with rsync like under linux? Or should i just dump with dd???
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: backup (again)
« Reply #1 on: June 30, 2019, 08:59:07 am »
You can build a plugin with your custom files, it will create a "package" you can use on other installations as well or for simple restore purposes.

https://docs.opnsense.org/development/examples/helloworld.html

You only need to package files on the disk, no menu or GUI or anything...

https://github.com/opnsense/plugins/tree/master/devel/helloworld


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • backup (again)
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2