aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/backup-site
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/backup-site')
-rwxr-xr-xshare/hydractl/backup-site6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/hydractl/backup-site b/share/hydractl/backup-site
index e37a611..ce4a200 100755
--- a/share/hydractl/backup-site
+++ b/share/hydractl/backup-site
@@ -88,7 +88,7 @@ cd $DEST
if [ ! -e "$DEST_BASE_SITE/.htpasswd" ]; then
touch $DEST_BASE_SITE/.htpasswd
chmod 640 $DEST_BASE_SITE/.htpasswd
- chown root.$BACKUPS_GROUP $DEST_BASE_SITE/.htpasswd
+ chown root:$BACKUPS_GROUP $DEST_BASE_SITE/.htpasswd
fi
# Access setup
@@ -110,7 +110,7 @@ if [ -d "$LOCATION" ]; then
tar jcvf $PACK $LOCATION
md5sum $PACK > $PACK.md5
sha1sum $PACK > $PACK.sha1
- chown root.$BACKUPS_GROUP $PACK*
+ chown root:$BACKUPS_GROUP $PACK*
chmod 640 $PACK*
echo "Saved $DEST/$PACK"
fi
@@ -127,7 +127,7 @@ if [ -d "/var/lib/mysql/$DATABASE" ]; then
rm -f $DATABASE.sql
md5sum $DATABASE.sql.bz2 > $DATABASE.sql.bz2.md5
sha1sum $DATABASE.sql.bz2 > $DATABASE.sql.bz2.sha1
- chown root.$BACKUPS_GROUP $DATABASE.sql*
+ chown root:$BACKUPS_GROUP $DATABASE.sql*
chmod 640 $DATABASE.sql*
echo "Saved $DEST/$DATABASE.sql.bz2"
fi