Re: db backup script in gentoo

From: "Andrus" <kobruleht2(at)hot(dot)ee>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: db backup script in gentoo
Date: 2008-11-30 20:18:58
Message-ID: ggusgl$1i7o$2@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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: (?(at)1-2-3-4(dot)xx(dot)com)
[DEBUG] Command [user] [d11551f21768]
23:50:20 (2008-11-29) z12.zone.com [ftp.debug] pure-ftpd:
(d11551f21768(at)1-2-3-4(dot)xx(dot)com) [DEBUG] Command [pwd] []
23:50:20 (2008-11-29) z12.zone.com [ftp.debug] pure-ftpd:
(d11551f21768(at)1-2-3-4(dot)xx(dot)com) [DEBUG] Command [type] [I]
23:50:20 (2008-11-29) z12.zone.com [ftp.debug] pure-ftpd:
(d11551f21768(at)1-2-3-4(dot)xx(dot)com) [DEBUG] Command [pasv] []
23:50:20 (2008-11-29) z12.zone.com [ftp.debug] pure-ftpd:
(d11551f21768(at)1-2-3-4(dot)xx(dot)com) [DEBUG] Command [stor]
[/root/my-backups/mybackup6.backup]
23:50:20 (2008-11-29) z12.zone.com [ftp.err] pure-ftpd:
(d11551f21768(at)1-2-3-4(dot)xx(dot)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(at)1-2-3-4(dot)xx(dot)com) [ERROR] Rename/move failure: No such file or
directory
23:50:20 (2008-11-29) z12.zone.com [ftp.debug] pure-ftpd:
(d11551f21768(at)1-2-3-4(dot)xx(dot)com) [DEBUG] Command [quit] []
23:50:20 (2008-11-29) z12.zone.com [ftp.info] pure-ftpd:
(d11551f21768(at)1-2-3-4(dot)xx(dot)com) [INFO] Logout.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2008-11-30 21:20:45 Re: db backup script in gentoo
Previous Message Tom Lane 2008-11-30 18:26:00 Re: Question on libpq parameters