Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Backup via cli

How to take backup via CLI in XG firewall. 



This thread was automatically locked due to age.
Parents
  • Hello Nwsbeta,

    Thank you for contacting the Sophos Community.

    To create a backup via the CLI you can run the following command from the Advanced Shell.

    #opcode system_backup -ds nosync

    The backup location would be under /var/conf/backupdata

    Regards,

  • Hi. What would cause a 500 OK status here?

    SF01V_VM01_SFOS 18.5.2 MR-2-Build380# service -t json -b '{"debug":"2"}' -ds nosync heartbeat:debug
    500 OK
    { "status": "500", "statusmessage": "failed" }

    Also a 500 for a slightly different commnand:

    SF01V_VM01_SFOS 18.5.2 MR-2-Build380# opcode system_backup -ds nosync
    500 OK
    OPCODE failed for getting tblconfiguration input

Reply
  • Hi. What would cause a 500 OK status here?

    SF01V_VM01_SFOS 18.5.2 MR-2-Build380# service -t json -b '{"debug":"2"}' -ds nosync heartbeat:debug
    500 OK
    { "status": "500", "statusmessage": "failed" }

    Also a 500 for a slightly different commnand:

    SF01V_VM01_SFOS 18.5.2 MR-2-Build380# opcode system_backup -ds nosync
    500 OK
    OPCODE failed for getting tblconfiguration input

Children
  • Hi : Indicating that operation is failing. Which can be checked further in CSC service logs.

    Can you please also share the below output here:

    #cat /log/syslo.log | grep -i "DRDY"

    OR you may attach syslog.log and dmesg output here for reference.

    Just wanted to validate Bad disk not creating a problem here.