Backup and Restore Your Linux System with rsync @AverageLinuxUser
Backup and Restore Your Linux System with rsync  @AverageLinuxUser
Uploaded July 2017 | Updated September 2026, 2 weeks ago
From this video you will learn how to backup your whole Linux system and how to restore it back if something bad happens to it.

The command you need is this one:

sudo rsync -aAXv --delete --exclude=/dev/* --exclude=/proc/* --exclude=/sys/* --exclude=/tmp/* --exclude=/run/* --exclude=/mnt/* --exclude=/media/* --exclude="swapfile" --exclude="lost+found" --exclude=".cache" --exclude="Downloads" --exclude=".VirtualBoxVMs" --exclude=".ecryptfs" /source /destination

You can also add the option --dry-run to simulate the backup process.

The command to restore your system is shorter:

sudo rsync -aAXv --delete --exclude="lost+found" /backup /system

To see more options run:

rsync --help

How to make a bootable USB drive youtu.be/rpGgTTFKwiU

################################################

Support on Patreon: patreon.com/averagelinuxuser

Donate through PayPal: paypal.me/Kryvokhyzha

################################################

More cool Linux stuff at other social media:

Google+ - Best Linux Stuff: plus.google.com/+AverageLinuxUser
Facebook - Top Linux Tips: facebook.com/AverageLinuxUser
Twitter - Daily Linux News: twitter.com/AVGLinuxUser

Website: averagelinuxuser.com
Backup and Restore Your Linux System with rsyncLinux Mint Cinnamon Themes and Icons beyond the defaultBitNinja Server Security - Tests and ReviewDeploy Kubernetes cluster with ContainerD00. Why you MUST use the Command Line (MOTIVATION)20 things to do after installing MX Linux (2021)Ubuntu 20.04 Review (vs Ubuntu 18.04)How to set an account image in XFCE with several users.How to SSH into VirtualBox machineHow to shrink a partition without losing data?Make a bootable USB drive on any Linux distro4 reasons to avoid Ubuntu 21.04!
Average Linux User |

Backup and Restore Your Linux System with rsync

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER