
Now we want to setup a parallel Pi (same basic image) and want to use rsync to transfer critical files to this Pi (EM_PiB) using a CRON job on a regular schedule (daily, hourly, ...). I have read through this posting (viewtopic.php?t=255425) which has thoroughly confused me to the point where I really don't know how to proceed. The "without password" criteria in that posting seemed to be integral to the complexity? And maybe necessary?
Anyway, today EM_PiA (source) and EM_PiB (destination) are essentially the same with only the hostname changed. Both are on the same internal network, in fact side-by-side, with SSH access and configured with SAMBA so we can setup shares if necessary.
We want to setup a CRON job to copy a folder, for example /var/vmail, from EM_PiA to EM_PiB, removing destination files/folders which are no longer on the source (EM_PiA).
We assumed that rsync would provide the tools to do this operation, but as I worked my way through this posting (viewtopic.php?t=255425) it seemed to be VERY complicated and left me with more questions than answers.
The goal here is to have a "backup" server up-to-date, ready and configured if the primary server has a serious failure. Can someone assist? Thanks...RDK