{"id":20471754,"url":"https://github.com/signiant/s3-sync","last_synced_at":"2025-03-05T13:44:16.625Z","repository":{"id":34111702,"uuid":"37941130","full_name":"Signiant/s3-sync","owner":"Signiant","description":"Syncs multiple paths from S3 with the local container (or host)","archived":false,"fork":false,"pushed_at":"2015-12-07T14:12:28.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-16T02:23:40.552Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Signiant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-23T19:48:25.000Z","updated_at":"2015-12-08T10:49:19.000Z","dependencies_parsed_at":"2022-07-29T20:39:34.062Z","dependency_job_id":null,"html_url":"https://github.com/Signiant/s3-sync","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Signiant%2Fs3-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Signiant%2Fs3-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Signiant%2Fs3-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Signiant%2Fs3-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Signiant","download_url":"https://codeload.github.com/Signiant/s3-sync/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242039536,"owners_count":20061924,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T14:17:10.019Z","updated_at":"2025-03-05T13:44:16.600Z","avatar_url":"https://github.com/Signiant.png","language":"Shell","readme":"# s3-sync\nSyncs multiple paths from S3 with the local container (or host datavolume)\n\n## Variables\n\n- VERBOSE - enable more logging if set to 1\n- FREQUENCY - How often to sync from S3 (in seconds). Default is 300 seconds.\n\n## Config format\nThe tool to sync the S3 paths reads a config file containing the S3 folder and the local path to sync it to.  The format is as follows:\n\n````\n( [s3]=S3BUCKET/folder [local]=/my/local/path1 )\n( [s3]=S3BUCKET/folder2 [local]=/my/local/path2 )\n````\n\nEach S3/local path pair should be on a seperate line.\n\n## Example Docker runs\n\n### On AWS (uses role credentials)\n\nThis example mounts the file paths.dat on the docker host into /paths.dat in the container and then passes that as the argument to the s3 sync tool.\n\n````\ndocker run -d -e \"FREQUENCY=600\"\t\t\t\\\n\t\t-e \"VERBOSE=1\"\t\t\t\t\\\n\t\t-v mylocaldir/paths.dat:/paths.dat\t\\\n\t\tsigniant/s3-sync\t\t\t\\\n\t\t/paths.dat\n````\n\n### Outside AWS (needs access/secret key)\n\nThis example mounts the file paths.dat on the docker host into /paths.dat in the container and then passes that as the argument to the s3 sync tool.\n\n````\ndocker run -d \t-e \"FREQUENCY=600\"\t\t\t\\\n\t\t-e \"VERBOSE=1\"\t\t\t\t\\\n\t\t-e \"AWS_ACCESS_KEY_ID=MY_ACCESS_KEY\t\\\n\t\t-e \"AWS_SECRET_ACCESS_KEY=MY_SECRET\t\\\n\t\t-v mylocaldir/paths.dat:/paths.dat\t\\\n\t\tsigniant/s3-sync\t\t\t\\\n\t\t/paths.dat\n````\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsigniant%2Fs3-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsigniant%2Fs3-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsigniant%2Fs3-sync/lists"}