Comments on: How to Sync Two Web Servers Using Rsync https://www.tecmint.com/sync-two-apache-websites-using-rsync/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 26 Dec 2024 17:44:03 +0000 hourly 1 By: Fredrick Warren https://www.tecmint.com/sync-two-apache-websites-using-rsync/comment-page-1/#comment-2255413 Thu, 26 Dec 2024 17:44:03 +0000 http://www.tecmint.com/?p=4699#comment-2255413 My batch job for this type of backup does the following:

1. Dumps the MySQL/PostgreSQL database to a folder outside of the web root.
2. Performs the backup, capturing all the web pages as well as the SQL backup.
3. Deletes the SQL backup.

]]>
By: Ramon Gandia https://www.tecmint.com/sync-two-apache-websites-using-rsync/comment-page-1/#comment-1343347 Thu, 09 Jul 2020 02:38:14 +0000 http://www.tecmint.com/?p=4699#comment-1343347 My thought was to actually sync the two computers so you can do work on either one, and the directories stay the same. Not at the same time, because Linux is not a real-time system. But say,
at the press of a button you can sync them. That way both computers would have the up-to-date files regardless of which one was worked on. Might be dangerous with two people at it.

When I read the title to this article, I thought “This is it~” Alas, it is just another Rsync to the backup article.

JARSTB.

]]>
By: Ravi Saive https://www.tecmint.com/sync-two-apache-websites-using-rsync/comment-page-1/#comment-1158092 Mon, 27 May 2019 06:42:41 +0000 http://www.tecmint.com/?p=4699#comment-1158092 In reply to Jeff.

@Jeff,

What you mean by real-time? we can set a cron to run every second, but not in real-time. For more information read this – How to Create and Manage Cron Jobs on Linux.

]]>
By: Jeff https://www.tecmint.com/sync-two-apache-websites-using-rsync/comment-page-1/#comment-1158004 Sun, 26 May 2019 17:31:07 +0000 http://www.tecmint.com/?p=4699#comment-1158004 Can you setup a crontab for realtime? Instead of every 5 minutes?

]]>
By: GulfStateSoftware.net https://www.tecmint.com/sync-two-apache-websites-using-rsync/comment-page-1/#comment-1104035 Sat, 23 Feb 2019 21:57:51 +0000 http://www.tecmint.com/?p=4699#comment-1104035 I do webdesign & Development, This article helps me every time when I setup a site for them. Very useful resource.

]]>