From 7d82a05300aff62c16c612904c9a6e9311ccb71f Mon Sep 17 00:00:00 2001 From: Miguel Date: Sun, 7 Nov 2021 00:38:17 +0100 Subject: minor change in backup scripts --- git_backup/git_backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git_backup') diff --git a/git_backup/git_backup.sh b/git_backup/git_backup.sh index fef095a..348d559 100644 --- a/git_backup/git_backup.sh +++ b/git_backup/git_backup.sh @@ -3,7 +3,7 @@ #But even if you do not have the capability to do snapshots, you can still make consistent backups, as long as you back up objects after refs. You might end up with some dangling objects, but your repository will be consistent and all refs will point to existing objects. With rsync, that could look like: TIMESTAMP=$(date +%Y%m%d%H%M%S) -INPUT=comet:/var/lib/gitolite/repositories +INPUT=root@comet:/var/lib/gitolite/repositories OUTPUT=~/BACKUPS/comet_git_backup/$TIMESTAMP OUTPUT_TAR=~/BACKUPS/comet_git_backup/$TIMESTAMP.tar -- cgit v1.2.3