![]() ![]() You could also just ignore this part and check the logs periodically, or find some other alerting system. ![]() Google how to do this if you don't know already. For that to work, you have to have postfix or another MTA set up in the jail. The if/else/fi bit at the end is sending an email telling me if the backup succeeded or failed (the absence of an email overnight means the backup didn't run). Please check the logs." | /usr/bin/mail -s "rclone backup error" $ ![]() I used the following command to do sync \Įcho "An error occurred. You likely want to use something like "screen" to run this in a terminal you can later detatch from and come back to. Copy the rclone binary to /usr/local/bin if you prefer to avoid typing the path each time.Ħ) Configure rclone to talk to your B2 bucket. ![]() Copy it into your jail (or download it via curl in your jail itself). You likely want the FreeBSD AMD64 binary. I think the bucket name as to be globally unique on B2 (waa?).ĥ) Download rclone from. Only needed if you want email alerts of successful/failed backups.Ĥ) Sign up to Backblaze B2 and create a "bucket" for your backups.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |