summaryrefslogtreecommitdiff
path: root/share/hydractl/backup-copy-site
blob: d64ac7e145d62af46c0475442e09da4b155d5f30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.