{"id":22385366,"url":"https://github.com/acoshift/bakap","last_synced_at":"2025-03-26T20:24:23.065Z","repository":{"id":42397293,"uuid":"61986364","full_name":"acoshift/bakap","owner":"acoshift","description":"Auto upload files to google cloud storage","archived":false,"fork":false,"pushed_at":"2016-06-29T08:52:12.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T02:21:02.799Z","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/acoshift.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}},"created_at":"2016-06-26T11:34:46.000Z","updated_at":"2017-05-31T16:35:25.000Z","dependencies_parsed_at":"2022-09-21T18:41:57.064Z","dependency_job_id":null,"html_url":"https://github.com/acoshift/bakap","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/acoshift%2Fbakap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acoshift%2Fbakap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acoshift%2Fbakap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acoshift%2Fbakap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acoshift","download_url":"https://codeload.github.com/acoshift/bakap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245729036,"owners_count":20662792,"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-12-05T01:23:13.431Z","updated_at":"2025-03-26T20:24:23.039Z","avatar_url":"https://github.com/acoshift.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bakap\n\nBackup files to google cloud storage\n\n## Usage\n\n```go\npackage main\n\nimport (\n  \"time\"\n\n  \"github.com/acoshift/bakap\"\n)\n\nfunc main() {\n  bakap.Start(bakap.Config{\n    Interval: time.Hour * 24,\n    Files: []bakap.File{\n      // upload from \"appendonly.aof\" to \"[Time] redis-6379.aof\"\n      bakap.File{Src: \"/var/lib/redis/6379/appendonly.aof\", Dest: \"redis-6379.aof\"},\n    },\n    Bucket:  \"BUCKET-NAME\",\n    Account: \"xxx@project-id.iam.gserviceaccount.com\",\n    PrivateKey: []byte(`PRIVATE KEY for xxx@project-id.iam.gserviceaccount.com`),\n  })\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facoshift%2Fbakap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facoshift%2Fbakap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facoshift%2Fbakap/lists"}