You can restore sensor data archived in an archive file to the configuration and management database with the managedb restore --archive command.
You must be superuser to use this command.
Archive files are created with the managedb archive command. See “Archiving Sensor Data from the Configuration Database”.
The following example restores the sensor data archived in an archive file named arfile_tuesday in the current directory:
# managedb restore --archive ./arfile_tuesday |
For more information, see managedb(8).