Documentation
Usage
glesha -input INPUT -config CONFIG_PATH -output OUTPUT
Description
Archives the given file or directory into a .tar.gz
file, stores encrypted metadata in SQLite and uploads to AWS Glacier Deep Archive.
Options
-
-provider [COMMA_SEPARATED_BACKENDS]
Which cloud storage provider to use. Defaults to none. Currently supports:
aws
-
-input <path>
Path to file or directory to archive (required)
-
-output <path>
Path to directory where archive should be generated (required)
-
-config <path>
Path to
config.json
file (required) -
-verbose
Print more debug information
-
-version
Prints version
-
-assume-yes
Assume yes to all yes/no prompts
Examples
1. Just archive, don't upload
glesha -input ./dir_to_upload -c ~/.config/glesha/config.json
2. Archive and upload to AWS
glesha -input ./dir_to_upload -c ~/.config/glesha/config.json -provider aws
Configuration
Glesha looks for configuration file at XDG_CONFIG_DIR
for linux and macos, and %APPDATA%
on windows.
Here's a sample configuration -