hbackup
hbackup is a sample, high-performance, cross-platform backup tool written in Rust. It is designed to be fast, efficient, and easy to use, with a focus on performance and reliability.
Features
- Simple and fast file/directory backup via CLI
- Cross-platform: macOS, Linux, Windows
- Supports custom backup tasks with unique IDs
- Configuration and task management via JSON in user config directory
- Supports '~', '$HOME' and relative paths for source and target paths
Quick Start
1. Install
2. Add one or more jobs
3. List all jobs
4. Run all backed jobs
- run all jobs:
- Run the job with the specified ID:
- run a specific job with source and target:
5. Delete a job
- Delete a job by id:
- Delete all jobs:
6. Edit a job
7. configuration file
display configuration file path
bk config
- backup configutation file
- reset configuration file (The file will be automatically backed up before resetting it)
- Rollback the last backed up configuration file
Configuration File Location
- macOS/Linux:
~/.config/hbackup/hbackup.json - Windows:
C:\Users\<User>\AppData\Roaming\hbackup\hbackup.json
License
MIT