Easily Back Up Your Data With Mirrordir

Mirrordir is a light weight yet powerful command line based back up utility. It supports many options such as checking file modification time stamps to determine which files it should replace or not.  The best way to use this utility to quickly back up your data would be to probably create an executable bash script (series of terminal commands)

Creating a Mirrordir Bash Script:

There are many options available to you in Mirrordir, however the most common use would be to backup a directory, by having Mirrordir check which files have changes, therefore only transferring the relevant data to the backup directory and saving time, the following command would achieve just that:

mirrordir -a -m /home/username /media/harddisk/

To create a bash script from the above command simply paste it into a blank text file and save it somewhere convenient, then go into the saved file’s properties and mark it as executable under the permissions tab.

To view the full set of options and features available with Mirrordir, open a terminal and type

mirrordir –help

Which will print out usage instructions for all the options available

Installing Mirrordir:

1. Mirrordir is already in the Ubuntu repositories, therefore installing it requires the following simple command

sudo apt-get install mirrordir

If you prefer a the graphical user interface you may navigate to the synaptic manager and search for and install mirrordir

Tags: , ,

blog comments powered by Disqus
`