Initial commit

This commit is contained in:
Matthew McKinnon 2016-06-29 15:31:26 +10:00
parent 601e0bb5db
commit 1e4e476ba6

14
sentora_www-backup.sh Executable file
View File

@ -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}'