* [gentoo-user] Syncing Directories between 2 Linux boxes
@ 2006-09-17 12:49 Timothy A. Holmes
2006-09-17 13:30 ` darren kirby
2006-09-17 14:44 ` Raymond Lewis Rebbeck
0 siblings, 2 replies; 3+ messages in thread
From: Timothy A. Holmes @ 2006-09-17 12:49 UTC (permalink / raw
To: gentoo-user
Hi folks:
I have brought my new Gentoo File server online over the weekend, and I am in the process of getting things set up. I have bumped into one situation that I could really use some help with. Please bear with me as a bit of explaination will be necessary.
Our school website is hosted on our webserver (192.168.0.29) in /var/www/mca0506/htdocs the site is created with Macromedia Dreamweaver (I know I know....) and the teachers edit it using Macromedia Contribute. This is important because, Dreamweaver makes changes to my local files (which are on 192.168.0.4/data/website/mca0506) and Contribute makes its changes directly on the live site on the main webserver. What I need is a way to sync the two bi-directionally. As I create pages etc, those changes would need to go up to the site, and as the teachers update their sites etc, those changes would need to be synced back to my local files, both so that I can
Timothy A. Holmes
IT Manager / Network Admin / Web Master / Computer Teacher
Medina Christian Academy
A Higher Standard...
Jeremiah 33:3
Jeremiah 29:11
Esther 4:14
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Syncing Directories between 2 Linux boxes
2006-09-17 12:49 [gentoo-user] Syncing Directories between 2 Linux boxes Timothy A. Holmes
@ 2006-09-17 13:30 ` darren kirby
2006-09-17 14:44 ` Raymond Lewis Rebbeck
1 sibling, 0 replies; 3+ messages in thread
From: darren kirby @ 2006-09-17 13:30 UTC (permalink / raw
To: gentoo-user
quoth the Timothy A. Holmes:
> Hi folks:
> Our school website is hosted on our webserver (192.168.0.29) in
> /var/www/mca0506/htdocs the site is created with Macromedia Dreamweaver (I
> know I know....) and the teachers edit it using Macromedia Contribute.
> This is important because, Dreamweaver makes changes to my local files
> (which are on 192.168.0.4/data/website/mca0506) and Contribute makes its
> changes directly on the live site on the main webserver. What I need is a
> way to sync the two bi-directionally. As I create pages etc, those changes
> would need to go up to the site, and as the teachers update their sites
> etc, those changes would need to be synced back to my local files, both so
> that I can
Did you have more to add there? Anyway, my first thought is to use rsync, the
same tool that syncs your local and the main portage tree. The problem is the
bidirectionality of it. If there is a certain time of day that the teachers
are doing their thing, then you could sync your copy after (or before) the
time of day you know they will be working. If you need real-time updates this
may not work.
A better solution may be to either mount your copy or the master server's copy
with NFS. That way, you will all be operating on the same files...but they
will appear local to all concerned.
If you are doing some testing/development on your copies that you don't want
on the live server then this may not be suitable...
-d
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Syncing Directories between 2 Linux boxes
2006-09-17 12:49 [gentoo-user] Syncing Directories between 2 Linux boxes Timothy A. Holmes
2006-09-17 13:30 ` darren kirby
@ 2006-09-17 14:44 ` Raymond Lewis Rebbeck
1 sibling, 0 replies; 3+ messages in thread
From: Raymond Lewis Rebbeck @ 2006-09-17 14:44 UTC (permalink / raw
To: gentoo-user
On Sunday 17 September 2006 22:19, Timothy A. Holmes wrote:
> Hi folks:
>
> I have brought my new Gentoo File server online over the weekend, and I am
> in the process of getting things set up. I have bumped into one situation
> that I could really use some help with. Please bear with me as a bit of
> explaination will be necessary.
>
> Our school website is hosted on our webserver (192.168.0.29) in
> /var/www/mca0506/htdocs the site is created with Macromedia Dreamweaver (I
> know I know....) and the teachers edit it using Macromedia Contribute.
> This is important because, Dreamweaver makes changes to my local files
> (which are on 192.168.0.4/data/website/mca0506) and Contribute makes its
> changes directly on the live site on the main webserver. What I need is a
> way to sync the two bi-directionally. As I create pages etc, those changes
> would need to go up to the site, and as the teachers update their sites
> etc, those changes would need to be synced back to my local files, both so
> that I can
>
> Timothy A. Holmes
> IT Manager / Network Admin / Web Master / Computer Teacher
>
> Medina Christian Academy
> A Higher Standard...
>
> Jeremiah 33:3
> Jeremiah 29:11
> Esther 4:14
net-misc/unison might be what you're looking for.
--
Raymond Lewis Rebbeck
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-09-17 14:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-17 12:49 [gentoo-user] Syncing Directories between 2 Linux boxes Timothy A. Holmes
2006-09-17 13:30 ` darren kirby
2006-09-17 14:44 ` Raymond Lewis Rebbeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox