{"id":24929818,"url":"https://github.com/traptitech/s3-backup-helper","last_synced_at":"2025-03-28T13:28:56.776Z","repository":{"id":262407218,"uuid":"887124564","full_name":"traPtitech/s3-backup-helper","owner":"traPtitech","description":"オブジェクトストレージのバックアップツール","archived":false,"fork":false,"pushed_at":"2024-12-07T07:33:36.000Z","size":70,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-02T13:51:54.071Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/traPtitech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-12T07:58:51.000Z","updated_at":"2024-12-07T07:33:40.000Z","dependencies_parsed_at":"2024-11-12T09:41:34.240Z","dependency_job_id":null,"html_url":"https://github.com/traPtitech/s3-backup-helper","commit_stats":null,"previous_names":["traptitech/s3-backup-helper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traPtitech%2Fs3-backup-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traPtitech%2Fs3-backup-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traPtitech%2Fs3-backup-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traPtitech%2Fs3-backup-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/traPtitech","download_url":"https://codeload.github.com/traPtitech/s3-backup-helper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246036828,"owners_count":20713300,"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":"2025-02-02T13:51:56.090Z","updated_at":"2025-03-28T13:28:56.751Z","avatar_url":"https://github.com/traPtitech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# s3-backup-helper\n オブジェクトストレージのバックアップツール\n\n S3バケットごとにGCSバケットを作成し、各オブジェクトをSnappyで圧縮してアップロード、全て完了したらtraQにWebhookを送信します。\n\n# 実行\n## バックアップ\n ```go\n go run .\n ```\n\n## 復元\n ```go\n go run restore/main.go\n ```\n `GCS_BUCKET`から`S3_BUCKET`に復元されます。\n\n## 単一ファイル復元\n\n ```go\n go run decompress/main.go /path/to/snappy/file\n ```\n\n# 設定\n `sample.env`から`.env`を作るか、環境変数で指定します。\n \n `GCS_BUCKET_NAME_SUFFIX`: GCSバケットが\u003cS3バケット名\u003e + `GCS_BUCKET_NAME_SUFFIX`という名前で作られます。  \n （GCSバケット名がグローバルでユニークである必要があるため）\n\n `PALALELL_NUM`: 同時に処理するオブジェクトの数\n\n `FULL_BACKUP`: trueの場合、全てのファイルをバックアップ  \n falseの場合、GCSに存在しない、またはMD5ハッシュが一致しないファイルのみバックアップ\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraptitech%2Fs3-backup-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftraptitech%2Fs3-backup-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraptitech%2Fs3-backup-helper/lists"}