All Projects → mannkind → borg-rclone-autobackup

mannkind / borg-rclone-autobackup

Licence: MIT license
Easily automate backups using Borg + RClone

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects
shell
77523 projects

Projects that are alternatives of or similar to borg-rclone-autobackup

ansible-role-borgbackup
No description or website provided.
Stars: ✭ 13 (-48%)
Mutual labels:  backup, borgbackup
MailcowBackup
Script to backup/restore Mailcow and the host system using borgbackup. Handles 503 error page generation, mailflow stop/restart, SQL database dump, borg backup and prune and integrates with Logwatch for easy monitoring.
Stars: ✭ 28 (+12%)
Mutual labels:  backup, borgbackup
netbackup
A frontend for various backup programs (rsync, rdiff-backup, rclone) that simplifies local and remote backups.
Stars: ✭ 15 (-40%)
Mutual labels:  backup, rclone
Bash-Backup-Script
A small script to upload backup tar to an external storage service
Stars: ✭ 21 (-16%)
Mutual labels:  backup, rclone
borgjs
📦 A tiny wrapper for BorgBackup to automate your backup workflow
Stars: ✭ 31 (+24%)
Mutual labels:  backup, borgbackup
minio-rclone-webdav-server
A @rclone served WebDAV server with @minio as the s3 storage backend docker example
Stars: ✭ 17 (-32%)
Mutual labels:  backup, rclone
PyFiSync
Python (+ rsync or rclone) based intelligent file sync with automatic backups and file move/delete tracking.
Stars: ✭ 88 (+252%)
Mutual labels:  backup, rclone
Git S3 Push
Deploy your git repo to an S3 bucket
Stars: ✭ 182 (+628%)
Mutual labels:  backup
Tumblthree
A Tumblr Backup Application
Stars: ✭ 211 (+744%)
Mutual labels:  backup
Weresync
Clones Linux hard drives incrementally or to a smaller drive
Stars: ✭ 180 (+620%)
Mutual labels:  backup
Gitlabber
Gitlabber - clones or pulls entire groups tree from gitlab
Stars: ✭ 176 (+604%)
Mutual labels:  backup
Node Firestore Backup
Google Firebase Firestore backup tool
Stars: ✭ 192 (+668%)
Mutual labels:  backup
Duplicacy Autobackup
💾 Painless automated backups to multiple storage providers with Docker and duplicacy.
Stars: ✭ 214 (+756%)
Mutual labels:  backup
Zfsbackup Go
Backup ZFS snapshots to cloud storage such as Google, Amazon, Azure, etc. Built with the enterprise in mind.
Stars: ✭ 179 (+616%)
Mutual labels:  backup
Bivac
🏕 📦 Backup Interface for Volumes Attached to Containers
Stars: ✭ 245 (+880%)
Mutual labels:  backup
Mysql Dump
MySQL Dump Utility
Stars: ✭ 178 (+612%)
Mutual labels:  backup
Elkarbackup
Open source backup solution for your network
Stars: ✭ 247 (+888%)
Mutual labels:  backup
Docker Gphotos Sync
A Docker image for synchronizing your original-quality Google Photos
Stars: ✭ 241 (+864%)
Mutual labels:  backup
Consul Backinator
Command line Consul backup and restore utility supporting KVs, ACLs and Queries
Stars: ✭ 206 (+724%)
Mutual labels:  backup
Dmarchiver
A tool to archive the direct messages, images and videos from your private conversations on Twitter
Stars: ✭ 204 (+716%)
Mutual labels:  backup

Borg + RClone Autobackup

Easily automate backups using Borg + RClone.

Usage Examples

Docker Run

docker run \
    -v /home/mannkind:/data:ro \
    -e BACKUP_NAME="frodo" \
    -e BACKUP_LOCATION="b2:AllMyBorgBackups/frodo" \
    -e BACKUP_SCHEDULE="0 2 * * *" \
    -e BACKUP_ENCRYPTION_KEY="One ring to rule them all oh you know the rest" \
    -e BACKUP_PRUNE="--keep-daily=7 --keep-weekly=4" \
    -e BACKUP_NOW="true" \
    -e B2_ID="kiacup6326is" \
    -e B2_KEY="12xd5t3891tqh1qqw1qq3kmhl9hbd9lfugz2j32d" \
    --restart unless-stopped \
    mannkind/borg-rclone-autobackup

Docker Compose

version: 3
services:
    borg-rclone-autobackup:
        image: mannkind/borg-rclone-autobackup
        restart: unless-stopped
        volumes:
            - "/home/mannkind:/data:ro"
        environment:
            BACKUP_NAME: "frodo"
            BACKUP_LOCATION: "b2:AllMyBorgBackups/frodo"
            BACKUP_SCHEDULE: "0 2 * * *"
            BACKUP_ENCRYPTION_KEY: "One ring to rule them all one ring to find them one ring to bring them all and in the darkness bind them"
            BACKUP_PRUNE: "--keep-daily=7 --keep-weekly=4"
            BACKUP_NOW: "true"
            B2_ID: "kiacup6326is"
            B2_KEY:"12xd5t3891tqh1qqw1qq3kmhl9hbd9lfugz2j32d"

Volumes

The following volumes can be used

  • /data - The data to backup
  • /backups - The location of the backups; backup in the container by default

Environment Variables

The following environment variables setup Borg

  • BACKUP_NAME: The backup name
  • BACKUP_ENCRYPTION_KEY: The backup encryption key
  • BACKUP_SCHEDULE: Cron scheduled string
  • BACKUP_LOCATION: The backup location e.g. b2:my-backup/some-host
  • BACKUP_PRUNE: The backup prune string e.g. --keep-daily=7 --keep-weekly=4
  • BACKUP_NOW: Runs the backup immediately, instead of waiting for the scheduled time

The following environment variables setup B2 as the RClone target

  • B2_ID: The backblaze id
  • B2_KEY: The backblaze key

The following environment variables set up Google Cloud Storage as the RClone target:

  • GCS_PROJECT_NUMBER: The project number for your Google Cloud project.

Mount a Google Cloud service account private key, in json format, to /google-service-account.json and for the backup location, use format gcs:<bucketname>/<path>.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].