git clone https://github.com/galperins4/snappy
bash install.sh
#optional - configure AWS CLI for S3 upload/downloads
python3 snappy.py --configureAWS
#optional - configure BackBlaze CLI for B2 upload/downloads
python3 snappy.py --authorizeB2
Run the script with the appropriate command as follows: python3 snappy.py --flag
. For available options use the --help
flag
There is also a bash script snappy.sh
that has also been included. You can copy the file to your home directory and add the following to crontab /bin/bash $HOME/snappy.sh > /dev/null 2>&1
in addition to the frequency desired. This will run at a frequency based on the frequency set in crontab.
If using cloud functionality to back-up make sure to fill out config file in the config folder with bucket names for the relevant service.
For AWS: Make sure your IAM user you are using credentials for has access to S3 Buckets.
For BackblazeB2: Make sure to set up an application key with write-access and bucket lifecycle is set to last version only
- to be determined
- updated for Ark Core 3.0
- updated to support Ark Core 2.2 and new core-CLI snapshot change
- updated to support new typescript core
- refactor a little more
- Added BackBlaze class functionality to back-up/restore snapshots to/from a BackBlaze B2 bucket
- refactor CLI functions into a seperate utility class
- Added AWS class and functionality to back-up/restore snapshots to/from an AWS S3 bucket
- initial release
If you discover a security vulnerability within this package, please open an issue. All security vulnerabilities will be promptly addressed.