How to backup your Windows in Linux

I will show you how to make a fast backup of your windows partition from the command line. Of course, that is if you have enough space on your linux partition. Open a console and type the following command:

$ tar -cvzf win_backup.tar.gz /mnt/win

Where win_backup.tar.gz is the name of the archive and /mnt/win/ is the path to the windows partition (what to backup).

If there is a folder you don’t want to backup, use the exclude option. E.g.:

Switch Explanation:x -extract the contents of the TAR filec -create a TAR filez- uncompress it before extracting, used on file ending in .tar.gz or .tgzv -verbose – display contents as it is tarring or extracting