https://github.com/isaachhk02/totp-autobackup
Make backups of totp-cli automatically using systemd
https://github.com/isaachhk02/totp-autobackup
Last synced: 3 months ago
JSON representation
Make backups of totp-cli automatically using systemd
- Host: GitHub
- URL: https://github.com/isaachhk02/totp-autobackup
- Owner: isaachhk02
- Created: 2024-11-14T22:51:59.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-15T00:08:07.000Z (7 months ago)
- Last Synced: 2024-11-15T00:18:06.298Z (7 months ago)
- Language: C#
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## TOTP-AUTOBACKUP
# Make backups from totp-cli automatically# How to install
# WARNING: Make sure installed totp-cli in
`$HOME/go/bin` and added to PATHFor more information see:
https://github.com/yitsushi/totp-cliFedora:
`sudo dnf install ./totp-autobackup.1.0.0.rpm`
Debian:
`sudo apt install ./totp-autobackup.1.0.0.deb`
# Configuration
If you run totp-autobackup for first time the program creates the configuration automatically in `/home/$USER/.config/totp-autobackup/minute` and `/home/$USER/.config/totp-autobackup/dir`
This files corresponds the configuration files like:
`dir`: It's the output directory for save the backups
`minute`: Every few minutes the backups will be saved.In dir file open with text editor and write the path you want for save the backups.
In minutes: Set every x minute to save backups.When the program detects the current time + minutes specified on `minute` file. Starts make the backups.
# How to enable?
`totp-autobackup --enable`
# How to disable?
`totp-autobackup --disable`