Hello, when having 3 or more linux servers, all have directory /backup and i want when on some server is new backup file created, it will be also copied to rest of the servers so aim is to keep same directory content on all servers. Im talking about automated syncing, not somethign i need to execute manually. Please is there any tutorial on how to achieve this? any ideas on google phrasses etc? thx
I cant find any linux tutorial for this software. I dont use GUI, but i have only command line, and i found no info how to install & use via command line (have Redhat CentOS)
I would recommend lsyncd for this, pretty straightforward to setup: http://www.rackspace.com/knowledge_center/article/install-and-configure-lsyncd
@postcd Do you have plain serves OR do they have any control panel? BTW, what you are looking for can be achieved by lsyncd, however, it can be achieved using simple rsync commands as well by placing them in a cronjob and copying ssh key of each server to other servers. If you have a cPanel control panel, it will make things more easy as you can use the rsync command directly in the cPanel backup scripts so once the finish backup, your rsync command will be executed and latest backup will be copied to other servers immediately? Keep posted about the current status of your configuration, so people here can help you further.
I have latest WHM on server.. i prefer free linux command line way. i already setup some amateur script for rsyncing, its not ideal
You mentioned you want to sync the backups.. how are those backups created? Are they cPanel backups? If yes, you can just place the rsync command within the cPanel's backup script itself and once cPanel completes the backup, the rsync command will be executed automatically and your backup will be synced to the servers you mention in the rsync script.
One backups are cpanel gzipped fullbackups, second are tar gzipped archives, these are not located on WHM server, third are backups of my bash scripts and some system files. So not all can be done via WHM