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

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

Support on Patreon: https://www.patreon.com/averagelinuxuser

Donate through PayPal: https://www.paypal.me/Kryvokhyzha

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

More cool Linux stuff at other social media:

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

Website: http://averagelinuxuser.com/