Skip to content

Commit 9b7e4ab

Browse files
committed
Merge pull request #117 from github/fix-pages-backup-centos
Ensure pages dir exists for rsync
2 parents 3ba7048 + 6102180 commit 9b7e4ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

share/github-backup-utils/ghe-backup-pages-rsync

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@ set -e
1010
cd $(dirname "$0")/../..
1111
. share/github-backup-utils/ghe-backup-config
1212

13+
# Make sure root backup dir exists if this is the first run
14+
mkdir -p "$GHE_SNAPSHOT_DIR/pages"
15+
1316
# Use the common user data rsync backup utility.
1417
ghe-backup-userdata pages

0 commit comments

Comments
 (0)