nice generalization for raw synch
[feisty_meow.git] / scripts / archival / backup_trac.sh
1 #!/bin/bash
2
3 # backs up a trac repository into a tar.gz file.
4
5 export WORKDIR="$( \cd "$(\dirname "$0")" && \pwd )"  # obtain the script's working directory.
6
7 trac_path="$1"; shift
8 archive_path="$1"; shift
9
10 # call our arbitrary backer upper, since this is a simple single directory case.
11 bash $WORKDIR/backup_arbitrary.sh "$trac_path" "$archive_path" "trac_bkup"
12
13