You can also copy files from your local file system to your remote server with rsync. Ī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. How Brief: Grsync is available on some linux flavors like Ubuntu (see. Now, type in the password for the remote user (in my case it’s root) and press. See features, resources, screenshot and online backup sections for more information. 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. Hi all Im wondering about the default backup tool included with Ubuntu 12.04 and 13. Let’s make some dummy files in the ~/Downloads directory. r: to copy the folders and their contents. Available options are: -v: the copied files and folders will be shown on the shell. rsync options /path/ source / /path/destination/. To install it type: sudo apt install rsync. 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. The rsync packages are already present in the Official Ubuntu Repository. 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.
0 Comments
Leave a Reply. |