Simple backup script to a USB device
Find a file
2025-05-18 10:07:31 +03:00
locales Add help and update readme 2025-05-18 01:13:27 +03:00
LICENSE Initial commit 2025-05-17 21:07:31 +02:00
README.md Add help and update readme 2025-05-18 01:13:27 +03:00
simple_backup.sh Add removal of old backups 2025-05-18 10:07:31 +03:00

simple_backup

Description

Simple backup script that will do a backup with Restic into a USB disk every time the drive is connected (or any other USB device you select).

Installation

Just running the script will install the necessary files (restic, udev rule and user's systemd unit file) and run a first backup to initialize the respository.

Monitoring

You can monitor the execution with:

journalctl -f --user  -u simple_backup@*

Configuration

The script will ask the necessary questions to create a configuration file if it can't be found. And if you want to reconfigure it run it with --reconfigure and it will ignore any existing configuration file.

Localization

You can create your own translations in the locales folder. Provided a translation to Spanish-Spain as an example.