Socket
Book a DemoInstallSign in
Socket

datocms-plugin-automatic-environment-backups

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datocms-plugin-automatic-environment-backups

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

latest
npmnpm
Version
0.6.0
Version published
Weekly downloads
62
6100%
Maintainers
1
Weekly downloads
 
Created
Source

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:

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

  • 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!)

  • Enable the feature on your Netlify Labs page

image

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

image

  • 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.

Keywords

datocms

FAQs

Package last updated on 12 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts