https://github.com/aggrathon/simple_backup

An application for doing backups

https://github.com/aggrathon/simple_backup

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.8%) to scientific vocabulary

Keywords

application backup rust
Last synced: 6 months ago · JSON representation

Repository

An application for doing backups

Basic Info
  • Host: GitHub
  • Owner: Aggrathon
  • License: mit
  • Language: Rust
  • Default Branch: master
  • Homepage:
  • Size: 461 KB
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 9
Topics
application backup rust
Created almost 5 years ago · Last pushed about 1 year ago
Metadata Files
Readme License

README.md

simple_backup

Tests Builds

A minimal application for doing backups.

Features

  • [X] No propriety formats, the backups are saved in a normal compressed archives.
  • [X] Modern, state-of-the-art compression using zstd.
  • [X] Optional multithreading for increased performance. <!--></!-->
  • [X] Incremental backups (using the "last changed" metadata from the files).
  • [X] Selective restores (only deleted files, only selected files, or all files).
  • [X] Merge old backups to save sapace. <!--></!-->
  • [X] Command line interface (declare includes, excludes, and regex-filters).
  • [X] Configurations can be saved for easy reuse (e.g. for incremental backups).
  • [X] Graphical user interface.

Binaries

Precompiled binaries (for Linux, Windows, and Mac) can be found on the releases page (no installation required).

Usage

GUI

Just run the program and select what to do (assuming it has been compiled without disabling the GUI).

screenshot

Command line

For doing backups from command line run simple_backup direct [PARAMS]. To create a config file run simple_backup config <CONFIG> [PARAMS] and then simple_backup backup <CONFIG> to do a backup based on the config. Finally, to restore from a backup run simple_backup restore <PATH> [PARAMS]. More detailed instructions is available with the help parameter: simple_backup --help (also works for sub commands such as simple_backup restore --help).

Example:

```{sh} cd /tmp mkdir dir touch test1.txt dir/test2.txt dir/test3.txt

simplebackup config config.yml --include test.txt dir --exclude dir/test2.txt --output . simplebackup backup config.yml

rm test1.txt dir/test2.txt dir/test3.txt dir -r

simple_backup restore config.yml

[ -f test1.txt ] && echo "test1.txt was restored." [ ! -f dir/test2.txt ] && echo "test2.txt was excluded." [ -f dir/test3.txt ] && echo "test3.txt was restored."

rm backup_*.tar.zst config.yml test1.txt dir/test3.txt dir -r ```

Compilation

Download this repo and run: cargo build --release. To compile a version without the GUI add: --no-default-features.

Owner

  • Name: Anton Björklund
  • Login: Aggrathon
  • Kind: user
  • Company: @edahelsinki

GitHub Events

Total
  • Release event: 6
  • Watch event: 1
  • Delete event: 5
  • Push event: 15
  • Create event: 6
Last Year
  • Release event: 6
  • Watch event: 1
  • Delete event: 5
  • Push event: 15
  • Create event: 6

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

Cargo.toml cargo
  • tempfile 3.3.0 development
  • chrono 0.4.23
  • clap 4.0.30
  • dirs 4.0.0
  • iced 0.6.0
  • indicatif 0.17.2
  • num_cpus 1.15.0
  • number_prefix 0.4.0
  • path-absolutize 3.0.14
  • path-clean 0.1.0
  • regex 1.7.0
  • rfd 0.10.0
  • serde 1.0.151
  • serde_yaml 0.9.16
  • tar 0.4.38
  • yaml-rust 0.4.5
  • zstd 0.12.1
Cargo.lock cargo
  • 387 dependencies
.github/workflows/build.yml actions
  • actions/checkout v4 composite
  • actions/upload-artifact v4 composite
  • softprops/action-gh-release v2.1.0 composite
.github/workflows/test.yml actions
  • actions/checkout v4 composite