Author Topic: Backup script?  (Read 7685 times)

0 Members and 3 Guests are viewing this topic.

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Backup script?
« on: November 12, 2006, 05:39:33 pm »
On my laptop, I have a pretty barebones installation of Windows 98. Once I get the battery replaced, I'd like to back my copy of Windows 98 up, byte for byte, and install Linux, but still have the disk image available incase I ever want to go back.

Tools: CD Drive, 1gb flash drive.

How can I back the entire hard drive up (around 6GB disk, about 500MB used), compressed, and put it on a flash drive, using a Linux LiveCD (obviously, basic tools). I don't want to assume I'll have an internet connection available, so I'd prefer only tools that pretty much any distro has (probably dd and tar).

Thanks!
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Chavo

  • x86
  • Hero Member
  • *****
  • Posts: 2219
  • no u
    • View Profile
    • Chavoland
Re: Backup script?
« Reply #1 on: November 12, 2006, 06:15:18 pm »
You want an image you can just load up to replace the entire drive contents or a backup that you can decompress on top of a working install?

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Backup script?
« Reply #2 on: November 12, 2006, 06:29:36 pm »
Ghost is your best bet.  Disk to image, save the image back onto the disk (not sure if it lets you do that, but its worth a try) or onto the flash drive directly if you can find a way.

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: Backup script?
« Reply #3 on: November 12, 2006, 06:39:32 pm »
A flash drive will probably be USB (I've yet to see a firewire one, but they exist, I'm told).  USB ports are usually /dev/sda#.

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Backup script?
« Reply #4 on: November 12, 2006, 07:22:21 pm »
A flash drive will probably be USB (I've yet to see a firewire one, but they exist, I'm told).  USB ports are usually /dev/sda#.

And your point is?  Ghost isn't Linux.

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: Backup script?
« Reply #5 on: November 12, 2006, 08:21:52 pm »
A flash drive will probably be USB (I've yet to see a firewire one, but they exist, I'm told).  USB ports are usually /dev/sda#.

And your point is?  Ghost isn't Linux.
My bad :\

Offline Chavo

  • x86
  • Hero Member
  • *****
  • Posts: 2219
  • no u
    • View Profile
    • Chavoland
Re: Backup script?
« Reply #6 on: November 12, 2006, 08:27:37 pm »
I'm sure Joe can't afford ghost though either :P

I haven't used it personally, but you might give g4u a shot

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Backup script?
« Reply #7 on: November 12, 2006, 08:29:24 pm »
I'm sure Joe can't afford ghost though either :P

But he can afford visual studio?

You're killin' me uT!

If you have a floppy drive, Joe, download FloppyImage and I can see if I can get ahold of an image of the disk my school used to use.

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Backup script?
« Reply #8 on: November 12, 2006, 09:04:38 pm »
I'm sure Joe can't afford ghost though either :P

But he can afford visual studio?

You're killin' me uT!

If you have a floppy drive, Joe, download FloppyImage and I can see if I can get ahold of an image of the disk my school used to use.

I used Visual Studio Express. $0 is pretty comfy for my budget.

I'd really rather use dd and tar, though. I don't want to depend on a Windows install in order to restore it.

You want an image you can just load up to replace the entire drive contents or a backup that you can decompress on top of a working install?

I want to be able to restore my entire system, bit for bit back to the hard drive (partition tables, everything), exactly as it is right now. Like, the whole /dev/hda.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Backup script?
« Reply #9 on: November 12, 2006, 09:33:30 pm »
I used Visual Studio Express. $0 is pretty comfy for my budget.

I'd really rather use dd and tar, though. I don't want to depend on a Windows install in order to restore it.

I'm positive you've pirated something of equal magnitude.

Ghost is not Windows!  It's completely independent of an operating system.  There are Windows utilities to extract files from an image file, but that does not mean you need to boot to Windows to restore anything.

I want to be able to restore my entire system, bit for bit back to the hard drive (partition tables, everything), exactly as it is right now. Like, the whole /dev/hda.

Then use Ghost.

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Backup script?
« Reply #10 on: November 13, 2006, 11:11:37 am »
@Piracy: VB6 and XP Pro.

@Ghost: Oh, I thought you meant Norton Ghost. Uh.. is that the disks you were talking about? Send them over, I guess. Both my laptop and desktop have floppy drives, but I may have to go buy myself some new disks. :-\.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Backup script?
« Reply #11 on: November 13, 2006, 11:17:24 am »
@Piracy: VB6 and XP Pro.

@Ghost: Oh, I thought you meant Norton Ghost. Uh.. is that the disks you were talking about? Send them over, I guess. Both my laptop and desktop have floppy drives, but I may have to go buy myself some new disks. :-\.

I AM talking about Norton Ghost.

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Backup script?
« Reply #12 on: November 13, 2006, 11:58:44 pm »
Oh.. isn't that dependant on Windows? And why do I feel like I'm asking questions that have already been answered!?

Anyhow, send themz.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Backup script?
« Reply #13 on: November 14, 2006, 12:16:21 am »
Oh.. isn't that dependant on Windows? And why do I feel like I'm asking questions that have already been answered!?

Anyhow, send themz.

NO!!!

There are utilities that extract files from ghost images, but ghost boots off of a DOS floppy and has the ability to image a partition or an entire disk.  There's also some option to clone disks or partitions.

Offline Chavo

  • x86
  • Hero Member
  • *****
  • Posts: 2219
  • no u
    • View Profile
    • Chavoland
Re: Backup script?
« Reply #14 on: November 14, 2006, 01:01:22 am »
Oh.. isn't that dependant on Windows? And why do I feel like I'm asking questions that have already been answered!?

Anyhow, send themz.

NO!!!

There are utilities that extract files from ghost images, but ghost boots off of a DOS floppy and has the ability to image a partition or an entire disk.  There's also some option to clone disks or partitions.
Rofl, watching someone explain something to Joe that he obviously doesn't get is funnier when you aren't the one trying to do it  :P

We use ZenWorks at work which does pretty much the same thing as Ghost, but lets us boot from LAN and pull images from a Linux file server.  Pretty nifty, you can put the images on a dvd too with a small script that automates all of it.