Skip to main content
FatalHalt
New Member
September 15, 2014
Solved

Backup over SCP

  • September 15, 2014
  • 31 replies
  • 83361 views
I' m trying to figure out how to backup over SCP. I' ve enabled ' admin-scp' in config sys global, but am now trying to actually figure out how to use it. Anyone able to get me started? Thanks.
    Best answer by FatalHalt

    Sorry to bump this thread, but been running into some issues. 

     

    Is it just me, or are the backups you get from SCP not the full backup of the device? I've only just noticed this now that I'm doing some analytics on the files themselves, but they aren't even close to full. On one device, a full backup from the GUI gets me a file with 40,000 lines. A scp backup using sys_config is just shy of 2,200. It doesn't have any vdoms. It's almost useless. 

     

    Is there a different command other than sys_config (or fgt-config) to get a proper, full backup?

    31 replies

    emnoc
    New Member
    December 1, 2014
    Elthon_Abreu
    New Member
    February 23, 2015

    emnoc/FatalHalt

     

    Yes, the command "sys_config" is a full backup !

    I tested and compared both methods.

    ede_pfau
    SuperUser
    SuperUser
    February 23, 2015

    My mustard on this:

    I'm doing SCP backups for a couple of customer FGTs and it's both

    - just the same as 'Backup' from the Dashboard

    - NOT the full backup

     

    The files just contain the commands to transform a factoryreset config into the running config. All default settings are left out.

    And I'm not dealing with VDOMs. So if anybody knows how to elicit the config for all VDOMs on a FGT then please post.

    Elthon_Abreu
    New Member
    February 23, 2015

    ede_pfau,

     

    I'm doing backups with a script Batch (DOS) running on the Windows scheduler. It's work fine for me.

     

    Best regards.

    nbctcp
    New Member
    March 6, 2015

    Ethon,

    Can you please show me the steps

     

    elthon.abreu wrote:

    ede_pfau,

     

    I'm doing backups with a script Batch (DOS) running on the Windows scheduler. It's work fine for me.

     

    Best regards.

    emnoc
    New Member
    February 23, 2015

    Will for me the fgt-config pulls the complete configs ( full ) with vdoms.

     

    scp  <myuser>@1.1.1.1:fgt-config ./

     

    So anything with fgt-config in the name will pull the full cfg.

     

    e.g ( using fgt-config2  the 2 doesn't matter ;) )

     

     

    scp -P 2022 admin@10.10.80.1:fgt-config2 ./ admin@10.10.80.1's password: fgt-config                                    100%  371KB  37.1KB/s   00:10 

     

     

    So anything with  fgt-config or sys_config no matter what the spelling works.

     

     kfelix$ scp -P 2022 admin@10.10.80.1:custB/sys_config ./ admin@10.10.80.1's password: sys_config                                                            100%  371KB  33.7KB/s   00:11      

     kfelix$ scp -P 2022 admin@10.10.80.1:sys_config-blhblhlah  ./ admin@10.10.80.1's password: sys_config                                                            100%  371KB  37.1KB/s   00:10               

     

    Ken

    nbctcp
    New Member
    March 10, 2015

    I just done that using pscp in windows

    https://nbctcp.wordpress....kup-config-using-pscp/

     

    emnoc wrote:

    Will for me the fgt-config pulls the complete configs ( full ) with vdoms.

     

    scp  <myuser>@1.1.1.1:fgt-config ./

     

    So anything with fgt-config in the name will pull the full cfg.

     

    e.g ( using fgt-config2  the 2 doesn't matter ;) )

     

     

    scp -P 2022 admin@10.10.80.1:fgt-config2 ./ admin@10.10.80.1's password: fgt-config                                    100%  371KB  37.1KB/s   00:10 

     

     

    So anything with  fgt-config or sys_config no matter what the spelling works.

     

     kfelix$ scp -P 2022 admin@10.10.80.1:custB/sys_config ./ admin@10.10.80.1's password: sys_config                                                            100%  371KB  33.7KB/s   00:11    

     kfelix$ scp -P 2022 admin@10.10.80.1:sys_config-blhblhlah  ./ admin@10.10.80.1's password: sys_config                                                            100%  371KB  37.1KB/s   00:10            

     

    Ken

    wfli
    Staff
    Staff
    January 19, 2022

    Can backup all configurations including default configurations ?  I am using sys_config or fgt-config to include only the user's configuration, not the default configuration  

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT