LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-27-2002, 06:49 AM   #1
kalmen
LQ Newbie
 
Registered: Dec 2002
Posts: 9

Rep: Reputation: 0
linux backup and tools


hi ,all

I am trying out all the things about linux , bit by bit , until this moment , I begin really love linux, what I would like to learn and get help is about now is systm backing up ,

1. what to backup ?, so if linux fail and I got to reinstall everything from reformat- repartition- reinstall, that I can get back most of my software that I have installed and configured easily ?

- what are tools that I can use ? ( I have not yet setup my cd writer yet , what CD-writer tools I can use (easy tool?)

- what directory and what things , I need to be carefull and backup regulary?


2. The other days , I ask for help of my RH8, I got feedback from user to get updates from RH8 website , I did that and registered the account , but seems like I can't download anything unless I am a paid , registed user , so what are the things that I can update , or download to my pc and apply update ?

thanks .
 
Old 12-27-2002, 08:24 AM   #2
gardo
LQ Newbie
 
Registered: Dec 2002
Location: Osnabrueck, Germany
Posts: 3

Rep: Reputation: 0
Create a gziped Image of a Partition and write to cd:
dd if=/dev/hda1 | gzip | cdrecord -dao -v -dummy dev=/dev/sg0 speed=4 -data -
The option -dummy is for testing purpose. cdrecord reads from stdin '-' .You can't mount this cd but with
dd if=/dev/hdc | gzip -d > /dev/hda1
you can write it back to hd.
These are no graphical tools you might be used to in windows but they are much more powerfull. dd is an essential Backup prog under Linux.Its easy to use it in cronjobs or build it into shell scripts.Get used to it, read a few howtos and you wont miss the windows stuff.
http://www.linux-backup.net

Last edited by gardo; 12-27-2002 at 08:49 AM.
 
Old 12-27-2002, 03:54 PM   #3
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Well I do a filesystem backup with dump and the restore with the restore command. Check the man pages of those two to find out more information!
 
Old 01-01-2003, 06:21 PM   #4
Cynthia Blue
Member
 
Registered: Dec 2002
Location: SLC Utah USA
Distribution: SuSe 9.1
Posts: 102

Rep: Reputation: 15
I am looking into backup options... tried a dump of one directory onto a second hard drive just to see what it was like.

I mounted the 2nd hard drive and ran:
dump 0f /dev/hdb /var/www
It seemed to run okay. When I tried to mount /dev/hdb again, it gave the message:
mount: wrong fs type, bad option, bad superblock on /dev/hdb, or too many mounted file systems. It mounted and unmounted fine about 10 times before I ran the dump. I dont understand what happened.

Also, since I'm an old windows person, is there any way to see that dump file? Perhaps since I'm not able to mount hdb, that is why. But if I were to see it, what name would it have?

Thanks.
 
Old 01-01-2003, 07:58 PM   #5
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
You could always use "restore -i" to take a peek.
 
Old 01-02-2003, 08:22 AM   #6
Cynthia Blue
Member
 
Registered: Dec 2002
Location: SLC Utah USA
Distribution: SuSe 9.1
Posts: 102

Rep: Reputation: 15
I could do that. I just like to be able to see what files get created.

Also, after I ran the dump, and could not mount the hard drive, I rebooted. Low and behold, I could not reboot, as /dev/hdb had a bad superblock. It dropped me to the shell. There I did a mkfs on /dev/hdb, and then exited the shell. It rebooted fine then, my primary drive was unchanged.

So, maybe using dump is not for me.
 
Old 01-02-2003, 09:38 AM   #7
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
When you backed up /var/www you overwrote the existing file system on /dev/hdb with a dump file.
 
Old 01-02-2003, 10:22 AM   #8
Cynthia Blue
Member
 
Registered: Dec 2002
Location: SLC Utah USA
Distribution: SuSe 9.1
Posts: 102

Rep: Reputation: 15
Ah, so can you only dump to a tape, or to a CD, or some other media? I still think it's strange that the dump caused my 2nd hard drive to be detected as bad. And, why would Linux not boot up if the 2nd hard drive is bad... the primary was still just fine.
 
Old 01-02-2003, 12:20 PM   #9
ferrantepunto
Member
 
Registered: Apr 2002
Distribution: Mandrake - Red Hat - SuSE
Posts: 57

Rep: Reputation: 15
Use Webmin

If you want to have a tool with a graphical interface, you can use the backup module of webmin.

You can download Webmin from www.webmin.com if you don't already have it.

Also, you can use this useful tool to administer your whole server/computer.

Cheers.
 
Old 01-02-2003, 01:14 PM   #10
Cynthia Blue
Member
 
Registered: Dec 2002
Location: SLC Utah USA
Distribution: SuSe 9.1
Posts: 102

Rep: Reputation: 15
A friend told me about webmin... hmm, I am going to have to get that. Looks like it even has a Sendmail configuration option... wow, maybe I'll go to sendmail then, from postfix.

Thanks.
 
Old 01-02-2003, 01:42 PM   #11
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Quote:
Originally posted by Cynthia Blue
Ah, so can you only dump to a tape, or to a CD, or some other media? I still think it's strange that the dump caused my 2nd hard drive to be detected as bad. And, why would Linux not boot up if the 2nd hard drive is bad... the primary was still just fine.
It was complaining about the file system in particular, not the drive. When you did the dump to /dev/hdb, you overwrote the file system with a dump file. When you rebooted, mountd was expecting a file system not a dump file in that location. You could try mounting /dev/hdb as /backups or somthing and then backing up to /backups/backup.dat instead of /dev/hdb.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with every DVD backup tools ! joe2280 Linux - Software 3 10-18-2005 12:00 PM
backup tools bob_man_uk Linux - Software 5 02-09-2005 02:38 AM
MBR software or tools for backup/restore Rubedogg Linux - Newbie 1 12-08-2004 02:58 PM
is there any virtual cd tools like deamon tools on linux ? ixogn Linux - Software 1 02-24-2004 10:19 AM
Backup tools jpc82 Linux - Software 1 07-15-2002 11:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:21 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