No project description provided
Project description
Bare (Backup Reminder) 🐻
A simple CLI tool that can be used as a backup reminder for your laptop backups.
This CLI does not perform any backup for you. It is just a CLI that can be used to check the last time a backup was done and remind you if a new backup is needed.
You can use one of the following tools to perform backups for instance:
- Back In Time (for your HOME folder for instance)
- Timeshift (for system backups)
- Restic (combined with Autorestic)
Installation
With pipx
pipx install backup-reminder
Usage
Initialization
After installing, run bare init
to generate the configuration file.
This generates a configuration file named last-backup.yaml
in
your HOME directory.
You can change the backup_interval
value (how many days between two backups)
in the configuration file following your needs. By default the value is 5
(backup every 5 days).
Check if a backup is needed
Simply run bare check
to know if a new backup is needed.
A system notification is displayed if a new backup is needed.
If a backup is needed, perform your backup and then run bare commit
to
commit your backup.
Perform check on login
You can for instance make your session manager run bare check
after login.
By doing it this way, a check is performed on every login and you get notified
if a new backup is needed.
XFCE and GNOME
Simply create a file in the path ~/.config/autostart/Backup Reminder.desktop
with the following content:
[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=Backup Reminder
Comment=Checks if a backup is needed
Exec=<path-to-the-bare-binary> check
OnlyShowIn=XFCE;
RunHook=0
StartupNotify=false
Terminal=false
Hidden=false
Update <path-to-the-bare-binary>
following your configuration.
Attribution
The logo is the result of the transformation of the following original image designed by: Christie L. Ward, CC BY-SA 3.0 https://creativecommons.org/licenses/by-sa/3.0, via Wikimedia Commons
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file backup_reminder-0.0.2.tar.gz
.
File metadata
- Download URL: backup_reminder-0.0.2.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.10.8-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f87c8bf7d1eb196f1ebbecb27e9284f156e0abb75e0c95bbcde1be20e0e5428d |
|
MD5 | cb0ef6850d90c6d241c6f1f1e419c1c7 |
|
BLAKE2b-256 | 6d7c087d80f36557c844f4d2429539cbbfc6b2c63c71c632d0a079e34461a5ac |
File details
Details for the file backup_reminder-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: backup_reminder-0.0.2-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.10.8-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | faf067a6b9a75a0f71d31972f91ec042a539eefbe15b8cac70bfcc35892f8a5f |
|
MD5 | a85a67262d49ee12b6f6b56fba0b2c8e |
|
BLAKE2b-256 | 38dbe052a10e8d7e4ac9f5e957d142f1aa031518f4ed2518b6849efdd8048f6a |