Skip to content

Instantly share code, notes, and snippets.

View AlexanderProd's full-sized avatar
⚛️
Looking at FLIR images.

Alexander Hörl AlexanderProd

⚛️
Looking at FLIR images.
View GitHub Profile
@AlexanderProd
AlexanderProd / backblaze b2 backup script
Last active June 4, 2024 11:26 — forked from scottlinux/backblaze b2 backup script
Backup script for backblaze working with backlaze b2 command line tool
#!/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