LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-02-2004, 05:15 AM   #1
BBlalock
Member
 
Registered: Apr 2002
Posts: 47

Rep: Reputation: 15
Will this command backup my box?


I'm want to try the following command, but I'm not certain if it will do what I want.

cp / /raidback/LinuxBoxBack/ -R -p -x -v --reply=yes

If I run that as root on my Linux box will it copy the entire contents of my Linux box to the backup directory, automatically overwrite any files with the same
names, and avoid recursing into the /raidback/ shared directory?

Are there any potential gotchas to watch out for?

If there is a better way to do what I want what is it?

I need the backup to be uncompressed and browseable (ie not in a tar file) as I will be wiping my entire linux box and installing Suse 9.0 (Mandrake 8.2 was
getting just a little bit old.) on it.

Manually copying my home directory and any other files it turns out
that I need is my normal procedure when I'm upgrading the OS or moving my data from box to box. (I'm sure that there's a better way to do that also, but I don't need that answer right now.)

Thanks!
 
Old 05-02-2004, 09:03 AM   #2
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
i think the easiest way to do this would be to make a seperate partition and move the items onto that partition, then tell the installation not to delete/format that partition

not sure about that command though
 
Old 05-02-2004, 12:14 PM   #3
BBlalock
Member
 
Registered: Apr 2002
Posts: 47

Original Poster
Rep: Reputation: 15
And moving the items was the problem here.

I think I've answered my question though, www.linux.com has a hard disk upgrade HowTo that has something that might work.

Thanks!
 
  


Reply



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 can I get the rpm command and rpm build command on my Debian box? abefroman Debian 6 11-28-2005 12:38 PM
Incremental Backup (tar command) maginotjr Slackware 4 07-21-2005 01:04 AM
monitor mail box and exec command brumela Linux - General 2 05-30-2005 08:13 AM
I can't do an incrimental backup anymore with an XP box. trilect Linux - Networking 2 08-20-2004 08:30 AM
backup command ust Linux - General 1 03-16-2004 12:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:58 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
Open Source Consulting | Domain Registration