Initial commit
This commit is contained in:
parent
601e0bb5db
commit
1e4e476ba6
14
sentora_www-backup.sh
Executable file
14
sentora_www-backup.sh
Executable 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}'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user