FTP mirroring between two servers

FTP mirroring between two servers

am 01.10.2003 20:01:59 von fred pasteck

Hi,

I'd like to set up two FTP servers, one in each of two
different datacenters.

I'd like for UserA to be able to FTP to ServerA,
upload, download, or delete a file from the server,
and at the same time have UserB be able to FTP to
ServerB and do the same, and have those changes be
reflected on ServerA as well.

The difficulty is that there is no "primary" server,
so using rsync to mirror the two systems isn't
possible -- we don't know whether a file has been
deleted or not yet uploaded to the server.

Ideas?

Thanks,
Fred


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: FTP mirroring between two servers

am 01.10.2003 20:48:52 von Matt Hemingway

I believe PureFTP allows you to run a command(s) once files have been uploaded and whatnot. You might be able to have it run lftp (an ftp client) which will login to ServerB and perform a mirror.

lftp can do reverse mirrors as well (get files).

eh....

On Wed, 1 Oct 2003 11:01:59 -0700 (PDT)
fred pasteck wrote:

> Hi,
>
> I'd like to set up two FTP servers, one in each of two
> different datacenters.
>
> I'd like for UserA to be able to FTP to ServerA,
> upload, download, or delete a file from the server,
> and at the same time have UserB be able to FTP to
> ServerB and do the same, and have those changes be
> reflected on ServerA as well.
>
> The difficulty is that there is no "primary" server,
> so using rsync to mirror the two systems isn't
> possible -- we don't know whether a file has been
> deleted or not yet uploaded to the server.
>
> Ideas?
>
> Thanks,
> Fred
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: FTP mirroring between two servers

am 02.10.2003 05:25:38 von Richard Nairn

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You might look at using a tool like unison. I have been testing it out to
keep some of my servers in sync.


On Wed, Oct 01, 2003 at 11:01:59AM -0700, fred pasteck wrote:
> Hi,
>
> I'd like to set up two FTP servers, one in each of two
> different datacenters.
>
> I'd like for UserA to be able to FTP to ServerA,
> upload, download, or delete a file from the server,
> and at the same time have UserB be able to FTP to
> ServerB and do the same, and have those changes be
> reflected on ServerA as well.
>
> The difficulty is that there is no "primary" server,
> so using rsync to mirror the two systems isn't
> possible -- we don't know whether a file has been
> deleted or not yet uploaded to the server.
>
> Ideas?
>
> Thanks,
> Fred
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
- ---end quoted text---

- --
| Richard Nairn Specializing in Linux
| Nairn Consulting Web / Database Solutions
| Calgary, AB
| Richard@NairnConsulting.ca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/e5qvMnUeM87N5xgRAslKAJ0b+WlMjlG6bNczSrv4jxTRaABnQACc DtOj
mBU4vKYVUX2ytRqNrnAk+Pc=
=pDYh
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html