821 B
821 B
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.