Description
This article describes how to stop a long log backup job on FortiAnalyzer if the recommended methods (See the 'Related Article' section at the bottom) do not work:
- Run a second backup job to cancel the initial one.
- Issue the command '# diagnose test app uploadd 57'
Solution
After having launched a backup task from CLI using:
# execute backup logs <device name(s)| all> <ftp/sftp/scp> <ip> <user name> <password> <directory
To stop this ongoing backup task, connect to the FortiAnalyzer via SSH then execute below commands.
Enable Shell access:
# config system admin setting
(setting)set shell-access enable
Enter new password: <-----It is possible to use an empty password */
Confirm new password:
(setting)end
Then issue the following commands:
# execute shell
Enter password:poss
bash$ redis-cli -p 6380
127.0.0.1:6380> keys *backup*
1) "cli:exec:backup:cmd:hash"
127.0.0.1:6380> del "cli:exec:backup:cmd:hash"
(integer) 1
127.0.0.1:6380> exit
bash$ exit
The backup job has been interrupted and it is possible launch it again later.
Related Article.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.