db backup script in gentoo - Mailing list pgsql-general

From Andrus
Subject db backup script in gentoo
Date
Msg-id ggrv2t$1q06$1@news.hub.org
Whole thread Raw
Responses Re: db backup script in gentoo
Re: db backup script in gentoo
List pgsql-general
How to create automated backup script in Gentoo which in every night 3:00 PM
backups one database and sends backup
with ftp using unique file name?

In windows I can use scheduler and script

set FILENAME=%DATE:~8,4%%DATE:~5,2%%DATE:~2,2%MyDbBackup
pg_dump -Z6 -b -v -f "%FILENAME%.backup" -F c -h localhost -U postgres mydb
ftp -send -u username -p password  "%FILENAME%.backup"  ftp.backupserver.com

I have few experience in Linux. How to convert this to Gentoo Linux ?

Andtus


pgsql-general by date:

Previous
From: "Robert Haas"
Date:
Subject: Re: why hash on the primary key?
Next
From: Alan Hodgson
Date:
Subject: Re: db backup script in gentoo