Re: db backup script in gentoo - Mailing list pgsql-general

From Scott Marlowe
Subject Re: db backup script in gentoo
Date
Msg-id dcc563d10811300322q28b14492m29dcd8e311174eab@mail.gmail.com
Whole thread Raw
In response to Re: db backup script in gentoo  ("Andrus" <kobruleht2@hot.ee>)
Responses Re: db backup script in gentoo
List pgsql-general
On Sun, Nov 30, 2008 at 3:17 AM, Andrus <kobruleht2@hot.ee> wrote:
>> Are you using ftp or lftp? lftp is much more scriptable / controllable
>> than regular ftp.
>
> I'm using ftp as shown in script.
> typing lftp shows that this is not found but locate shows something.
> How to use lftp in this 3-year old gentoo ?
> Where to find sample script for thos task ?

Sorry, I'm no gentoo expert.  It's certainly not the first distro I'd
recommend to someone just starting out with linux / unix.  Time to
break out the google.  I also found quite a few example scripts for
lftp with google in a few minutes.

here's a simple one.

open myftp.ftp.com
user username password
cd /some_directory/
mv textfile.tar Finishedtextfile.tar
get Finishedtextfile.tar

pgsql-general by date:

Previous
From: "Andrus"
Date:
Subject: Re: db backup script in gentoo
Next
From: Tom Lane
Date:
Subject: Re: Query too slow with "not in" condition