FTP mirroring between two servers
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
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....
Quoted 31 lines · On Wed, 1 Oct 2003 11:01:59 -0700 (PDT) fred pasteck <[email protected]>…
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
-----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.
Quoted 22 lines · 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
Quoted 8 lines
__________________________________
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 [email protected]
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 | [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/e5qvMnUeM87N5xgRAslKAJ0b+WlMjlG6bNczSrv4jxTRaABnQACcDtOj mBU4vKYVUX2ytRqNrnAk+Pc=
=pDYh
-----END PGP SIGNATURE-----