diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-01-04 18:43:33 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-01-04 18:43:33 -0200 |
commit | 3f397ff1575b79f74184302f3c3b8e549895f571 (patch) | |
tree | 345e49f8b0e146e48b9a06db73258d8e88305822 /share/hydractl/backup-copy-site | |
parent | 26cbb26cebd495fd6260b6af65b37fe5c8a8c00b (diff) | |
download | hydra-3f397ff1575b79f74184302f3c3b8e549895f571.tar.gz hydra-3f397ff1575b79f74184302f3c3b8e549895f571.tar.bz2 |
Adding backup/copy sites; restoration fixes
Diffstat (limited to 'share/hydractl/backup-copy-site')
-rwxr-xr-x | share/hydractl/backup-copy-site | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/share/hydractl/backup-copy-site b/share/hydractl/backup-copy-site new file mode 100755 index 0000000..d64ac7e --- /dev/null +++ b/share/hydractl/backup-copy-site @@ -0,0 +1,15 @@ +#!/bin/bash +# +# Copy a site backup between servers. +# + +# Load. +source $APP_BASE/lib/hydra/functions || exit 1 +hydra_config_load + +# TODO +# Basic parameters. +# Syntax check. +# Parse server name and port. +# Check restore strategy. +# Sync to remote destination. |