LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



Reply
 
Search this Thread
Old 09-12-2011, 01:41 PM   #106
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0

This time, running "sudo cp -Riv "$HOME" /media/Lexar", the process went to completion, but all during it the flash drive was not filling up. And at the end, it was still empty. Also, at the end of the run, my disk was about 1 GB fuller. Still 1.7 GB left on the disk.

I'd like to try running the code with the flash drive in the other slot, even though it isn't promising a move.

Last edited by glenellynboy; 09-12-2011 at 01:44 PM.
 
Old 09-12-2011, 01:54 PM   #107
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
Using a different slot, everything went the same. Should have known.

Last edited by glenellynboy; 09-12-2011 at 01:57 PM.
 
Old 09-12-2011, 02:07 PM   #108
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
Plug in the drive, run "cat /etc/mtab", and post the output. Once you do this, do not unplug the drive or run any other commands until I tell you to, because the commands I will give you afterwards depend on it.
 
Old 09-12-2011, 02:11 PM   #109
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
Ok, here are the results:

/dev/sda1 / ext2 rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
none /dev/shm tmpfs rw 0 0
none /sys sysfs rw 0 0
none /mnt/home aufs rw,si=d659c180,xino=/home/user/.aufs.xino,create=mfs,dirs=/home/user=rw 0 0
/dev/sdb1 /media/Lexar vfat rw,nosuid,nodev,uhelper=hal,utf8,shortname=winnt,uid=500 0 0
 
Old 09-12-2011, 02:14 PM   #110
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
Now try:

Code:
sudo umount /media/Lexar
sudo mkdir /backup
sudo mount /dev/sdb1 /backup
Tell me whether all of them succeeded.
 
Old 09-12-2011, 02:19 PM   #111
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
I'm not sure what you mean by succeeded. Here are the outputs:

1)audit_log_user_command(): Connection refused

2)audit_log_user_command(): Connection refused

3)audit_log_user_command(): Connection refused

--all the same.
 
Old 09-12-2011, 02:21 PM   #112
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
Quote:
Originally Posted by glenellynboy View Post
I'm not sure what you mean by succeeded. Here are the outputs:

1)audit_log_user_command(): Connection refused

2)audit_log_user_command(): Connection refused

3)audit_log_user_command(): Connection refused

--all the same.
Try running "ls /". If it contains an entry called "backup", then the commands probably worked. In that case, run:

Code:
sudo cp -Riv "$HOME" /backup/home
If that succeeded, run:

Code:
ls /backup
to verify the contents, and:

Code:
sudo umount /backup
to safely remove the drive.

Last edited by MTK358; 09-12-2011 at 02:24 PM.
 
1 members found this post helpful.
Old 09-12-2011, 02:25 PM   #113
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
The first word of the output was "backup". There were 3 lines of text.
 
Old 09-12-2011, 02:30 PM   #114
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
It looks like it succeeded. See the rest of my previous post.
 
Old 09-12-2011, 02:50 PM   #115
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
Relief!

The stick now contains a single directory named "home". It's about 2.5 GB.

Thanks so much!!

Last edited by glenellynboy; 09-12-2011 at 02:52 PM.
 
Old 09-13-2011, 12:25 AM   #116
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
@MTK358
Any idea what went wrong the first time around (post #106)?
 
Old 09-13-2011, 07:48 AM   #117
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
Quote:
Originally Posted by Wim Sturkenboom View Post
@MTK358
Any idea what went wrong the first time around (post #106)?
I have no idea.

So I just told him how to undo the automatic mounting and mount it manually.
 
Old 09-13-2011, 08:18 PM   #118
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
I am not sure when my brother will be able to schedule me to use his computer so I want to rehearse updating my backup. I will want to incorporate all my latest work into the backup immediately before I create the bootable USB drive, and try out and install the Mint OS.

Can someone look over my plans below and advise corrections?


1) Delete contents of flash drive using "files".


2) Unmount flash drive:

sudo umount /media/Lexar


3) Label flash drive "backup":

sudo mkdir /backup


4) Mount flash drive:

sudo mount /dev/sdb1 /backup


5) copy "home" onto flash drive:

sudo cp -Riv "$HOME" /backup/home


6) Use "files" to check if the backup is on the flash drive, and also "files" to make a safe extraction of the flash drive.
 
Old 09-14-2011, 12:54 AM   #119
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Sounds good. Some comments though

Step 3
1)
The terminology is not correct. It's not 'labeling' but creating a directory on your local harddisk; it will not affect anything on the flash disk
2)
The step will more than likely fail because the directory /backup already exists (unless you deleted it); that is nothing to panic about, just make sure that the directory exists (e.g. using files or with ls -l /backup (that is EL ES minus EL ..., not EL ES minus ONE))


I would add one step in the beginning and that is to close all applications (browser, email client, word processor, ...) before you start the backup procedure (actually before you run the cp command).

Last edited by Wim Sturkenboom; 09-14-2011 at 01:03 AM.
 
Old 09-14-2011, 12:08 PM   #120
glenellynboy
Member
 
Registered: Jan 2010
Location: Chicago, IL
Distribution: Linpus Linux Lite v1.0.3.E
Posts: 215

Original Poster
Rep: Reputation: 0
Thanks for that correction.

My brother's wife nixed the idea of me using their computer and my list of other possibilities is very very short. I am working on it.

It's good to be able to backup though.

Thanks again.
 
  


Reply

Tags
linpus, mint, ubuntu


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
Is there a substantial difference between Linux Mint Ubuntu and Linux Mint Debian? schachwizard Linux Mint 4 10-10-2010 12:27 AM
Linpus Lite - Change File/Folder Permissions osaddict Linux - Newbie 25 09-05-2010 04:01 PM
Linpus Lite and Linpus 9.6 pane sizes outside viewable screen area Dave Wakefield Linux - Software 0 04-02-2009 09:14 AM
How do I replace Linux Mint with Suse 11.0 on PC with Win XP Mint and Ubuntu? jremsen Linux - Software 4 02-15-2009 07:54 AM
Desktop search in Linpus, Change from Yahoo to Google Debizzle Linux - Newbie 2 01-08-2009 03:58 PM


All times are GMT -5. The time now is 12:30 PM.

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