This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Backup selected directories to a Backblaze B2 bucket | |
# | |
# If youre encountering errors running the script you probably need Bash 4.0 | |
# | |
# You need to login to your b2 account once with b2 authorize-account [<accountId>] [<applicationKey>] before running it. | |
# | |
# Example daily cron running script.sh in home directory: | |
# @daily /usr/local/bin/bash ~/script.sh |