����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# Create RSYNC_PREFIX/backup on remote rsync server
# RSYNC_PREFIX=$HOSTNAME as set in default.conf
local proto host
proto="$(rsync_proto "$BACKUP_URL")"
host="$(rsync_host "$BACKUP_URL")"
mkdir -p $v -m0750 "${TMP_DIR}/rsync/${RSYNC_PREFIX}" >&2 || Error "Could not mkdir '${TMP_DIR}/rsync/${RSYNC_PREFIX}'"
mkdir -p $v -m0755 "${TMP_DIR}/rsync/${RSYNC_PREFIX}/backup" >&2 || Error "Could not mkdir '${TMP_DIR}/rsync/${RSYNC_PREFIX}/backup'"
case $proto in
(ssh)
$BACKUP_PROG -a $v -r "${TMP_DIR}/rsync/${RSYNC_PREFIX}" "$(rsync_remote "$BACKUP_URL")" >/dev/null 2>&1 \
|| Error "Could not create '$(rsync_path_full "$BACKUP_URL")' on remote ${host}"
;;
(rsync)
$BACKUP_PROG -a $v -r "${TMP_DIR}/rsync/${RSYNC_PREFIX}" "${BACKUP_RSYNC_OPTIONS[@]}" "$(rsync_remote "$BACKUP_URL")/" >/dev/null \
|| Error "Could not create '$(rsync_path_full "$BACKUP_URL")' on remote ${host}"
;;
esac
# We don't need it anymore, from now we operate on the remote copy
rmdir $v "${TMP_DIR}/rsync/${RSYNC_PREFIX}/backup"
rmdir $v "${TMP_DIR}/rsync/${RSYNC_PREFIX}"
| 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 |
|