This package has been deprecated

Author message:

This package is no longer maintained

contentful-backup

1.0.30 • Public • Published

Contentful Backup

A client for syncing backups (exports) of Contentful Spaces locally and to an AWS S3 bucket.

Usage

npm i -g contentful-backup
contentful-backup
ls -l ./export

Dependencies

Environmental Variables

The required environmental variables are listed in the table below:

name purpose
AWS_ACCESS_KEY_ID The access key id used for uploading.
AWS_REGION The region the bucket above is located in.
AWS_S3_BUCKET_NAME The bucket name for used for uploading.
AWS_SECRET_ACCESS_KEY The secret access key used for uploading.
CONTENTFUL_MANAGEMENT_TOKEN This token is needed for full Contentful API access. It is generated per Contentul user.
CONTENTFUL_SPACE_IDS A comma-seperated list of Contentful Space Ids that will be backed up.
EXPORT_DIR The directory to export Contentful Space backups to. Defaults to ./export

If no AWS variables are supplied, the script will still download backups locally.

Readme

Keywords

none

Package Sidebar

Install

npm i contentful-backup

Weekly Downloads

1

Version

1.0.30

License

MIT

Unpacked Size

12.5 kB

Total Files

9

Last publish

Collaborators

  • iiroj