proxy settings
parent
153d3623e1
commit
36bf63acdb
|
|
@ -278,8 +278,8 @@ if(len(sys.argv) == 2):
|
|||
s3 = boto3.client('s3')
|
||||
|
||||
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!")
|
||||
sys.exit(0)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue