GIT-based backup tool
To use this package, run the following command in your project's root directory:
Put the following dependency into your project's dependences section:
Simple GIT based backup tool written in D
Compilation of this repository requires dlang.
- Clone this repo and build it with
dub build -b release
- Copy created binary
./bin/backpackto somewhere in your path, for example
- Or build project with
dub build backpack -b release -c installto automatically move compiled binary into
- Go to releases and download binary.
- Copy downloaded binary
backpackto somewhere in your path, for example
- Install with any aur helper of your choice. Assuming you have
yay -Syu backpack
- Fetch package with
dub fetch backpack
- Build and install into
dub build backpack -b release -c install
Backpack keeps configuration in
~/.config/backpack/backup_list in format
- To add new path to list use
-aflag. You also can set custom origin with
-oand custom branch with
-B, otherwise origin of
masterwill be assumed.
- To remove existing path use
- To start backup use
Add current folder to paths:
backpack -a .
Add folder to path with custom branch and origin:
backpack -B main -o customOriginAlias -a projectFolder
Remove current folder from paths:
backpack -r .
- Registered by Alisa Lain
- 1.1.1 released 10 months ago
- Copyright © 2023, Alisa Lain