Skip to content

Instantly share code, notes, and snippets.

View swissbuechi's full-sized avatar

Raphael Büchi swissbuechi

View GitHub Profile
@swissbuechi
swissbuechi / backup_ee_wp.sh
Last active December 6, 2022 12:03
Script to backup easyengine wordpress sites
#!/bin/bash
# local backup
backup_user="<username>"
backup_dst_path="/home/$backup_user/wp_backup"
db_container="services_global-db_1"
sites_path="/opt/easyengine/sites/"
# remote backup copy
remote_backup_enabled=true