Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-01-2011, 11:38 AM   #1
LQ Newbie
Registered: Jun 2011
Posts: 10

Rep: Reputation: Disabled
Question Backing Up

Hello everyone,

Just a quick question, how would I backup files to my home directory.Plus, after backing up, restore to a different directory?

I know how to create a new directory, but I want to back up a certain file to my home directory. My screen name speaks for itself when it comes to my question.

Any help or references would be great!
Old 07-01-2011, 12:08 PM   #2
Senior Member
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,703
Blog Entries: 23

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405

Easy and simple:

- use cp

cp /home/yourfolder/afile.ext /mnt/usb/afile.ext
this will create a copy in the folder /mnt/usb, however, as this is the mount folder TO the usb stick, the file will in effect be created on the stick. Provided the USB drive is inserted/mounted, but you know this...

- use the file manager

just enter the stick, see it apear and open TWO file managers. Drag and drop from the one to the other. One "points" to the usb stick, the other to the folders containing the files to be backed up

- use rsync

a very flexible little tool that has to be part of anyone's tool chest, check out the manual...

Placing files back is just as easy: just put the file back from the back up to the required spot. In fact, it's not even a silly idea to have a regular "snapshot" of your whole home folder to an external harddrive...

Everything you do and register ends up in your home folder (wow, sounds like that "warning" in Tron, where a program gets its disk - only the deleting is not there, dont worry) - so it's a sane move to back up the whole thing



Last edited by ButterflyMelissa; 07-02-2011 at 02:14 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
backing up a LV mia_tech Linux - General 2 10-12-2009 11:52 PM
Backing up my OS dougnc Linux - Software 4 07-02-2007 10:17 AM
Backing up ChristineCrawford Linux - Newbie 8 12-17-2005 07:21 AM
backing up koyi Linux From Scratch 2 10-09-2004 10:54 AM
backing up coheed Linux - Software 4 01-25-2004 09:01 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration