updated with storage path usage.
authorChris Koeritz <fred@gruntose.com>
Fri, 30 Sep 2016 17:01:29 +0000 (13:01 -0400)
committerChris Koeritz <fred@gruntose.com>
Fri, 30 Sep 2016 17:01:29 +0000 (13:01 -0400)
scripts/archival/backup_trac.sh

index 43efc6520d4015af0141595d3ac0394c79d9356c..e1588121a7dde4d606e29776f5335e80ea2e23d5 100755 (executable)
@@ -13,6 +13,6 @@ fi
 
 sep='_'
 
-tar -czf /z/stuffing/archives/trac_bkup_$(date +"%Y$sep%m$sep%d$sep%H%M$sep%S" | tr -d '/\n/').tar.gz "$trac_path" &>$TMP/zz_backup_trac.log
+tar -czf "${archive_path}/trac_bkup_$(date +"%Y$sep%m$sep%d$sep%H%M$sep%S" | tr -d '/\n/').tar.gz" "$trac_path" &>$TMP/zz_backup_trac.log