

Īll the files and directories inside the /www directory including the directory /www should be copied over to the USB thumb drive as you can see in the screenshot below. Now, type in the password for the remote user (in my case it’s root) and press. NOTE: Here, root is the remote username, is the remote server’s DNS name and /You may see the following message if you’re connecting to the remote server for the first time. Let’s make some dummy files in the ~/Downloads directory.
#GRSYNC TWO COMPUTERS NETWORK SERIAL#
You may need an Ethernet crossover cable, a null modem serial cable or parallel peripheral cable, or special-purpose USB cables. Now, you want to backup all the files from the ~/Downloads directory to your USB thumb drive /dev/sdb1 mounted in the directory /mnt/myusb. Connect Two Computers Directly With a Cable The conventional way to network two computers involves making a dedicated link by plugging one cable into the two systems. You can copy files from one directory to another directory on your computer very quickly with rsync.įor example, let’s say, you have some important files in the ~/Downloads directory. If you type in a destination directory path that does not exists, then rsync will automatically create it as required.īacking Up Local Files and Directories with rsync:.If you don’t put a / after the directory name in the source of rsync such as myfiles, then rsync will copy all the files from the directory to the destination including the directory.If you put a / after the directory name in the source of rsync such as myfiles/, then it means copy all the files from inside the directory only to the destination.When you use rsync, you need to know the following things: We will take a look at some of the most common options along the way. You can change the behavior of rsync using these options. To allow everyone on the network to access this folder, just choose Everyone and click Add > Share. Switch to Sharing tab and click on Share to give network access to the user groups you want. Right-click the folder you want to share, choose Properties.
#GRSYNC TWO COMPUTERS NETWORK HOW TO#
