This is an App Engine in Node.js, that will create snapshots automatically.
-
Download and unzip the latest release
-
Run
npm i
to install the dependencies. -
Configure the Scheduling in
cron.yaml
. You can find more information about scheduling an App Engine here.The configuration may look like this:
cron: - description: daily snapshot url: /create/instance-zone-name/instance-disk-name?format=diskName-YYYY-MM-DD-HH-mm&guestFlush=true schedule: every day 03:00 target: gcloud-snapshot-scheduler
-
Deploy your App Engine. You can find more information about deploying your App Engine here