Create incremental, compressed & encrypted, tar snapshots, automatically uploaded to AWS S3 Glacier Deep Storage
Run the script to create the configuration files, located at /root/tar-snapshot-config
AWS_ACCESS_KEY_ID
IAM access key idAWS_SECRET_ACCESS_KEY
IAM access keyAWS_DEFAULT_REGION
region of bucketAWS_BUCKET_NAME
bucket nameSECRET_MASTER_KEY
password to encrypt files withSECRET_MASTER_KEY_HINT
password hint (such as argon2 parameters) that is added to the tags of uploaded AWS files
Functions must start with injector_
and are called with the parameter "$1" which specifies the directory that will be added to the created tarball in its /injected
directory.
Contains a list of files to exclude, asterisks *
match backslashes /
. Files inside the configuration directory that match exclude*.list
are also included.
Files to include in archive
AWS Glacier Deep Archive costs $0.00099 per GB/month. That is equivalent to $1.20 per 100 GB/year