Backing up System

A while back I decided I needed to back up my system so using the Arch wiki put together this command to copy the whole HDD to a location excluding some directories. Works a treat and whilst not totally ideal this is what I am using for the moment.

rsync -aAXv –exclude=”/dev/*” –exclude=”/proc/*” –exclude=”/sys/*” –exclude=”/tmp/*” –exclude=”/run/*” –exclude=”/mnt/*” –exclude=”/media/*” –exclude=”/lost+found” –exclude=”/home” –exclude=”/var” –exclude=”/minecraft” –exclude=”/docker” / /home/*****/Backup

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s