From b644b7167d3e6e537131bdd4c71fb2f99b536eb2 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 27 Nov 2016 23:54:58 +1000 Subject: Backup one more level. --- scripts/backup-inventories.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/backup-inventories.sh') diff --git a/scripts/backup-inventories.sh b/scripts/backup-inventories.sh index ef74385..2187f1f 100755 --- a/scripts/backup-inventories.sh +++ b/scripts/backup-inventories.sh @@ -13,8 +13,8 @@ done < <(grep ConnectionString ${PRGDIR}/../config/config.ini | cut -d '"' -f 2) # The above seems the best way to get bash to let the creds assignments survive outside the loop. # Only backup those that have not logged on since their last backup, but returning prims from sims will bypass this check. -timestamp=$(ls -o --time-style="+%s" ${PRGDIR}/../backups/.keep | cut -d ' ' -f 5) -touch ${PRGDIR}/../backups/.keep +timestamp=$(ls -o --time-style="+%s" ${PRGDIR}/../../backups/.keep | cut -d ' ' -f 5) +touch ${PRGDIR}/../../backups/.keep # Well it was good in theory, but looks like they broke it in 8.2, no logging in or out updates to GridUser. # Get the user names, and back 'em up. -- cgit v1.1