Remote synchronization.. Via Rsync.

Rsync on linux box can be use to take backups from servers. The proper use of it would be to do mirroring.. late today i had to do a backup from server i didnt have time to setup rsync server and daemon read rsync man pages found a way to do backup via rsync without rsync daemon to be used.Ā  a single line command would be

sudo rsync -avz -e ‘ssh useratserver@serveraddress.com -p <serverport if any>’ :/path/from/which/tocopy /localpath/tocopy
this is it šŸ˜‰Ā  run it and your done šŸ˜€

Advertisements

~ by Azeem on November 13, 2007.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: