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

From Andrus
Subject Re: db backup script in gentoo
Date
Msg-id ggusgl$1i7o$2@news.hub.org
Whole thread Raw
In response to Re: db backup script in gentoo  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Responses Re: db backup script in gentoo  ("Scott Marlowe" <scott.marlowe@gmail.com>)
List pgsql-general
> 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.

I must manage existing gentoo server where previous maintainer has left
company.
lftp is not found in gentoo and nobody knows how to activate it. So I must
use existing ftp.
This issue may not realted to ftp program.
I verified multiple times that file exists and is readable.
Any ides why ftp does not find /root/my-backups/mybackup6.backup ? There
must be something simple.
Can /root directoy access from fpt program is disabled for some strange
reason ?

ftp server log contains (ip and names changed):


23:50:20 (2008-11-29) z12.zone.com [ftp.debug] pure-ftpd: (?@1-2-3-4.xx.com)
[DEBUG] Command [user] [d11551f21768]
23:50:20 (2008-11-29) z12.zone.com [ftp.debug] pure-ftpd:
(d11551f21768@1-2-3-4.xx.com) [DEBUG] Command [pwd] []
23:50:20 (2008-11-29) z12.zone.com [ftp.debug] pure-ftpd:
(d11551f21768@1-2-3-4.xx.com) [DEBUG] Command [type] [I]
23:50:20 (2008-11-29) z12.zone.com [ftp.debug] pure-ftpd:
(d11551f21768@1-2-3-4.xx.com) [DEBUG] Command [pasv] []
23:50:20 (2008-11-29) z12.zone.com [ftp.debug] pure-ftpd:
(d11551f21768@1-2-3-4.xx.com) [DEBUG] Command [stor]
[/root/my-backups/mybackup6.backup]
23:50:20 (2008-11-29) z12.zone.com [ftp.err] pure-ftpd:
(d11551f21768@1-2-3-4.xx.com) [ERROR] Can\'t open that file: No such file or
directory
23:50:20 (2008-11-29) z12.zone.com [ftp.err] pure-ftpd:
(d11551f21768@1-2-3-4.xx.com) [ERROR] Rename/move failure: No such file or
directory
23:50:20 (2008-11-29) z12.zone.com [ftp.debug] pure-ftpd:
(d11551f21768@1-2-3-4.xx.com) [DEBUG] Command [quit] []
23:50:20 (2008-11-29) z12.zone.com [ftp.info] pure-ftpd:
(d11551f21768@1-2-3-4.xx.com) [INFO] Logout.


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Question on libpq parameters
Next
From: "Scott Marlowe"
Date:
Subject: Re: db backup script in gentoo