Hot answers tagged rsync
What you are trying to do with cp and rsync is create sets of backups with identical files hard-linked to each other. This can be very useful, which is why the rsync developers already though of this and included native functionality directly within rsync to accomplish this. This functionality is provided by the --link-dest option. Basically your rsync ...
As already indicated in the comments, the best way is to check the return code of rsync. Here's some bash code you may want to use to convert the return codes to meaningful strings: rsync -a -v -h -i --stats --dry-run -A -H $source $target case $? in 0) echo "\e[32mSuccess" ;; 1) echo "Syntax or usage error" ;; 2) echo "Protocol ...
Check this link: http://howtodba.com/how-to-build-a-cheap-web-cluster-with-replicated-storage-and-mysql-master-master-configuration/ Read the Step 4: Install GlusterFS server and client I've used that tutorial for a master-master web cluster, with replicated storage via GlusterFS.
It's OK to use rsync for backup tasks (don't forget to run svnadmin freeze before starting rsync!). However, Subversion already includes complete range of backup tools: svnadmin dump / load, svnadmin hotcopy for live backup (without interrupting clients operations), remote repository replication with svnsync, remote repository backup and restore with ...
Only top voted, non community-wiki answers of a minimum length are eligible