RE: Backup and Incremental Backup Perl Scripts
From: Hughes, Trystan <Trystan.Hughes_at_assetco.com>
Date: 2005-05-23 16:37:53 CEST
>Here's what I use:
>`svnadmin dump $REPOS --revision $REV --incremental | gzip > $FILENAME`
>This gets called from the post-commit hook script like so:
>/usr/lib/subversion/hook-scripts/incremental-backup.sh "$REPOS" "$REV"
Ok, I am having some problems with this.
I have created a simple perl (.pl) file that is to take the command-line parameters and print them to the screen. Now my perl file I have created is as follows...
#! perl (using Windows)
And the command-line call that calls this script is as follows...
>perl c:\test_incremental.pl "param1" "param2"
Now it compiles ok, but all I get is blank output to the command prompt when I run the script, and not
Hope someone can see where I am going wrong or missing something out.
The views expressed in this e-mail are not necessarily the views of AssetCo Group Limited,
This is an archived mail posted to the Subversion Users mailing list.