How to take backup via CLI in XG firewall.
This thread was automatically locked due to age.
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
Hi Vlad Bekker: 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.
Regards,
Vishal Ranpariya
Technical Account Manager | Sophos Technical Support
Sophos Support Videos | Knowledge Base | @SophosSupport | Sign up for SMS Alerts |
If a post solves your question use the 'This helped me' link.
Hi Vlad Bekker: 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.
Regards,
Vishal Ranpariya
Technical Account Manager | Sophos Technical Support
Sophos Support Videos | Knowledge Base | @SophosSupport | Sign up for SMS Alerts |
If a post solves your question use the 'This helped me' link.