Compare commits

..

No commits in common. "93baa452d5b840375b248406a6b6f815c6fb7f7d" and "0e1586e6f28469eb356d1c4c29b89b3ce546a3bc" have entirely different histories.

View file

@ -5,11 +5,8 @@ IFS=$'\n\t'
export BORG_REPO="/media/backup/"
if [ "${1:-}" = "service" ]; then
extra_args=()
if [ "$1" = "service" ]; then
rclone sync "${BORG_REPO}" gdrive-backup:hot-repo/
else
extra_args=(--progress)
rclone sync --progress "${BORG_REPO}" gdrive-backup:hot-repo/
fi
rclone sync "${extra_args[@]}" "${BORG_REPO}" gdrive-backup:hot-repo/
rclone copy "${extra_args[@]}" ~/.keys/ --include '*.kdbx' gdrive-backup:keys/