Palo Alto Running-Config Backup Tool

In enterprise network environments, maintaining up-to-date firewall configurations is critical for security and compliance. The Palo Alto Firewall Backup Tool was developed to eliminate manual backup processes and ensure consistent configuration versioning across large infrastructures. So, there are two versions designed initially for each suitable situations.

Here are the key functionalities of the tool:

Multi-Device Support: Process multiple firewalls simultaneously
API Key Authentication: Direct integration with Palo Alto XML API
Auto-Folder Structure: Date-based organization of backup files
Basic Logging: Real-time success/failure notifications
GUI Interface: User-friendly Tkinter-based interface

As mentioned above, the tool creates a folder in the local path C:/Configuration-Backups/{Date}, where {Date} represents the exact day the backup is taken. The tool has been proven the effectiveness when taking backups, when there are list of devices available in the infrastructure.

Version 1.0.0

This version uses hardcoded credentials, allowing the .exe tool to be shared with other parties when a separate API user account is configured on the Palo Alto Firewall. Here is the GUI of the application;

Version 1.1.0

This version will prompts for a username and password to take configuration backups. This version can be shared when no dedicated API account is configured. Here is the GUI of this version:

That’s all, and here are the code details:

https://github.com/shanuka-sandala/palo-alto-automation

We can convert these as .exe file, to do that refer to the following links:

https://www.analyticsvidhya.com/blog/2024/01/ways-to-convert-python-scripts-to-exe-files (btw, I used the 2nd method :D)

https://pypi.org/project/auto-py-to-exe/#files

Thanks for the interest.

Author photo
Publication date:
Hi! I’m Shanuka, a skilled Network Engineer working for an IT-based company in Sri Lanka. I specialize in designing, implementing, and securing complex networks, with a keen interest in emerging technologies such as cloud computing, automation, and AI-driven system optimization.

Leave a Reply

Your email address will not be published. Required fields are marked *