Re: [ADMIN] calling pg_dump from perl

2011-06-09 Thread Thomas Bednarz
Hi Greg, Yeah, thanks a lot. Works perfect. The correct perl code is: my $backupargs = sprintf("-f \"%s\" -F p --clean -U postgres -h localhost %s", $backupfile, $DBName); Cheers Thomas Am 09.06.2011 22:16, schrieb Greg Sabino Mullane: -BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160

[ADMIN] calling pg_dump from perl

2011-06-09 Thread Thomas Bednarz
Hi everyone, I try to do scheduled backups with a perl script on a windose box. For some reason this does not work and I am to stupid to see the reason why. Maybe there is somebody out there who can help me. Here is the relevant part of my perl script: my $tm = localtime(); my $backupfile =