https://github.com/interactivethings/cyp-website-datocms-backups
https://github.com/interactivethings/cyp-website-datocms-backups
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/interactivethings/cyp-website-datocms-backups
- Owner: interactivethings
- Created: 2023-09-26T15:41:27.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-26T15:42:09.000Z (over 2 years ago)
- Last Synced: 2025-01-12T20:30:29.738Z (about 1 year ago)
- Language: TypeScript
- Size: 5.08 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Scheduled backups Netlify function
This is a collection of lambda functions and scheduled functions meant to be used with [this DatoCMS plugin](https://github.com/marcelofinamorvieira/datocms-plugin-automatic-environment-backups) to automatically backup your main environment on a daily and weekly manner.
You can also deploy this project to netlify through [this one-click-deploy](https://app.netlify.com/start/deploy?repository=https://github.com/marcelofinamorvieira/datocms-backups-scheduled-netlify-function)
It consists of two scheduled functions that fork and replace old backups with new ones (if the old backups are not being used), making it so there is always a daily backup environment, and weekly backup environment.
Additionally, it also has a "initialization" lambda function that connects the plugin with the netlify instance.