

In such cases, a snapshot-based backup is the better approach. This will leave you with a dependency error when you will need to use that backup. Say for example, when rsync will reach the file 2, the contents of the previous file (File 1) might be changed. If your system is being actively accessed by some other systems on the network, it is not a better solution.īecause, the contents of the systems might be constantly updated every minute, and some files may change during the rsync process. Please be mindful that this is suitable for local and stand-alone systems only. To restore the backup, just reverse the source and destination paths in the above command. Filter by these if you want a narrower list of alternatives or looking for a specific functionality of rsync. rsync alternatives are mainly File Sync Tools but may also be Backup Clients or Disk Imaging Tools. To backup the entire system, all you have to do is open your Terminal and run the following command as root user: $ sudo rsync -aAXv / -exclude= /mnt Restore Backup Other interesting Linux alternatives to rsync are FreeFileSync, Duplicati, Rclone and Restic. Mount your drive to any location of your choice. In my case, my Pen drive id is /dev/sdb1.

Then find the drive letter using ' fdisk -l' command. Backup Your Entire Linux System Using Rsyncįirst, insert your backup medium (USB thumb drive or External hard disk). Please note your destination disk size should be bigger than the source disk's size. It will work regardless of hard disk's size and the underlying file system. Because It doesn't matter if your hard drive is different size, or use different filesystem. While there are so many tools to backup your systems, I find this method super easy and convenient, at least to me.Īlso, this method is way better than disk cloning with dd command. I copied my entire root ( /) tree with Rsync using a single line command. Rsync -r This option is the classic option that recursively copies all files and subdirectories within the source target directory. I never thought that it was going to be that much simple. While searching for an easiest way to do this, I found an easiest solution in Arch Linux wiki.
