Download duplicity from http://duplicity.nongnu.org/
untar
cd duplicity-0.7.18
mkvirtualenv duply_backup
brew install librsync
brew install gpg
pip install fasteners
python setup install
Download duply from https://sourceforge.net/projects/ftplicity/files/duply%20%28simple%20duplicity%29/
untar
cd duply_2.1
workon duply_backup
./duply -V
duply version 2.1
(http://duply.net)
Using installed duplicity version 0.7.18, python 2.7.14 (/Users/vkanwade/.virtualenvs/duply_backup/bin/python2), gpg 2.2.10 (Home: /Users/vkanwade/.gnupg), awk 'awk version 20070501', grep 'grep (BSD grep) 2.5.1-FreeBSD', bash '3.2.57(1)-release (x86_64-apple-darwin17)'.
export DUPL_PYTHON_BIN=~/.virtualenvs/duply_backup/bin/python
export PATH="$PATH:/opt/duply_2.1/"
duply myprofile create
vim ~/.duply/myprofile/conf
#GPG_KEY='_KEY_ID_'
GPG_PW='<some random pwd generated with pwgen. store it safe, required for restore>'
TARGET='s3://< s3_prefix>< s3_region >.amazonaws.com/< s3_bucket >/duply/myprofile'
# s3_prefix: eu-central-1 's3.', else 's3-'
export AWS_ACCESS_KEY_ID='< aws_s3_backup_id >'
export AWS_SECRET_ACCESS_KEY='< aws_s3_backup_secret >'
DUPL_PARAMS="$DUPL_PARAMS --allow-source-mismatch --s3-use-new-style --s3-european-buckets "
SOURCE='/'
MAX_AGE=1M
MAX_FULLBKP_AGE=1M
DUPL_PARAMS="$DUPL_PARAMS --full-if-older-than $MAX_FULLBKP_AGE "
ARCH_DIR=~/duply-cache
NOTE: just wanted to dump the info. formatting will come.
untar
cd duplicity-0.7.18
mkvirtualenv duply_backup
brew install librsync
brew install gpg
pip install fasteners
python setup install
Download duply from https://sourceforge.net/projects/ftplicity/files/duply%20%28simple%20duplicity%29/
untar
cd duply_2.1
workon duply_backup
./duply -V
duply version 2.1
(http://duply.net)
Using installed duplicity version 0.7.18, python 2.7.14 (/Users/vkanwade/.virtualenvs/duply_backup/bin/python2), gpg 2.2.10 (Home: /Users/vkanwade/.gnupg), awk 'awk version 20070501', grep 'grep (BSD grep) 2.5.1-FreeBSD', bash '3.2.57(1)-release (x86_64-apple-darwin17)'.
export DUPL_PYTHON_BIN=~/.virtualenvs/duply_backup/bin/python
export PATH="$PATH:/opt/duply_2.1/"
duply myprofile create
vim ~/.duply/myprofile/conf
#GPG_KEY='_KEY_ID_'
GPG_PW='<some random pwd generated with pwgen. store it safe, required for restore>'
TARGET='s3://< s3_prefix>< s3_region >.amazonaws.com/< s3_bucket >/duply/myprofile'
# s3_prefix: eu-central-1 's3.', else 's3-'
export AWS_ACCESS_KEY_ID='< aws_s3_backup_id >'
export AWS_SECRET_ACCESS_KEY='< aws_s3_backup_secret >'
DUPL_PARAMS="$DUPL_PARAMS --allow-source-mismatch --s3-use-new-style --s3-european-buckets "
SOURCE='/'
MAX_AGE=1M
MAX_FULLBKP_AGE=1M
DUPL_PARAMS="$DUPL_PARAMS --full-if-older-than $MAX_FULLBKP_AGE "
ARCH_DIR=~/duply-cache
NOTE: just wanted to dump the info. formatting will come.
No comments:
Post a Comment