First sync

This commit is contained in:
BrainwreckedTech
2019-08-23 20:31:57 -04:00
parent a9c6248b05
commit c80dca759c
10 changed files with 223 additions and 1 deletions

6
bup2ssh Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env sh
HOST="${1}"
BDIR="${2}"
XZ_OPTS=-9e tar -cvpJ --one-file-system / | ssh "${HOST}" "( cat > ${BDIR}/${HOSTNAME}_$(date +%Y-%m-%d_%H:%M).tar.xz )"