You can restore metrics 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 Metrics Data from the Configuration Database”.
The following example restores the metrics data archived in an archive file named arfile_tuesday in the current directory:
# managedb restore --archive ./arfile_tuesday |
For more information, see managedb(8).