├── .gitignore ├── .idea ├── dictionaries │ └── darwin.xml ├── misc.xml ├── modules.xml └── vcs.xml ├── LICENSE ├── backup-via-rsync.sh ├── backup-via-s3.sh ├── monitor.sh ├── readme.md └── service ├── control.sh ├── disable.sh ├── enable.sh ├── install.sh ├── lnd-auto-backup.service ├── logs.sh ├── restart.sh ├── start.sh ├── status.sh ├── stop.sh └── uninstall.sh /.gitignore: -------------------------------------------------------------------------------- 1 | .envrc 2 | .last_backup_checksum -------------------------------------------------------------------------------- /.idea/dictionaries/darwin.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darwin/lnd-auto-backup/HEAD/.idea/dictionaries/darwin.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darwin/lnd-auto-backup/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darwin/lnd-auto-backup/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darwin/lnd-auto-backup/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darwin/lnd-auto-backup/HEAD/LICENSE -------------------------------------------------------------------------------- /backup-via-rsync.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darwin/lnd-auto-backup/HEAD/backup-via-rsync.sh -------------------------------------------------------------------------------- /backup-via-s3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darwin/lnd-auto-backup/HEAD/backup-via-s3.sh -------------------------------------------------------------------------------- /monitor.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darwin/lnd-auto-backup/HEAD/monitor.sh -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darwin/lnd-auto-backup/HEAD/readme.md -------------------------------------------------------------------------------- /service/control.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darwin/lnd-auto-backup/HEAD/service/control.sh -------------------------------------------------------------------------------- /service/disable.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e -o pipefail 4 | 5 | cd "$(dirname "${BASH_SOURCE[0]}")" 6 | 7 | exec ./control.sh disable -------------------------------------------------------------------------------- /service/enable.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e -o pipefail 4 | 5 | cd "$(dirname "${BASH_SOURCE[0]}")" 6 | 7 | exec ./control.sh enable -------------------------------------------------------------------------------- /service/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darwin/lnd-auto-backup/HEAD/service/install.sh -------------------------------------------------------------------------------- /service/lnd-auto-backup.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darwin/lnd-auto-backup/HEAD/service/lnd-auto-backup.service -------------------------------------------------------------------------------- /service/logs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darwin/lnd-auto-backup/HEAD/service/logs.sh -------------------------------------------------------------------------------- /service/restart.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e -o pipefail 4 | 5 | cd "$(dirname "${BASH_SOURCE[0]}")" 6 | 7 | exec ./control.sh restart -------------------------------------------------------------------------------- /service/start.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e -o pipefail 4 | 5 | cd "$(dirname "${BASH_SOURCE[0]}")" 6 | 7 | exec ./control.sh start -------------------------------------------------------------------------------- /service/status.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e -o pipefail 4 | 5 | cd "$(dirname "${BASH_SOURCE[0]}")" 6 | 7 | exec ./control.sh status -------------------------------------------------------------------------------- /service/stop.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e -o pipefail 4 | 5 | cd "$(dirname "${BASH_SOURCE[0]}")" 6 | 7 | exec ./control.sh stop -------------------------------------------------------------------------------- /service/uninstall.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/darwin/lnd-auto-backup/HEAD/service/uninstall.sh --------------------------------------------------------------------------------