Add storage class option for AWS S3 to specify storage class to be used
This commit is contained in:
parent
17b3f70063
commit
491b045599
2 changed files with 11 additions and 0 deletions
|
|
@ -138,6 +138,16 @@ DEST="s3+http://foobar-backup-bucket/backup-folder/"
|
|||
#
|
||||
#AWS_ACCESS_KEY_ID="foobar_aws_key_id"
|
||||
#AWS_SECRET_ACCESS_KEY="foobar_aws_access_key"
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# SET STORAGE CLASS for AWS
|
||||
# ------------------------------------------------------------------------------
|
||||
# The defaulct storage class is STANDARD STORAGE. You can comment this option if
|
||||
# want to go with standard. The other storage options are --s3-use-ia and --s3-use-rrs.
|
||||
# Note: --s3-use-ia option is supported only in duplicity version greater than 0.7.06
|
||||
|
||||
#STORAGECLASS="--s3-use-ia"
|
||||
|
||||
#
|
||||
# S3CMD INFORMATION
|
||||
# Most people don't need this, but in some cases
|
||||
|
|
|
|||
|
|
@ -566,6 +566,7 @@ duplicity_backup()
|
|||
{
|
||||
{
|
||||
eval ${ECHO} ${DUPLICITY} ${OPTION} ${VERBOSITY} ${STATIC_OPTIONS} \
|
||||
${STORAGECLASS} \
|
||||
${ENCRYPT} \
|
||||
${EXCLUDE} \
|
||||
${INCLUDE} \
|
||||
|
|
|
|||
Loading…
Reference in a new issue