Skip to content

Instantly share code, notes, and snippets.

View Sol1du2's full-sized avatar
🏠
Working from home

João Gouveia Sol1du2

🏠
Working from home
View GitHub Profile
@Sol1du2
Sol1du2 / backup-edi.sh
Created December 13, 2021 14:26
A backup script for my IOTstack services. I call the system EDI hence the name of the file :)
#!/bin/sh
# Note: If a password exists for the ssh connection this will be queried every
# time we connect via rsync which can be annoying. Consider a public/private
# key solution without a passphrase if you want to automate it.
set -e
if [ $# -lt 2 ]; then
echo "Usage: backup-edi.sh <host> <destination>"

Keybase proof

I hereby claim:

  • I am sol1du2 on github.
  • I am sol1dus (https://keybase.io/sol1dus) on keybase.
  • I have a public key ASChPqMtV8iMU9w0gZmi7zlyY4k9SzqffAljtPH8geJYUwo

To claim this, I am signing this object: