OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of kevinfason »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Messages - kevinfason

Pages: [1]
1
General Discussion / Re: [FIXED] os-nut plugin permissions issue
« on: January 26, 2023, 12:31:33 am »
Ditto. I just did this on a 22.7.11 after moving hardware and restoring backup.

2
22.1 Legacy Series / Convert UFS to ZFS
« on: March 08, 2022, 12:19:02 am »
Well not really, thats the gist of what I want to accomplish though. I understand a reinstall is required to use ZFS. I did find this as a compromise and will likely go this method. ZFS is one of two features I miss from PFSense.
https://forum.opnsense.org/index.php?topic=24174.0

Before doing that though I wanted to inquire if there is a resource to restore additional data not included in a backup such as vnstat database, logs, etc. Or maybe a list of what is not included in the backup? I can grab the vnstat database and zenarmor backup. I could without various logs but would be nice to transfer all the living data the system has accumulated.  In my case I am NOT using the community repository yet, just the built-in one with a few plugins enabled.

  • os-acme-client
    os-api-backup   
    os-dmidecode
    os-dyndns   
    os-iperf
    os-nut
    os-postfix
    os-sensei
    os-sensei-agent
    os-sensei-updater
    os-smart
    os-sunnyvalley
    os-theme-cicada
    os-vnstat

ZenArmor is installed but not configured past the initial state. I read you trigger a cert update for letsencrypt. So I have zenarmour, vnstat, and letsencrypt figured out at this point. The other feature I miss being online backups but I am doing that via other methods so happy on that front.

3
Tutorials and FAQs / Re: Automatic config backups using os-api-backup
« on: March 18, 2021, 09:28:54 pm »
I made some minor tweaks to share. Shouldn't really use PATH as a variable as it can override the system path. escaped some stuff etc.

Code: [Select]
#!/bin/bash

KEY="api_key"
SECRET="api_secret"
HOST="opnsense_hostname"
PATHCONFIG="/path/to/backups"
DATE=`date +%Y%m%d`

curl -s -u ${KEY}:${SECRET} https://${HOST}/api/backup/backup/download -o $PATHCONFIG/opnsense-config-${DATE}.xml
find ${PATHCONFIG} -type f -name opnsense-config\*.xml -mtime +30 -delete

Pages: [1]
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