This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# usage: ./wpbackup.sh domain.com | |
DOMAIN="$1"; # domain name to backup | |
BACKUP="$HOME/backups"; # store backups here | |
HOSTPATH="$HOME"; # path where hosted domains are | |
backmeup () { | |
local _N _U _P _H FS FT TD WP; |