Knowledgebase

Portal Home > Knowledgebase > Articles Database > Rsync oddities.


Rsync oddities.




Posted by Henry1975, 01-23-2012, 07:13 AM
Hey everyone, Hope this is the right place to post this! I've been using Rsync for a while to do backups. The process used to be building file list - deleting old files - syncing new files. Now I get "sending incremental file list" and it jumps into it immediately, with the files to sync count increasing. Looking @ yum's update log - nothing should have changed... Am I being overly paranoid, or is everything OK? Here's the commands I'm using: "rsync -avz --delete -e ssh /var/lib/mysql root@xxx.xxx.xxx.xxxql" "rsync -avz --delete -e ssh --stats --progress --exclude-from '/home/backup/exclude.txt' /home root@xxx.xxx.xxx.xxx:home" Thanks in advance

Posted by silasistefan, 01-23-2012, 04:08 PM
i hope you're stopping mysql before sync-ing /var/lib/mysql... why aren't you doing mysqldump? also, why are you removing the mysql dir with each rsync ??? "the files to sync count" is normal to increase after a new directory is read...

Posted by bqinternet, 01-25-2012, 10:55 AM
If you're using Rsync 3.x on both ends, it no longer has to build a file list first. It uses a lot less RAM as a result. If you were already using Rsync 3 on your end, then it's likely that the other end has been upgraded.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
My server? (Views: 551)


Language:

Contact us