An open API service indexing awesome lists of open source software.

https://github.com/dries007/serverbackups

Simple, but capable, backup script intended for use on servers.
https://github.com/dries007/serverbackups

backup backup-cli backup-script bash borg borgbackup server

Last synced: 8 months ago
JSON representation

Simple, but capable, backup script intended for use on servers.

Awesome Lists containing this project

README

          

# Server Backups

Backup script & system for my server.

It comes with a free 100GB storage box that I use for backups.

Based on [Hetzner's guide](https://community.hetzner.com/tutorials/install-and-configure-borgbackup).

TL;DR: The backup.sh script is a DIY solution that makes a bunch of pattern files by running `scripts/*`.
Those patterns are fed to Borg which does compression and deduplication.

Feel free to fork and use as you see fit. Released under The Unlicense.

## Setup

Some important settings in Hetznet control panel:

- **Disable external access**
- Enable SSH support (for Borg)

Add an ssh config entry with the correct hostname, user and ssh key.

The script assumes the ssh connection can be setup using `backups` as host.
The path is set to `./borg/

## Automation

Automate the main script with cron.