docker-s3-volume icon indicating copy to clipboard operation
docker-s3-volume copied to clipboard

Restore on period?

Open hongkongkiwi opened this issue 3 years ago • 1 comments

Can you add a flag for period restore?

I'm using the data volume as a read-only volume so I don't mind to blow it away and restore from the S3 bucket on a period. e.g. every 5 mins if there are changes.

hongkongkiwi avatar Sep 01 '20 13:09 hongkongkiwi

@hongkongkiwi

~~It looks like the script uses an undocumented BACKUP_INTERVAL environment variable, defaulting to 42 seconds (reference). I believe that should be able to give the functionality you are looking for.~~

Nevermind: Your comment is asking about "restore" (S3 --> local volume), not "backup" (local volume --> S3).

lstellway avatar Mar 18 '22 15:03 lstellway