Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
PLUGIN_FILE="/usr/share/proxmox-acme/dnsapi/dns_hetznercloud.sh"
SCHEMA_FILE="/usr/share/proxmox-acme/dns-challenge-schema.json"
DOWNLOAD_URL="https://raw.githubusercontent.com/acmesh-official/acme.sh/refs/tags/3.1.2/dnsapi/dns_hetznercloud.sh"
if [ -f "$PLUGIN_FILE" ]; then
echo "File '$PLUGIN_FILE' already exists. Stopping."
exit 0
fi
ssh [email protected] "sudo dd if=/dev/mmcblk0 bs=1M | gzip - " | dd of=~/Desktop/backup_2017-11-14.gz