[pmwiki-users] syncing pmwiki with local installation (OSX)

Tamara Temple tamouse.lists at gmail.com
Sun Nov 24 22:33:07 CST 2013

On Nov 19, 2013, at 3:13 AM, Peter Bowers <pbowers at pobox.com> wrote:

> On Sun, Nov 17, 2013 at 3:49 PM, Chris Lott <chris at chrislott.org> wrote:
> I'd like to have a two-way
> sync between a local installation of pmwiki on my Macbook and my
> "real" wiki. I'd prefer to sync the whole wiki, not just a group.
> I don't use mac, so take this with a grain of salt, but a quick stroll through google-land seems to indicate that mac supports rsync and cron natively.
> If that's the case then you should be able to set up a cron-job to sync with your server via FTP or SSH without too much difficulty.  Google for "rsync mac tutorial" if you need to learn rsync...
> -Peter
> PS Here's one tutorial: http://www.egg-tech.com/mac_backup/
> PPS I use syncback in windows-land for this type of capability.  Their freeware version allows for this type of operation over FTP.
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Take a look at the cookbook pages about backing up your wiki as well. I wrote at least one tool geared towards this that uses rsync (and I run on macs): http://www.pmwiki.org/wiki/Cookbook/BackupWithRsync.

That gives one-directional sync. A bi-directional sync can be maintained with unison, which does rsync back-and-forth to keep both ends in sync: http://www.cis.upenn.edu/~bcpierce/unison/

Another fun idea I had was to put my dropbox on my server, and on my macbook, of course, and have the pmwiki working directory in a (private) dropbox folder, but that did require the server to be logged in under my account. This was okay since it’s my own VPS. Might not work with  a shared hosting situation.

More information about the pmwiki-users mailing list