edgauthier / pfsense-backup Goto Github PK
View Code? Open in Web Editor NEWScript to backup pfSense configuration and statistics
License: MIT License
Script to backup pfSense configuration and statistics
License: MIT License
urllib2.URLError: <urlopen error [Errno 110] Connection timed out>
Hi, I´m running and it does the backups fine, including for the pfsense for opnsense. But it throws the following error. But there´s no such line(?):
/usr/lib64/python2.7/site-packages/bs4/init.py:181: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("lxml"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.
The code that caused this warning is on line 166 of the file ./pfsense-backup.py. To get rid of this warning, change code that looks like this:
BeautifulSoup([your markup])
to this:
BeautifulSoup([your markup], "lxml")
markup_type=markup_type))
Use a default config filename as pfsense
On pfSense 2.3.2-RELEASE-p1 (amd64) the URL syntax in the example is not working.
Example: https://pfsense.example.com/
I solved by removing the trailing slash.
Example: https://pfsense.example.com
Hi,
i've been using your backup script for quite some time and it worked perfectly for me. Unfortunately the script stopped working after i upgraded to pfSense v2.2.5
I get an error message regarding the certificate:
urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)>
Do you have an idea how to fix this?
Thanks
Thomas
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.