02-06-2020 09:41 AM
Hi,
I would like to backup and restore a panorama like I can with the firewall, on the firewall i set "set cli op-command-xml-output on" and get the config via the console, then bootstrap the firewall to restore the config...
now i am wondering how I can do the same with panorama...
it seems that i can neither set operational output to xml, nor restore a config via bootstrap... is that so?
is there any way i could automate backing up a panorama and restoring it?
02-06-2020 01:43 PM
panorama actually has a backup feature that allows you to automate ftp backups of its config, that way you only need to import the config file to be up and running again
02-06-2020 03:10 PM
yes but that doesnt work for me...
I need a solution via console or rather without network connectivity.
This is not for a production system, its for a lab software
For the firewall I save the output from the console in a file and automate the bootstrapping so you can easily backup/restore configs in seconds, works well so far actually (I tried to do it with saving and restoring the set commands but trying to automate the login is a pain for several reasons, 1.) password after 9.0.4 cannot be admin/admin anymore 2.) console keeps telling you incorrect login and there is no consistent way of telling when thats true or if the authentication daemon still needs time to start
02-06-2020 03:13 PM
Please refer to this KB article.. it may be able to show you..
https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClgWCAS
02-07-2020 12:06 AM
Thanks @jdelio but that doesnt help me unfortunately, seems more like its not possible although i dont understand why panorama does not have the same command to output the config in xml format...
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!