With exceeding amount of data present with each one of us today, backing up plays a very important role, for many backing up is very important , they set up special backup servers to backup data from all pcs on their network and for some backup is like burning another disc, maybe just copy a 100mb folder onto a cd.
So it varies from person to person.If you are guy who isn't that particular on backing up but definetly want to back up once in a while whenever you have the time or whenever you JUST FEEL LIKE!! :-).In such cases, scheduling a backup is not possible and it involves manually doing the stuff, so the best thing to do in such situation is to use a simple on line command to backup.
Here the cp command is used with the recursive option.In this example i am going to copy the home folder of mat which would be /home/mat and copy it to my backup folder in my external hdd which is located at /media/backupdrive/backup .So the command would be like this

cp -r /home/mat /media/backupdrive/backup

Now it may be difficult for you to remember this command, so you could easily save it to a file and double click on it for it to start the backup process.To do so , follow the steps below

Step 1 : Go to Applications->Accessories->Text Editor and type in the above command( cp -r /home/mat /media/backupdrive/backup ) and save it to a file say backup.txt ( just an example).


Step 2 : Now right click on the file backup.txt and click on properties and go to the Permissions Tab and CHECK "Allow Executing File as program" as shown in the screenshot.

Step 3 : Then the next time you double click on the backup.txt file , you should see a pop window like this.

Step 4 : Click on "Run in Terminal" and your backup process should start!!

0 comments

Post a Comment