🎈 Welcome to the Marketplace — Explore and discover the ecosystem around DatoCMS, and share your own work with the community!

Automatic environment backups

A plugin that creates daily and weekly backups of your main environment on DatoCMS automatically.

This is a Community Plugin! Learn how create your own plugin, or copy and remix existing ones in our documentation

Automatic environment backups

This is a DatoCMS plugin that automatically creates a daily and weekly backup of your main environment, cycling the backups if they are not in use.

To use this plugin an auxiliary scheduled Netlify function is needed. The deployment of that scheduled function is further described bellow in the installation section.

Installation and usage

The video above shows a step by step tutorial on how to install and use the plugin. It follows the following instructions:

  1. When you install the plugin, a modal will pop up prompting you to create the scheduled function.

  2. By clicking the Netlify Deploy button you can start a step by step process that will create that scheduled function (You will be asked your projects Full API token!)

  3. Enable the feature on your Netlify Labs page

image

  1. Then, in the deployed instance of this repository go to the Functions tab, and click "Enable Scheduled Functions"

image

  1. Finally, copy the Deployed URL and insert it in the modal, and "Finish installation"

The installation will then be complete, from then on, every day the main environment will be forked to an environment labled ("daily-backup") with a timestamp, and will replace the older backup environment (if it hasn't been promoted to the primary environment) The same goes for the weekly backup, which is also time-stamped in its own environment labled ("weekly-backup")

To stop the automatic backups you can simply deactivate the netlify instance and uninstall the plugin.

Automatic environment backups
A plugin that creates daily and weekly backups of your …
Publisher
Author gravatarmarcelofinamorvieira
Package
Visit NPM
Current version
0.5.0
Installs count
Last update