Thread: Rsync
View Single Post
  #6 (permalink)  
Old 07-23-2008, 12:54 PM
Frank Elsner
 
Posts: n/a
Re: Rsync

Unruh wrote:
> Mtek <mtek@mtekusa.com> writes:
>
>
>
>>Hi,

>
>
>>I have 2 servers. One is a web/mail server and the other is a backup
>>server. Currently, to back up the server I have a script that runs
>>which basically tar's the entire apache tree along with dumps of the
>>MySQL databases and use SCP to send them to the backup server.

>
>
>>Later, a script runs on the backup server which untar's the files and
>>imports the databases.

>
>
>>My question is, is this a good backup method? I see many people using

>
> OK but cumbersome.
>
>>RSYNC. Would this be a better solution? If yes, how would I do it??

>
>
> Yes, it would be. rsync also checks the data for correctness ( hashes the
> same) while transfering it.
>
> It also transfers only what has changed, not everything every time.


What about database file with holes, postgres comes to my mind.
Is it save to rsync them?


--Frank
Reply With Quote