USAGE for load_checkpoint.sh v2.1.1: load_checkpoint.sh [-i ] [-r] [-b] [-y] [-L ] [-si] [-v] [-D] or load_checkpoint.sh [-h|-man|-V] DESCRIPTION: This script loads a specified checkpoint into /p4/N/root and /p4/N/offline_db. ARGUMENTS AND OPTIONS: Specify the path to the checkpoint file to load. The file may be a compressed or uncompressed checkpoint. This positional paremter is required. -i Specify the SDP instance. This can be omitted if SDP_INSTANCE is already defined. -r Specify '-r' to replay only to P4ROOT. By default, this script replays both to P4ROOT and the offline_db. -b Specify '-b' to start the a p4broker process (if configured). By default the p4d process is started after loading the checkpoint, but the p4broker process is not. This can be useful to ensure the human administrator has an opportunity to do sanity checks before enabling the broker to allow access by end users (if the broker is deployed for this usage). -y Use the '-y' flag to bypass an interactive warning and confirmation prompt. -v Set verbosity 1-5 (-v1 = quiet, -v5 = highest). The default is 5. -L Specify the path to a log file, or the special value 'off' to disable logging. By default, all output (stdout and stderr) goes to: /tmp/load_checkpoint..log NOTE: This script is self-logging. That is, output displayed on the screen is simultaneously captured in the log file. Do not run this script with redirection operators like '> log' or '2>&1', and do not use 'tee.' -si Operate silently. All output (stdout and stderr) is redirected to the log only; no output appears on the terminal. This cannot be used with '-L off'. -D Set extreme debugging verbosity. HELP OPTIONS: -h Display short help message -man Display man-style help message -V Dispay version info for this script and its libraries. FILES: EXAMPLES: Sample Usage (bash syntax): nohup /load_checkpoint.sh /p4/1/checkpoints/p4_1.ckp.4025.gz -i 1 -y -si < /dev/null > /dev/null 2>&1 & Then, monitor with: tail -f $(ls -t $LOGS/load_checkpoint.*.log|head -1)