627 shaares
Pour sauvegarder sur S3 avec Deja Dup sur Ubuntu:
- create your bucket on S3 without 'dot' in the name (https://github.com/boto/boto/issues/2836)
- create your iam user and attach it the following iam policy:
{"Version": "2012-10-17","Statement": [ {"Effect": "Allow","Action": ["s3:ListAllMyBuckets","s3:GetBucketLocation","s3:ListBucket"], "Resource": ["arn:aws:s3:::<MY-BUCKET-NAME>"]}, {"Effect": "Allow","Action": ["s3:DeleteObject","s3:GetObject","s3:PutObject"], "Resource": ["arn:aws:s3:::<MY-BUCKET-NAME>"]}, ]}
sudo apt install python-boto python-cloudfiles dconf-tools
- open deja-dup and select Storage -> S3 then enter your AWS Access Key
- edit the bucket name used by deja-dup with dconf:
dconf write /org/gnome/deja-dup/s3/bucket "'<MY-BUCKET-NAME>'"
- restart deja-dup then launch backup (your AWS Secure Key will be asked