summaryrefslogtreecommitdiff
path: root/share/hydractl/backup-restore-gitosis
blob: d430693ca2e371cc3987c575fcee6e5515de85a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
#
# Gitosis backup restoration.
#
# TODO

# Load.
source $APP_BASE/lib/hydra/functions || exit 1
hydra_config_load

hydra_backup_environment $*

# Check if folder exist on the backup
# Check if there's already a site folder and backup it
# Copy site folder from backup
# Fix permissions