LinuxQuestions.org
Review your favorite Linux distribution.
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 12-20-2010, 12:43 AM   #1
Shenkle
LQ Newbie
 
Registered: Dec 2010
Posts: 6

Rep: Reputation: 7
Using USB extrenal drive for backups


Hi,

I have inherited a network server running Redhat Enterprise (4?) which uses an external USB drive for backups. These have been scheduled to run at midnight each night.

I want to use 2 external drives to hold the backups (exchanging the usb drive each day). My question is: Is there anything I need to do to a new USB drive before exchanging the drives (eg. formatting etc) or can I simply just plug the new one in and let it run?

I apologise for the very basic nature of this question but I have no clue about Linux.

I appreciate any assistance you can give.

Cheers
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 12-20-2010, 01:13 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

The short answer is "just plug it in, and you should be good." It really IS almost as simple as that !

The longer answer is:
1. All "filesystems" (for example, every partition on your hard drives) are "mounted" (before you can read from and write to them).

2. The commands to mount and unmount filesystems are "mount" and "unmount", respectively.

3. The command to see what filesystems are currently mounted is also "mount" (with no arguments).
Code:
EXAMPLE:
mount
/dev/sda2 on / type ext4 (rw,errors=remount-ro,commit=0)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/paulsm/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=paulsm)
/dev/sdb1 on /media/My Passport type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
<= In this example, I have a little Passport drive mounted on "/dev/sdb1"

4. I would encourage you to:
a) Run "mount" (to familiarize yourself with your filesystems)
b) Identify your USB drive
c) Try "unmounting" it (so you can safely remove it)
d) Try plugging it back in (to verify it remounts itself automatically, and correctly)

'Hope that helps
 
1 members found this post helpful.
Old 12-20-2010, 01:31 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Congratulations on your elevation to LQ guruhood, paulsm4

[the above was paulsm4's 5000th post]
 
2 members found this post helpful.
Old 12-20-2010, 02:28 AM   #4
Shenkle
LQ Newbie
 
Registered: Dec 2010
Posts: 6

Original Poster
Rep: Reputation: 7
To paulsm4: Thank you for your prompt reply. I'll do as you sugest and update with teh progress in my understanding.

Many thanks!
 
1 members found this post helpful.
Old 12-20-2010, 10:47 AM   #5
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Thank you!
 
Old 12-20-2010, 07:39 PM   #6
Shenkle
LQ Newbie
 
Registered: Dec 2010
Posts: 6

Original Poster
Rep: Reputation: 7
Hi Paul,

1st up date. The system recognises the new drive and it mounts and dismounts correctly it. It's just completed a backup so all good.

Many thanks for your help and please allow me to genuflect

Cheers

Alan
 
Old 01-02-2011, 01:03 PM   #7
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
Thumbs up

Good LQ attitude, Shenkle, keep the updates coming.


Edit: As long as we're noticing, that was my post 4040 (40-40), what does that say about my eyesight?

Last edited by archtoad6; 01-02-2011 at 01:08 PM. Reason: add silliness
 
  


Reply


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
How to do backups to external USB drive webwired Linux - Newbie 3 03-06-2010 04:57 PM
Network Backups to a Terrabyte Tape drive stsvatos Linux - Software 3 01-15-2009 09:27 PM
cannot detect Western Digital MyBook 250GB USB extrenal storage dbulka Linux - Newbie 5 09-12-2007 09:54 PM
Extrenal disk automounting gsouf Linux - Hardware 0 01-29-2006 06:27 PM
Backing up files with a USB Extrenal hard drive linuxmarine Red Hat 13 05-26-2005 09:33 PM


All times are GMT -5. The time now is 10:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration