You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gaochan-1 edited this page Nov 2, 2018
·
1 revision
USAGE
nr restore monitors
OPTIONS
-d, --dir
Folder name where the *.monitor.bak files placed.
-m, --update-mode
Update mode. skip|override|clean are supported.
skip is default value.
skip - It would skip if same monitor name exists.
override - It would override if same monitor name exists.
clean - First delete all monitors, and then restore monitors from local *.monitor.bak files.
-f, --files
File names to restore. Multiple file names separated by commma.
-F, --File
Logging file record *.monitor.bak file names to restore.
-r, --result-file-name
Logging file name, stored file name list corresponding the failure monitors to restore.
Examples:
nr restore monitors -d ./backup_monitors
Use -d argument to specify the directory
nr restore monitors -d ./backup_monitors -f failed-monitors.log
Use -d argument to specify the directory, use -f to sepcify the logging file name record what's Synthetics monitors failed to restore.