pepperize.cdk-dynamodb-backup


Namepepperize.cdk-dynamodb-backup JSON
Version 0.0.454 PyPI version JSON
download
home_pagehttps://github.com/patrick.florek/cdk-dynamodb-backup.git
SummaryBackup and restore AWS DynamoDB Table to AWS S3 Bucket with AWS Data Pipeline.
upload_time2023-12-18 13:30:10
maintainer
docs_urlNone
authorPatrick Florek<patrick.florek@gmail.com>
requires_python~=3.8
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![GitHub](https://img.shields.io/github/license/pepperize/cdk-dynamodb-backup?style=flat-square)](https://github.com/pepperize/cdk-dynamodb-backup/blob/main/LICENSE)
[![npm (scoped)](https://img.shields.io/npm/v/@pepperize/cdk-dynamodb-backup?style=flat-square)](https://www.npmjs.com/package/@pepperize/cdk-dynamodb-backup)
[![PyPI](https://img.shields.io/pypi/v/pepperize.cdk-dynamodb-backup?style=flat-square)](https://pypi.org/project/pepperize.cdk-dynamodb-backup/)
[![Nuget](https://img.shields.io/nuget/v/Pepperize.CDK.DynamodbBackup?style=flat-square)](https://www.nuget.org/packages/Pepperize.CDK.DynamodbBackup/)
[![Sonatype Nexus (Releases)](https://img.shields.io/nexus/r/com.pepperize/cdk-dynamodb-backup?server=https%3A%2F%2Fs01.oss.sonatype.org%2F&style=flat-square)](https://s01.oss.sonatype.org/content/repositories/releases/com/pepperize/cdk-dynamodb-backup/)
[![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/pepperize/cdk-dynamodb-backup/release/main?label=release&style=flat-square)](https://github.com/pepperize/cdk-dynamodb-backup/actions/workflows/release.yml)
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/pepperize/cdk-dynamodb-backup?sort=semver&style=flat-square)](https://github.com/pepperize/cdk-dynamodb-backup/releases)
[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod&style=flat-square)](https://gitpod.io/#https://github.com/pepperize/cdk-dynamodb-backup)

# CDK DynamoDB Backup & Restore

Backup and restore AWS DynamoDB Table with AWS Data Pipeline.

## Install

### TypeScript

```shell
npm install @pepperize/cdk-dynamodb-backup
```

or

```shell
yarn add @pepperize/cdk-dynamodb-backup
```

### Python

```shell
pip install pepperize.cdk-dynamodb-backup
```

### C# / .Net

```
dotnet add package Pepperize.CDK.DynamodbBackup
```

### Java

```xml
<dependency>
  <groupId>com.pepperize</groupId>
  <artifactId>cdk-dynamodb-backup</artifactId>
  <version>${cdkDynamodbBackup.version}</version>
</dependency>
```

## Usage

See [API.md](https://github.com/pepperize/cdk-dynamodb-backup/blob/main/API.md).

### Backup

Export data from AWS DynamoDB to AWS S3

```python
const table = new aws_dynamodb.Table(stack, "Table", {
  partitionKey: { name: "id", type: dynamodb.AttributeType.STRING },
});
const bucket = new aws_s3.Bucket(stack, "Bucket", {});

// When
new DataPipelineBackup(stack, "Account", {
  table: table,
  backupBucket: bucket,
});
```

See [Exporting Data From DynamoDB to Amazon S3](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBPipeline.html#DataPipelineExportImport.Exporting)

### Restore

Import data from AWS S3 into AWS DynamoDB

```python
const table = new aws_dynamodb.Table(stack, "Table", {
  partitionKey: { name: "id", type: dynamodb.AttributeType.STRING },
});
const bucket = new aws_s3.Bucket(stack, "Bucket", {});

// When
new DataPipelineRestore(stack, "Restore", {
  table: table,
  restoreBucket: bucket,
  restoreFolder: "/prefix/to/folder/with/manifest",
});
```

See [Importing Data From Amazon S3 to DynamoDB](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBPipeline.html#DataPipelineExportImport.Importing)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/patrick.florek/cdk-dynamodb-backup.git",
    "name": "pepperize.cdk-dynamodb-backup",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "~=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "Patrick Florek<patrick.florek@gmail.com>",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/49/43/788108d0f22d8a2e9ada51be050c8911e85f1a77a60ceb730b7efa2b99b4/pepperize.cdk-dynamodb-backup-0.0.454.tar.gz",
    "platform": null,
    "description": "[![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&style=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&style=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&style=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&style=flat-square)](https://gitpod.io/#https://github.com/pepperize/cdk-dynamodb-backup)\n\n# CDK DynamoDB Backup & 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<dependency>\n  <groupId>com.pepperize</groupId>\n  <artifactId>cdk-dynamodb-backup</artifactId>\n  <version>${cdkDynamodbBackup.version}</version>\n</dependency>\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```python\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```python\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",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Backup and restore AWS DynamoDB Table to AWS S3 Bucket with AWS Data Pipeline.",
    "version": "0.0.454",
    "project_urls": {
        "Homepage": "https://github.com/patrick.florek/cdk-dynamodb-backup.git",
        "Source": "https://github.com/patrick.florek/cdk-dynamodb-backup.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3e9f87817006dcbfcb9c91ae0a29b791b1c5893b2d54cd670567fa45cb6bdc80",
                "md5": "61e7ae15a81b29c78eb45c4f7f63e4e7",
                "sha256": "a38d15e505c824d4c5623991fdfed92ac7edbcae54db2d3fa30a295282916f18"
            },
            "downloads": -1,
            "filename": "pepperize.cdk_dynamodb_backup-0.0.454-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "61e7ae15a81b29c78eb45c4f7f63e4e7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.8",
            "size": 38011,
            "upload_time": "2023-12-18T13:30:03",
            "upload_time_iso_8601": "2023-12-18T13:30:03.101724Z",
            "url": "https://files.pythonhosted.org/packages/3e/9f/87817006dcbfcb9c91ae0a29b791b1c5893b2d54cd670567fa45cb6bdc80/pepperize.cdk_dynamodb_backup-0.0.454-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4943788108d0f22d8a2e9ada51be050c8911e85f1a77a60ceb730b7efa2b99b4",
                "md5": "384c3dcc08ea3962b7c98dbbe164d6eb",
                "sha256": "6aff51094b60c7f2cbd5ae6e265aa6d2c5c8dbd27f35ad7d3c6da1dbb1da9f00"
            },
            "downloads": -1,
            "filename": "pepperize.cdk-dynamodb-backup-0.0.454.tar.gz",
            "has_sig": false,
            "md5_digest": "384c3dcc08ea3962b7c98dbbe164d6eb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.8",
            "size": 37462,
            "upload_time": "2023-12-18T13:30:10",
            "upload_time_iso_8601": "2023-12-18T13:30:10.642578Z",
            "url": "https://files.pythonhosted.org/packages/49/43/788108d0f22d8a2e9ada51be050c8911e85f1a77a60ceb730b7efa2b99b4/pepperize.cdk-dynamodb-backup-0.0.454.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-18 13:30:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "patrick.florek",
    "github_project": "cdk-dynamodb-backup",
    "github_not_found": true,
    "lcname": "pepperize.cdk-dynamodb-backup"
}
        
Elapsed time: 0.15855s