Backup problems


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Backup problems
# 1  
Old 10-24-2001
Data Backup problems

Hi,

I have two laptops that I need to switch Harddrives in, but I want to try and retain the data on on of the machines.

This has a hd with win2K/Rhat6.2 dualboot, and I really only need to keep the Linux partition data.



can I tar the files in the linux partition and then untar it to the new hd and off I go after I have reset the MBR with LILO? or is there any issues I need to take into account?

I was just going to create the partitions with the same name/type as on the original machine, so I think it will work.

Anyone done this before have any tips?

thanks,
# 2  
Old 10-26-2001
tar is one way to do it. You might look into using dd .
# 3  
Old 10-26-2001
Hi Neo,

tar did the trick alright, I had heard about dd, but could not use it as I was dealing with having to swap a 10Gb Dell laptop HD for a 20Gb one, and they could not be connected to the same machine.

for anyone interested, I started with a laptop with Linux/win2K dualboot.

I booted in Linux, and created 2 tar files, one of the windows partition, the other of the Linux partition. I then made a boot disk for the linux partition.

I used fdisk on a second machine to configure the partition table the same as on the first machine.

I then installed windows on a second machine onto the hard drive that I wanted to use for the first machine, and used a crossover cable to transfer teh 2 tar files to the new hard drive.

I then swapped hard drives, and booted from a Linux floppy, mounted the windows partition, formatted the Linux partition, and untarr'ed the Linux partition back to place.

Next I copied the windows.tar to the linux partition, did a rm -rf on the windows partition, and untarr'ed the windows files back.

I booted from the Windows disk, and repaired the windows install.

Final step, boot from the Linux floppy and run lilo to reset the boot options, and voila:
Both Os's moved to a new HD, but in the same machine, same configuration :-)
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help with Backup Shell Script for Network Device Configuration backup

HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here Im explaining the requirement of script. AIM: Shell script to run automatically as per scheduled and backup few network devices configurations. Script will contain a set of commands... (4 Replies)
Discussion started by: saichand1985
4 Replies

2. Shell Programming and Scripting

Rsync script and backup problems.

Hello everybody I'm triing since few days to do this. So sorry if my question looks stupide, but i've tried. I have to get picture from a folder (who is updated automaticly and with subfolder) with theirs extensions (i'm ok on that) and this files have to me copied in a folder where a website... (7 Replies)
Discussion started by: boytruc
7 Replies

3. Shell Programming and Scripting

rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment?

Hi Everyone, we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment? Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies

4. UNIX for Advanced & Expert Users

backup a file and keep every version of the backup

I am trying to backup my .bash_history and I want to keep every version of the backup. I am thinking to put one of these in my crontab. 0 0 * * 0,3 cat .bash_history > boo 0 0 * * 0,3 cp .bash_history boo I would like the backups to be called boo1, boo2, boo3, etc. I would like to keep... (7 Replies)
Discussion started by: cokedude
7 Replies

5. SCO

Backup to SCSI Tape Backup aborts

I am trying to make a full backup of my system using the cpio command. The Tape Unit is a SCSI DDS. The process started fine but after about 30 minutes, it just stopped and showed the following message: 1755 Signal 31 - Core dumped Any idea of what is causing this and how to fix it? ... (4 Replies)
Discussion started by: zionpc
4 Replies

6. UNIX for Dummies Questions & Answers

Check backup file size on backup tape

Hi, I performed backup on tape and I want to append more files to my previous backup on the same backup tape. But before I do that I need to know the backup file size of the first backup I performed so that I know the available size on the backup tape. Can someone help me what command I will use... (0 Replies)
Discussion started by: ayhanne
0 Replies

7. UNIX for Dummies Questions & Answers

tar backup problems

Im trying to use tar to backup the os directories. I have a file called bdirs which contains a list of the directories that im trying to backup: /bin /dev /devices /etc /export /home /kernel /lib /local /mnt /opt /platform /proc /sbin start /usr /var /vol (3 Replies)
Discussion started by: blakmk
3 Replies

8. UNIX for Advanced & Expert Users

'make' problems (compliation problems?)

I'm trying to compile and install both most recent version of 'make' and the most recent version of 'openssh' on my Sparc20. I've run into the following problems... and I don't know what they mean. Can someone please help me resolve these issues? I'm using the 'make' version that was... (5 Replies)
Discussion started by: xyyz
5 Replies

9. UNIX for Dummies Questions & Answers

Backup Problems

I am trying to take a backup of one server and put it on another server for programming and testing. When I take a tape with the complete backup and put it in the new server I am asked for tape 2 within 10 minutes or so. It took an hour to make the backup, and there was only 1 tape. I'm using... (1 Reply)
Discussion started by: Mike11
1 Replies
Login or Register to Ask a Question