-
Notifications
You must be signed in to change notification settings - Fork 30
Restore dashboards
gaochan-1 edited this page Nov 2, 2018
·
1 revision
USAGE
nr restore dashboards
OPTIONS
-d, --dir
Folder name where the *.dashboard.bak files placed.
-m, --update-mode
Update mode. skip|override|clean are supported
skip is default value.
skip - It would skip if same dashboard name exists.
override - It would override if same dashboard name exists.
clean - First delete all dashboards, and then restore dashboards from local *.dashboard.bak files.
-f, --files
File names to restore. Multiple file names separated by commma.
-F, --File
Logging file record *.dashboard.bak file names to restore.
-r, --result-file-name
Logging file name, stored file name list corresponding the failure dashboards to restore.
Examples:
nr restore dashboards -d ./backup_dashboards
Use -d argument to specify the directory
nr restore dashboards -d ./backup_dashboards -f failed-dashboards.log
Use -d argument to specify the directory, use -f to sepcify the logging file name record what's dashboards failed to restore.