Back Up Configuration and Device State from the CLI

Back Up Configuration and Device State from the CLI

37388
Created On 09/25/18 17:46 PM - Last Updated 04/20/20 22:37 PM


Resolution

Details

It is possible to export/import a configuration file or a device state using the following commands from the CLI:

 

You can export the running configuration, or a previously saved backup. You can create a backup config:

 

admin@PA-220> configure 
Entering configuration mode
[edit]                                                                                                                                                                                             
admin@PA-220# save config to MyBackup.xml
Config saved to MyBackup.xml
[edit]                                 

 

Exporting/Import configuration file:

admin@PA-220> tftp export configuration from MyBackup.xml to <tftphost>
admin@PA-220> scp export configuration from MyBackup.xml to user@<scphost>:/path

admin@PA-220> tftp import configuration from <tftphost> file <remotepath>
admin@PA-220> scp import configuration from user@<scphost:/path 

Exporting/Import device-state:

admin@PA-220> tftp export device-state to <tftphost>
admin@PA-220> scp export device-state to username@<scphost>:/path

admin@PA-220> tftp import device-state from <tftphost> file <remotepath>
admin@PA-220> scp import device-state from username@<scphost:>path

 

See Also

CLI Commands to Export/Import Configuration and Log Files

 

 



Attachments
Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClJ9CAK&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Attachments
Choose Language