Skip to content

Instantly share code, notes, and snippets.

View Fernando-Checa's full-sized avatar

Fernando Checa Fernando-Checa

View GitHub Profile
@Fernando-Checa
Fernando-Checa / PVE-host-backup.md
Created February 4, 2023 13:34 — forked from mrpeardotnet/PVE-host-backup.md
Proxmox PVE Host Config Backup Script

Proxmox PVE Host Config Backup Script

This script can be used to backup essential configuration files from the Proxmox Virtual Enivronment (PVE) host.

The script will create backups using tar with specified backup prefix and date and time stamp in the file name. Script will also delete backups that are older then number of days specified.

Create backup script file

To create backup script that will be executed every day we can create backup script in /etc/cron.daily/ folder. We need to make it writeable by root (creator) only, but readable and executable by everyone:

touch /etc/cron.daily/pvehost-backup
/*
This version works, but needs to be cleaned up.
The LCD Screen, Keyboard and Stepper motor are all driven off
the same thread. So when driving the motor the keyboard can be
bit sluggish.
You may need to adjust the keyboard debounce time.
*/