• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Auto Config Backup Issue

Scheduled Pinned Locked Moved pfSense Packages
24 Posts 2 Posters 1.8k Views
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.
  • J
    johnpoz LAYER 8 Global Moderator
    last edited by johnpoz Apr 30, 2019, 4:03 PM Apr 30, 2019, 3:58 PM

    those are not the auto backup feature... That is this
    https://docs.netgate.com/pfsense/en/latest/config/configuration-history.html

    Defaults to 30..

    yours are HUGE!

    in comparison here is mine size.

    [2.4.4-RELEASE][admin@sg4860.local.lan]/conf/backup: ls -la
    total 8656
    drwxr-xr-x  2 root  wheel    1536 Apr 30 08:25 .
    drwxr-xr-x  4 root  wheel    2048 Apr 30 08:25 ..
    -rw-r--r--  1 root  wheel    5078 Apr 30 08:25 backup.cache
    -rw-r--r--  1 root  wheel  293608 Apr 23 05:20 config-1556014722.xml
    -rw-r--r--  1 root  wheel  293608 Apr 23 05:23 config-1556014836.xml
    -rw-r--r--  1 root  wheel  293608 Apr 23 05:32 config-1556015021.xml
    

    So mine are KB yours are MB.. your are like 32X mine.. So yeah might take a bit to write those.

    Change it from the default 30 to 0, and see if your changes are faster ;)

    edit:

    The following input errors were detected:
    Could not decrypt config.xml

    Yeah I would prob look into that - that doesn't seem good.

    An intelligent man is sometimes forced to be drunk to spend time with his fools
    If you get confused: Listen to the Music Play
    Please don't Chat/PM me for help, unless mod related
    SG-4860 24.11 | Lab VMs 2.7.2, 24.11

    A 1 Reply Last reply Apr 30, 2019, 5:11 PM Reply Quote 0
    • A
      AlexJ8791 @johnpoz
      last edited by AlexJ8791 Apr 30, 2019, 5:12 PM Apr 30, 2019, 5:11 PM

      @johnpoz said in Auto Config Backup Issue:

      those are not the auto backup feature... That is this
      https://docs.netgate.com/pfsense/en/latest/config/configuration-history.html

      Yes, you were right. I just checked my other pfsense box and it's less than 1MB!!!
      I've downloaded one of the backup files and there is a section for rrdata which is a big part of the file and without it the backup file will be less than a megabyte.
      Is there any way to exclude rrdata from being included in the config history?

      Change it from the default 30 to 0, and see if your changes are faster ;)

      How can I do that?

      Yeah I would prob look into that - that doesn't seem good.

      I don't know where to start...

      1 Reply Last reply Reply Quote 0
      • J
        johnpoz LAYER 8 Global Moderator
        last edited by Apr 30, 2019, 6:00 PM

        RRD shouldn't really be in the auto config data that I could think of - it should just be yoru config changes.

        Like new firewall rule, etc.

        How to change it is listed in the link I posted..
        set0.png

        As to where to start on why your seeing that error... Prob start a new thread with those specific details... When you try a do download of backup you get this error -- screenshot of the actual error when and where your doing your backup... Like are you having it include data or not, etc.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • A
          AlexJ8791
          last edited by AlexJ8791 Apr 30, 2019, 6:13 PM Apr 30, 2019, 6:12 PM

          I did change the Backup Count to 0 but it didn't help!
          When I edit/create a rule it actually creates the backup first and then removes it according to the backup count 0.

          After setting Backup Count to 0 :

          #ls -l
          total 4
          -rw-r--r--  1 root  wheel  6 Apr 30 22:36 backup.cache
          

          While creating a NAT rule:

          #ls -l
          total 3236
          -rw-r--r--  1 root  wheel        6 Apr 30 22:36 backup.cache
          -rw-r--r--  1 root  wheel  3252224 Apr 30 22:36 config-1556647551.xml
          
          #ls -l
          total 4324
          -rw-r--r--  1 root  wheel        6 Apr 30 22:36 backup.cache
          -rw-r--r--  1 root  wheel  4390912 Apr 30 22:36 config-1556647551.xml
          
          #ls -l
          total 7044
          -rw-r--r--  1 root  wheel        6 Apr 30 22:36 backup.cache
          -rw-r--r--  1 root  wheel  7176192 Apr 30 22:37 config-1556647551.xml
          
          #ls -l
          total 8100
          -rw-r--r--  1 root  wheel      173 Apr 30 22:37 backup.cache
          -rw-r--r--  1 root  wheel  8255935 Apr 30 22:37 config-1556647551.xml
          
          #ls -l
          total 4
          -rw-r--r--  1 root  wheel  6 Apr 30 22:37 backup.cache
          

          So, it still takes a minute or so to create/modify a rule!!!

          1 Reply Last reply Reply Quote 0
          24 out of 24
          • First post
            24/24
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received