From c967d8a5f701d9fdfe65f8c965557632fb11a876 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 27 Sep 2011 15:29:42 -0300 Subject: Coding backup-site --- share/hydractl/backup-restore-gitosis | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'share/hydractl/backup-restore-gitosis') diff --git a/share/hydractl/backup-restore-gitosis b/share/hydractl/backup-restore-gitosis index e69de29..d430693 100755 --- a/share/hydractl/backup-restore-gitosis +++ b/share/hydractl/backup-restore-gitosis @@ -0,0 +1,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 -- cgit v1.2.3