rsync command to take linux backup

| May 19, 2011 | 0 Comments

You can schedule backup in cron using rsync command

0 0 * * * /usr/local/sbin/resync &> /dev/null

vi /usr/local/sbin/resync

rsync -avz -e ‘ssh -p2093′ /home/test/ root@208.53.158.150:/test/animal/

Tags: ,

Category: Linux Administration

Leave a Reply

You must be logged in to post a comment.