Fortinet black logo

CLI Reference

log restore

log restore

Use this command to restore up all logs, index files, and report databases from a backup file created with the log backup command.

This command will wipe out all existing logs and report database for the vdom. It is only available for debug firmware builds.

It is recommended to kill reportd and miglogd prior to running this command.

kill -3 1

killall miglogd

killall reportd

Syntax

execute log restore <file name>

where <file name> is the name of the backup file to use.

log restore

Use this command to restore up all logs, index files, and report databases from a backup file created with the log backup command.

This command will wipe out all existing logs and report database for the vdom. It is only available for debug firmware builds.

It is recommended to kill reportd and miglogd prior to running this command.

kill -3 1

killall miglogd

killall reportd

Syntax

execute log restore <file name>

where <file name> is the name of the backup file to use.