Skip to content

Instantly share code, notes, and snippets.

View rothkj1022's full-sized avatar

Kevin Roth rothkj1022

View GitHub Profile
@rothkj1022
rothkj1022 / cPanel Backup.sh
Last active September 25, 2020 22:13
cPanel Local Backup + S3 Remote Backup Script
#!/bin/bash
LOGFILE="backup.sh.log"
USE_INCREMENTAL=true
timestamp() {
date "+%Y-%m-%d %H:%M:%S"
}
if [ "$USE_INCREMENTAL" = true ]; then