summaryrefslogtreecommitdiff
path: root/share/hydractl/backup-restore-gitosis
blob: 7da4a059fff36c012bf1a886dd5dbbd4e17d4db5 (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_remote $*

# 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