From 1e4e476ba600d68544e94dbe3b05774bb7042d61 Mon Sep 17 00:00:00 2001 From: Matt McKinnon Date: Wed, 29 Jun 2016 15:31:26 +1000 Subject: [PATCH] Initial commit --- sentora_www-backup.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 sentora_www-backup.sh diff --git a/sentora_www-backup.sh b/sentora_www-backup.sh new file mode 100755 index 0000000..7831122 --- /dev/null +++ b/sentora_www-backup.sh @@ -0,0 +1,14 @@ +#!/bin/bash +# Script Name: sentora_www-backup.sh +# Author Name: Matt McKinnon +# Date: 7th June 2016 +# Description: +# This script will: +# Backup your public_html folder under /var/sentora/hostdata/DOMAIN_NAME/public_html + + +#find domains + +find /var/sentora/hostdata/* -maxdepth 0 -type d | awk -F/ '{print $5}' + +