{"id":21127262,"url":"https://github.com/pepperize/cdk-dynamodb-backup","last_synced_at":"2025-07-08T23:32:52.828Z","repository":{"id":37464377,"uuid":"504172210","full_name":"pepperize/cdk-dynamodb-backup","owner":"pepperize","description":"Backup and restore AWS DynamoDB Table to AWS S3 Bucket with AWS Data Pipeline.","archived":false,"fork":false,"pushed_at":"2025-06-17T14:06:21.000Z","size":3946,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-17T14:46:18.417Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/pepperize.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-06-16T13:44:44.000Z","updated_at":"2025-06-17T14:07:19.000Z","dependencies_parsed_at":"2023-02-19T08:15:44.663Z","dependency_job_id":"fdb95523-e583-417a-86cb-2dcf5e0f9cc2","html_url":"https://github.com/pepperize/cdk-dynamodb-backup","commit_stats":null,"previous_names":[],"tags_count":485,"template":false,"template_full_name":null,"purl":"pkg:github/pepperize/cdk-dynamodb-backup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepperize%2Fcdk-dynamodb-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepperize%2Fcdk-dynamodb-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepperize%2Fcdk-dynamodb-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepperize%2Fcdk-dynamodb-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pepperize","download_url":"https://codeload.github.com/pepperize/cdk-dynamodb-backup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pepperize%2Fcdk-dynamodb-backup/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264365882,"owners_count":23596924,"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-20T04:47:59.988Z","updated_at":"2025-07-08T23:32:52.543Z","avatar_url":"https://github.com/pepperize.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub](https://img.shields.io/github/license/pepperize/cdk-dynamodb-backup?style=flat-square)](https://github.com/pepperize/cdk-dynamodb-backup/blob/main/LICENSE)\n[![npm (scoped)](https://img.shields.io/npm/v/@pepperize/cdk-dynamodb-backup?style=flat-square)](https://www.npmjs.com/package/@pepperize/cdk-dynamodb-backup)\n[![PyPI](https://img.shields.io/pypi/v/pepperize.cdk-dynamodb-backup?style=flat-square)](https://pypi.org/project/pepperize.cdk-dynamodb-backup/)\n[![Nuget](https://img.shields.io/nuget/v/Pepperize.CDK.DynamodbBackup?style=flat-square)](https://www.nuget.org/packages/Pepperize.CDK.DynamodbBackup/)\n[![Sonatype Nexus (Releases)](https://img.shields.io/nexus/r/com.pepperize/cdk-dynamodb-backup?server=https%3A%2F%2Fs01.oss.sonatype.org%2F\u0026style=flat-square)](https://s01.oss.sonatype.org/content/repositories/releases/com/pepperize/cdk-dynamodb-backup/)\n[![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/pepperize/cdk-dynamodb-backup/release/main?label=release\u0026style=flat-square)](https://github.com/pepperize/cdk-dynamodb-backup/actions/workflows/release.yml)\n[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/pepperize/cdk-dynamodb-backup?sort=semver\u0026style=flat-square)](https://github.com/pepperize/cdk-dynamodb-backup/releases)\n[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod\u0026style=flat-square)](https://gitpod.io/#https://github.com/pepperize/cdk-dynamodb-backup)\n\n# CDK DynamoDB Backup \u0026 Restore\n\nBackup and restore AWS DynamoDB Table with AWS Data Pipeline.\n\n## Install\n\n### TypeScript\n\n```shell\nnpm install @pepperize/cdk-dynamodb-backup\n```\n\nor\n\n```shell\nyarn add @pepperize/cdk-dynamodb-backup\n```\n\n### Python\n\n```shell\npip install pepperize.cdk-dynamodb-backup\n```\n\n### C\\# / .Net\n\n```\ndotnet add package Pepperize.CDK.DynamodbBackup\n```\n\n### Java\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.pepperize\u003c/groupId\u003e\n  \u003cartifactId\u003ecdk-dynamodb-backup\u003c/artifactId\u003e\n  \u003cversion\u003e${cdkDynamodbBackup.version}\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Usage\n\nSee [API.md](https://github.com/pepperize/cdk-dynamodb-backup/blob/main/API.md).\n\n### Backup\n\nExport data from AWS DynamoDB to AWS S3\n\n```typescript\nconst table = new aws_dynamodb.Table(stack, \"Table\", {\n  partitionKey: { name: \"id\", type: dynamodb.AttributeType.STRING },\n});\nconst bucket = new aws_s3.Bucket(stack, \"Bucket\", {});\n\n// When\nnew DataPipelineBackup(stack, \"Account\", {\n  table: table,\n  backupBucket: bucket,\n});\n```\n\nSee [Exporting Data From DynamoDB to Amazon S3](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBPipeline.html#DataPipelineExportImport.Exporting)\n\n### Restore\n\nImport data from AWS S3 into AWS DynamoDB\n\n```typescript\nconst table = new aws_dynamodb.Table(stack, \"Table\", {\n  partitionKey: { name: \"id\", type: dynamodb.AttributeType.STRING },\n});\nconst bucket = new aws_s3.Bucket(stack, \"Bucket\", {});\n\n// When\nnew DataPipelineRestore(stack, \"Restore\", {\n  table: table,\n  restoreBucket: bucket,\n  restoreFolder: \"/prefix/to/folder/with/manifest\",\n});\n```\n\nSee [Importing Data From Amazon S3 to DynamoDB](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBPipeline.html#DataPipelineExportImport.Importing)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpepperize%2Fcdk-dynamodb-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpepperize%2Fcdk-dynamodb-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpepperize%2Fcdk-dynamodb-backup/lists"}