cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6306
Views
1
Helpful
6
Replies

Restoring FMC backup via cli

SuMyatLwin0903
Level 1
Level 1

Hi all,

I would like to ask cli commands to restore FMCv backup via cli. Could you pls share to me?

Highly appreciate your help.

 

Thanks,

Su Myat Lwin

6 Replies 6

balaji.bandi
Hall of Fame
Hall of Fame

As per i know not possible :

 

Lookout restriction and Limitation :

Restore is Individual and Local

https://www.cisco.com/c/en/us/td/docs/security/firepower/630/configuration/guide/fpmc-config-guide-v63/backup_and_restore.html#id_106735

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Marvin Rhoads
Hall of Fame
Hall of Fame

I believe it is possible but I haven't done it directly. Check out sf-restore.pl in /var/sf/bin. You will need to run it as root user.

That's the script that's used when the GUI executes a restore. The FMC Migration tool uses it as well.

Thanks much. Marvin

I can restore FMC backup from its command line. I found this sf-restore-backup.pl file in this directory /usr/local/sf/bin.

Restore config is successful.

If we restore backup from GUI, how can we check detail progress log in CLI? 

I see the perl script has these two references:

my $logfile = SF::Reloc::RelocateFilename("/var/log/restore.log");
my $tmpfile = SF::Reloc::RelocateFilename("/var/log/tmp.log");

I'd try watching those ("tail -f" the files during restore).

Hi,

 

I am also trying the same, sf-backup.pl -n bkpname, but its giving error of temp location.

Do we need to pass the location for the same as well, i think it should take default location /var/sf/backup.

Can you please share the syntax for the same.

 

//Bharat

Hi Marvin,

Can you please also share the syntax of backup and restore from cli, its hard to get it from Cisco documentation.

//Bharat

Review Cisco Networking for a $25 gift card