SonicWall – Backup Configuration Using SSH or SCP

automationfortinetsonicwall

I'm evaluating whether to get a SonicWall TZ or a comparable Fortinet firewall. One thing i can't find but would really like to have is the ability to automate backing up the firewall configuration.

Is there a (preferably simple) way to fetch the running configuration from a SonicWall using scriptable command line-fu, utilising secure transport like ssh or scp?

Also, can the retrieved file be edited and uploaded to a TZ to reconfigure the firewall?

Both tricks seem to be doable on a Fortinet firewall.

Best Answer

Sonicwall export files are compiled , thus is not possible to edit them offline and reupload to a different appliace.

There is a way to fetch config files , I never tried, but on stackoverflow there was a discussion on it, with an example script.

https://stackoverflow.com/questions/14147473/shell-script-to-automate-sonicwall-firewall-ssh-session-not-working

I have no experience on Fortinet , sorry...