Skip to main content

Bare (Backup Reminder) 🐻

GitHub Actions Status

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:

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, GNOME and KDE

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-cli> check
OnlyShowIn=XFCE;GNOME;KDE;
RunHook=0
StartupNotify=false
Terminal=false
Hidden=false

Update <path-to-the-bare-cli> following your configuration.

Contributing

Run the following commands to install the dependencies:

npm install && poetry install

Tests can be run with make test and codebase can be formatted by running make format.

Have look at the Makefile for details.

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

Metadata

Release files for backup-reminder 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for backup-reminder 0.0.5
File Size Uploaded Provenance
backup_reminder-0.0.5.tar.gz 11.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for backup-reminder 0.0.5
File Interpreter ABI Platform
backup_reminder-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 22.8 kB

Release files / backup_reminder-0.0.5.tar.gz

Download URL backup_reminder-0.0.5.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
81161371d207e9234d4cda1150844a67bdb74cb0e8c706bb6219601e8062a84f
BLAKE2b-256 checksum
How to use checksums
cf629cf660262dbea6ff3fef94a946fc168d4b36d9b51f935019c913fc86f8a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.1 Linux/6.5.0-1025-azure

Release files / backup_reminder-0.0.5-py3-none-any.whl

Download URL backup_reminder-0.0.5-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07274e98d7e9a336265968b51cf5eaf54fd05147a2be3278520ce0a2f6848b3f
BLAKE2b-256 checksum
How to use checksums
1f301256be1a58980d006ca1cbc2461a022d4b3d89e5c14751ce1bd0943957ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.1 Linux/6.5.0-1025-azure

Security for backup-reminder 0.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page