I just got an update of duplicity via snap to version 0.8.15.
Running my backup script resulted in the following error:
```
Traceback (innermost last):
File "/snap/duplicity/111/bin/duplicity", line 104, in <module>
with_tempdir(main)
File "/snap/duplicity/111/bin/duplicity", line 90, in with_tempdir
fn()
File "/snap/duplicity/111/lib/python3.6/site-packages/duplicity/dup_main.py", line 1518, in main
action = commandline.ProcessCommandLine(sys.argv[1:])
File "/snap/duplicity/111/lib/python3.6/site-packages/duplicity/commandline.py", line 1200, in ProcessCommandLine
backup, local_pathname = set_backend(args[0], args[1])
File "/snap/duplicity/111/lib/python3.6/site-packages/duplicity/commandline.py", line 1071, in set_backend
config.backend = backend.get_backend(bend)
File "/snap/duplicity/111/lib/python3.6/site-packages/duplicity/backend.py", line 223, in get_backend
obj = get_backend_object(url_string)
File "/snap/duplicity/111/lib/python3.6/site-packages/duplicity/backend.py", line 209, in get_backend_object
return factory(pu)
File "/snap/duplicity/111/lib/python3.6/site-packages/duplicity/backends/s3_boto3_backend.py", line 85, in __init__
self.reset_connection()
File "/snap/duplicity/111/lib/python3.6/site-packages/duplicity/backends/s3_boto3_backend.py", line 93, in reset_connection
self.s3 = boto3.resource(u's3', region_name=config.s3_region_name, endpoint_url=config.s3_endpoint_url)
AttributeError: module 'duplicity.config' has no attribute 's3_region_name'
```
Hi,
I just got an update of duplicity via snap to version 0.8.15.
Running my backup script resulted in the following error: duplicity/ 111/bin/ duplicity" , line 104, in <module> tempdir( main) duplicity/ 111/bin/ duplicity" , line 90, in with_tempdir duplicity/ 111/lib/ python3. 6/site- packages/ duplicity/ dup_main. py", line 1518, in main ProcessCommandL ine(sys. argv[1: ]) duplicity/ 111/lib/ python3. 6/site- packages/ duplicity/ commandline. py", line 1200, in ProcessCommandLine args[0] , args[1]) duplicity/ 111/lib/ python3. 6/site- packages/ duplicity/ commandline. py", line 1071, in set_backend get_backend( bend) duplicity/ 111/lib/ python3. 6/site- packages/ duplicity/ backend. py", line 223, in get_backend object( url_string) duplicity/ 111/lib/ python3. 6/site- packages/ duplicity/ backend. py", line 209, in get_backend_object duplicity/ 111/lib/ python3. 6/site- packages/ duplicity/ backends/ s3_boto3_ backend. py", line 85, in __init__ reset_connectio n() duplicity/ 111/lib/ python3. 6/site- packages/ duplicity/ backends/ s3_boto3_ backend. py", line 93, in reset_connection u's3', region_ name=config. s3_region_ name, endpoint_ url=config. s3_endpoint_ url)
```
Traceback (innermost last):
File "/snap/
with_
File "/snap/
fn()
File "/snap/
action = commandline.
File "/snap/
backup, local_pathname = set_backend(
File "/snap/
config.backend = backend.
File "/snap/
obj = get_backend_
File "/snap/
return factory(pu)
File "/snap/
self.
File "/snap/
self.s3 = boto3.resource(
AttributeError: module 'duplicity.config' has no attribute 's3_region_name'
```
*Actual behaviour* /gitlab. com/duplicity/ duplicity/ -/merge_ requests/ 19 made the parameters `s3-region-name` and `s3-endpoint-url` mandatory, which breaks existing AWS S3 setups.
It seems like the changes introduced via https:/
*Expected behaviour*
These parameters should be optional.
*Duplicity version*: 0.8.15
*Python version*: 3.6
*OS distro and version*: Ubuntu 20.04
*Target filesystem*: Linux to AWS S3
Thanks for your work!