Skip to content

Instantly share code, notes, and snippets.

View Alzavio's full-sized avatar
👋

Luiz Ramos Alzavio

👋
View GitHub Profile
@Rhilip
Rhilip / _vultr-snapshot.md
Created December 8, 2018 13:45
Automatic snapshots using Vultr API (Python3)

Thanks to Automated Snapshots / Backups via Vultr API And this is Python3 version script used to Automatic snapshots using Vultr API


A more customizable alternative to Vultr's backup feature using Vultr API v1. Tested on Ubuntu 16.04. Run this python3 script on Anywhere to create a snapshot of VPS (which you know IP or it's subid) and rotate out the oldest snapshot(s). Use the BACKUP_TAG_PREFIX prefix field to uniquely id a set of snapshots.

Notice: You can only create 11 snapshots by default.