dotfiles/.bin/OLD/KAPUTT/backup_laptop.sh

11 lines
253 B
Bash
Executable File

#!/bin/sh
#
DATE="$(date +%F_%H-%M-%S)"
SRC="/"
DST="sdk@192.168.1.20:/tank/BACKUP/"
ROPTS="--archive --human-readable --progress --size-only"
rsync --archive --human-readable --progress --size-only --link-dest $PWD/current source "$PWD/destination"