Skip to content

Instantly share code, notes, and snippets.

View Ridys's full-sized avatar
🧿

Dmitry Ridys

🧿
  • Krasnoyarsk
  • 02:39 (UTC +07:00)
View GitHub Profile
@Ridys
Ridys / hetzner_snapshot.py
Created May 13, 2021 17:02
File for creating Hetzner cloud server snapshots (CX)
"""
Hetzner Snapshot Creation File
Python 3.7+ required
"""
import requests
import json
import pathlib
SAVE_FILE = str(pathlib.Path(__file__).parent.absolute()) + '/backups.json'
SAVE_FILE = pathlib.Path(SAVE_FILE)