aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/backup-inventories.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xscripts/backup-inventories.sh4
1 files changed, 2 insertions, 2 deletions
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)
13# The above seems the best way to get bash to let the creds assignments survive outside the loop. 13# The above seems the best way to get bash to let the creds assignments survive outside the loop.
14 14
15# Only backup those that have not logged on since their last backup, but returning prims from sims will bypass this check. 15# Only backup those that have not logged on since their last backup, but returning prims from sims will bypass this check.
16timestamp=$(ls -o --time-style="+%s" ${PRGDIR}/../backups/.keep | cut -d ' ' -f 5) 16timestamp=$(ls -o --time-style="+%s" ${PRGDIR}/../../backups/.keep | cut -d ' ' -f 5)
17touch ${PRGDIR}/../backups/.keep 17touch ${PRGDIR}/../../backups/.keep
18# Well it was good in theory, but looks like they broke it in 8.2, no logging in or out updates to GridUser. 18# Well it was good in theory, but looks like they broke it in 8.2, no logging in or out updates to GridUser.
19 19
20# Get the user names, and back 'em up. 20# Get the user names, and back 'em up.