Description
This article describes how to backup logs to a remote server.
Solution
From the FortiAnalyzer command line, it is possible to backup the configuration towards a remote server (FTP, SFTP, SCP).
Syntax:
This article describes how to backup logs to a remote server.
Solution
From the FortiAnalyzer command line, it is possible to backup the configuration towards a remote server (FTP, SFTP, SCP).
Syntax:
# execute backup all-settings {ftp|scp|sftp} <ip> <string> <username> <passwd> <ssh-cert> <crptpasswd> Backup all FortiAnalyzer settings to a file on a server.Note: From v5.0 onward configuration can't be backed up to a TFTP server.
# execute backup logs <device name(s)> {ftp|scp|sftp} <ip> <username> <passwd> <directory> [vdlist] Backup the device logs.
# logs-only <device name(s)> {ftp|scp|sftp} <ip> <username> <passwd> <directory> [vdlist] Backup device logs.
# execute backup logs-rescue <device serial number(s)> {ftp|scp|sftp} <ip> <username> <passwd> <directory> [vdlist] Hidden command to backup logs regardless of DVM database in case of emergency.
# execute backup reports <report schedule name(s)> {ftp|scp|sftp} <ip> <username> <passwd> <directory> [vdlist] Backup the reports.
# execute backup reports-config <adom name(s)> {ftp|scp| sftp} <ip> <username> <passwd> <directory> [vdlist] Backup report configuration.