Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ghost Backup to S3 Lambda

Compatible with Ghost ^1.18.2

Build Status

This function is designed to run as an AWS Lambda. Trigger periodically to backup ghost blog site to s3. Calls the ghost site private api remotely to get a data snapshot and then writes that JSON response to a file in the specified s3 location.

Environment Variables

Name Description
GHOST_URL Ghost blog Url to be backed up. Eg. https://blog.dionhut.net
CLIENT_ID Client Id. See here how to manually obtain client_id and client_secret.
SECRET Client Secret
USERNAME Ghost admin username
PASSWORD Ghost admin password
S3_BUCKET S3 bucket where backup file will be written
S3_KEY S3 path where backup file will be written
AWS_ACCESS_KEY_ID (Only required if running outside AWS data center)
AWS_SECRET_ACCESS_KEY (Only required if running outside AWS data center)

About

Ghost Backup to S3 Lambda

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages