![]() ![]() You’ll note that Rsync added the home folder of my user account (which is where all my files are stored). After the Rsync command finishes and all files have been backed up, view the folder location on your Synology NAS (or wherever you’re storing it). ADDRESS]://Backups/ : This is the location of the Synology NAS’s folder that we are backing our files up to.Ģ.If you’d like to see what exists here, you can “cd” into it (cd ~), and then “ls” to see the folders/files. Meaning the directory that you will be backing up. Rsync -ax : This is the Rsync utility and command line parameters.NOTE: It’s important to know the format of the command above, so let’s break it down: ![]() We are not going to go through the process of using Rsync to back up our Linux PC (link above), but for your reference, this is the command that I used to back up my home folder. Use Rsync to Restore Backed up Files from a Synology NAS – Instructionsġ. Use Rsync to Restore Backed up Files from a Synology NAS – Instructions.PART 2: Use SSH Keys to Automatically Backup a Linux PC to a Synology NAS! PART 1: How to Backup a Linux PC to a Synology NAS using Rsync! If you missed the first two parts of this tutorial, please check them out below. However, restoring individual files/folders is a valid use-case. ![]() It just means that restoring the entire root directory is not an option as you risk major file/folder permission issues. This does not mean it’s impossible to back up other folders/files (as you can backup the entire root directory and should in many cases). Rsync is a great utility for backing up your home folder and personal files but will be a poor option for certain scenarios. If there’s one thing you need to know, it’s that Rsync is NOT something you should or can use for bare-metal restores. Initial backups are long as every individual file is backed up, but future backups are incremental and significantly quicker. Rsync is a utility that transfers files from one file location to another. If you backup through the network, you can enable the Compress file data option for faster transfer to make it lighter.Now…technically, you can substitute the source in this tutorial (Synology NAS) and replace it with any location you’d like, but following the trend of our last two tutorials, we will be restoring the files from a Synology NAS.īefore we get started, I want to highlight exactly what Rsync is. I only recommend to enable the Copy symlinks as symlinks option. There are more options in the Advanced tab, however, you probably will not be using them. Size only option enables to compare files by their size and if there is any difference, the file in the destination will be replaced with the source file.Īll these options belong to the Basic Options tab. Show transfer progress option just shows the progress. I recommend selecting this option and backup all the partitions separately. You may need this option if you modified a file on your backup hard drive and you want to keep this new version and do not replace it with older version during the backup.ĭo not leave filesystem option means that it will not copy the content of any mounted partition/device. If you enable the option Ignore existing, Grsync will only copy new files and will not backup the files which you modified after the last backup. ![]() Verbose means to show more detailed information on the screen during the backup process. This way your source and destination basically just mirrored. If you delete a file on your system and run Grsync it will delete that file from a previous backup of your system as well. So, if you copy your data files into the FAT file system, you need to enable the Windows Compatibility option.ĭelete on destination is another useful option for incremental backups. Grsync has a very useful option to ensure compatibility with windows. In other words, if you just backup your home directory or a specific folder with some data, selecting only the Preserve time option is enough. Preserve owner, Preserver permissions, and Preserve group options are important if you want to backup your system, not just your data. ![]()
0 Comments
Leave a Reply. |