FEATURE: Add hidden setting to include S3 uploads in backups

This commit is contained in:
Gerhard Schlager
2019-07-01 20:38:36 +02:00
parent 9f5cfa192e
commit f2dc59d61f
3 changed files with 65 additions and 7 deletions

View File

@@ -167,6 +167,10 @@ module FileStore
end
end
def download_file(upload, destination_path)
@s3_helper.download_file(get_upload_key(upload), destination_path)
end
private
def get_upload_key(upload)