
That’s because Windows lets you store your files in any location you like. You’ll notice that we’re using a lot of words like “by default”, “likely”, and “probably” when saying where your files are stored. But, if those virtual machines are important and it would take you a good amount of time to configure them again, you probably want to back them up. If you have a many gigabytes of virtual machines that take a large amount of space and you wouldn’t mind setting them up from scratch again, exclude the virtual machine folder. For example, if you store a bunch of downloaded videos in the Videos folder and you don’t mind redownloading them in the future, exclude it from the backup. You may choose to exclude certain folders from the backup if you don’t want them present. If multiple people use the same PC and have their own files, back up each user account’s folder. This ensures you have all your personal files and settings, and you don’t have to spend much time thinking about it. With that in mind, we recommend you back up your entire user account directory, including the hidden AppData folder. You may be able to use this data to restore an individual program’s settings if you ever need to recover from a backup. This is where programs store the settings and data specific to your user account. There’s also an AppData folder here, but you won’t see it unless you’re showing hidden files and folders. RELATED: What Is the AppData Folder in Windows? It also includes other important folders, like OneDrive, Dropbox, and Google Drive, where offline copies of your cloud files are stored if you use these services. It even includes your Desktop folder, where many people store files. If you use iTunes for your music, iTunes stores its music library in your music folder by default. These include the Documents folder where your documents are saved to by default, the Pictures folder that likely contains any family photos you have, the Downloads folder where files are downloaded, the Music folder where your music files are probably stored, and the Videos folder where videos are stored. Please check “man rsync” for more.By default, this directory contains your user account’s data folders. rsync also supports copying files to remote host. The method can also be used to backup other kinds of directories besides of linux home directories given the user running `rsync` has sufficient permission to the directories and files. You can use cron to run it every day or every week.

You can check all options of rsync from ]. If you would like `rsync` to delete the files/directories in the destination directory if the files/directories does not exist in the source directory, you can add `–delete` to `rsync`: $ rsync -avxP -delete Note that the files on the destination directory storing the backup data will be kept if the files do not exist in the source directory to be backup’ed. partial means keeping partially transferred files if the transfer is interrupted progress means printing information showing the progress of the transfer v means print out the verbose information during backuping path/to/directory/for/storing/backup -a means archive mode The method is simple, just execute this command: $ rsync -avxP
