Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

rsync backup

The rsync command stands for Remote Synchronization.

The Linux command rsync is used to do a backup operation and fast copy file into the local system or remote system in UNIX/Linux.

rsync command examples

# rsync options source destination

$ rsync – zvr /var/www/website/   /root/tmp
$ rsync –avz /root/temp/ linuxconcept@192.168.5.111:/home/linuxconcept/temp/
$ rsync –avz linuxconcept@192.168.5.111:/var/lib/mysql /root/temp
Source by linuxconcept.com #
 
PREVIOUS NEXT
Tagged: #rsync #backup
ADD COMMENT
Topic
Name
4+9 =