restore from backup using console

Hello,

I'm running 4.0.15 and made a change to the 
firewall and I can't login anymore.

Is it possible to restore the config from the console ?

If so, how can this be done ?

Thanks in advance,
Rodolfo  
Parents
  •  rlevy,

    you can copy the backup file (must not be encrypted) to '/' and run 'tar xIf backupfile.abf' .

    Greetings
    cyclops  
  • Revealed!

    So you will want to cd / first, or use the option -C /. I think you want a dash before those options (tar -xIf); also I like to throw in the p option too...

    If it is encrypted, wonder what they used; crypt?
  • no additional command line parameters are nescessary, O.K. 'p' is always a good idea but afaik not nescessary and the dash is also redundant.

    If the backup was copied to '/' it would make sense to cd to '/' before running the tar command - give it a shot :-)

    [ QUOTE ]
    From the online help

    :: Encrypt Backup File ::

    For enhanced security, the firewall can send the backup file in encrypted form. When activating that function, you must enter and save a passphrase. Backups created with encryption enabled will require that you enter the passphrase when you restore them. When the entered passphrase has less than 8 characters, DES will be used for encryption, otherwise Triple DES will be used.


    [/ QUOTE ]

    Greetings
    cyclops   
  • Thanks to everyone for the quick response. 

    I'm not onsite this week.  As soon as I return to the office 
    I will try the restore suggestion and post the results.

    Rodolfo  
Reply Children
No Data