proxy settings

master
rforstner 2022-01-31 09:27:26 +01:00
parent 36bf63acdb
commit 52c5275634
1 changed files with 2 additions and 1 deletions

View File

@ -278,7 +278,8 @@ if(len(sys.argv) == 2):
s3 = boto3.client('s3') s3 = boto3.client('s3')
with open(outputFolder+"/"+timestamp + "_" +env+'.zip', 'rb') as data: with open(outputFolder+"/"+timestamp + "_" +env+'.zip', 'rb') as data:
s3.upload_fileobj(data, str(os.getenv("AWS_S3_BUCKET"), 'backups/'+timestamp + "_" +env+'.zip')) #TODO: Make s3 bucket name configurable over environment variables s3.upload_fileobj(data, str(os.getenv("AWS_S3_BUCKET")), 'backups/'+timestamp + "_" +env+'.zip') #TODO: Make s3 bucket name configurable over environment variables
print("Finished!") print("Finished!")
sys.exit(0) sys.exit(0)