Having a small-capacity solid-state drive in your netbook may be limitation but it has one advantage: it's easy to back up. We don't mean copying a few files over to a safe place, but duplicating the entire drive, operating system and all, ready to drop it all back on if the worst comes to the worst. PCs often come with recovery …
Good for Linux too
PING is good for making install images for Linux boxes too so even if you are not enslaved by the Beast of Redmond PING can help you.
Bootable USB is the way to go....
PING works nicely from a partitioned USB stick. You have the PING bootimage on a small partition (the ISO being transferred using UNetbootin). It will then happily save your backups on the remainder of the stick.
The advantage of this approach is that you can restore from a single device. And you can always copy your backups to other media for backup/storage...
Clonezilla + Gparted
Another way of doing it is with gparted and copying partitions graphically (drag and drop) or with clonezilla if you have a networ drive, or intermediary.
A useful tool to have in your drawer is the combined gparted/clonezilla CD.
mount /dev/sdb1 /mnt
dd if=/dev/hda1 | gzip -c | dd of=/mnt/mybackup.gz
Identify the location of your system HD in this example lets use /dev/sda and lets say we plugged in a external USB drive/stick at /media/disk
open a terminal (OMGZ..he said TERMINAL) and enter:
dd if=/dev/sda of=/media/disk/image.img
To restore it ...
dd if=/media/disk/image.img of=/dev/sda
I don't normally comment on guides like these as they are written with a novice in mind, but I do feel that 'dd' can do a far simpler job and really isn't a complicated command to jot down (if you can't remember it). Its also far, far easier than the umpteen menu's covering 4 pages in the article.
A very nice and easy write can be found at:
Quick and simple backups get done, slow, confusing or time consuming ones don't in my experience.
What, no plain, overweight, balding blokes take their netbooks to the beach?
Is this really a 4-page "story" about how to create a bootable clone?
There are more ways
I use partimage from SystemRescueCD, booted from a usb stick rather than a CD (which is more than a little inconvenient on a netbook). You need to fsck the unmounted system partition before you try and back it up for linux netbooks, and chkdsk it if it's XP, otherwise you'll get errors if you've actually used the thing much.
Always nice to...
Always nice to have an OS independent alternative to backing up a system!
@ Those that suggest using dd
Try using that on a running system for real...
My moneys on an image file that is junk as you will be imaging a file system that is mounted Read/Write and has lots of data still cached in the kernel.
Also I would like to see you do the restore as well DD'ing over the top of a live file system sounds like an absolutely brilliant idea.
Or just use Knoppix and partimage
Backup to network but some command line needed...
Did you try the restore?
My experience with PING is that: a) on a drive with errors, the backup may not complete, and b) it sometimes is unable to restore the saved image. The restore process will look like it completes, but the restored disk will be unusable.
A significantly complicating factor is that Windows XP installations tend to become corrupt as a computer slowly dies, making it hard to determine if the problem is software or hardware or both. Additionally, I'm not convinced backing up and restoring a computer with potentially defective hardware is even a good idea. Specifically, I suspect that PING assumes that it is running on perfect hardware. When confronted with old and potentially defective hardware, it does not implement sufficient error checking and recovery code to deal with random small data errors. Once a few of these errors occur, the backup becomes unusable.
dd if=/dev/sda bs=1M | ssh user@server dd of=/home/eee-backup/sda.iso ; ssh user@server gzip /home/eee-backup/sda.iso
If the network is slower than the netbook's chip can run dd, use SSH's '-C' argument.
Maybe I'm missing something
But isn't this sort of jobby something that linux live CDs were supposed to cover?
At least that way you get a full functioning system with internet capability for help etc - especially if the restore has failed. I believe Fedora and/or Ubuntu can be USB stick installations.
That'll work. You can also use nc (netcat) as well
This is why you boot from a live CD or USB key to do the backup. I doubt anyone was suggesting that you can use DD to backup a running filesystem.
Paris, cuz I'd backup her system anyday
I can't believe I'm seeing people seriously suggesting using dd on a mounted filesystem. Wow. And nobody has mentioned rsync.
SystemRescueCD + partimage...
booting from a USB stick is what I also use. My version of SystemRescueCD (v. 1.1.0, but
shouldn't it be called SystemRescueUSB?) has trouble with my eee901's ethernet, so I have
no network connection (no backing up straight to my desktop machine). I am forced to use
USB sticks for backup, but it all works very smoothly.
We use Clonezilla to create images for out Netbooks, works without fail!
As pointed out with varying levels of politeness above dd should be run from a boot cd/usb stick and not from a live running OS. When I had used it previously it was from a USB stick as that was what I was told to do, the link I posted above didn't state that so I didn't either on this occasion,
I was aware running it on a live system wasn't ideal, but equally I didn't realise it was so diabolically bad as people have suggested. Lesson learned and all that.
This is precisely why I mentioned in my original comment that I don't normally comment on these kinds of guides, I'm not a linux guru nor a journalist.
@Tom ... A little less venom in your replies might be helpful rather than coming over as a complete righteous nob.
Paris because someone needs some love.
DD a live filesystem.
You can sometimes do this, but you need to know a lot about your distro.
I do it from a live USB of Puppy.
- Vid Hubble 'scope snaps 200,000-ton chunky crumble conundrum
- Bugger the jetpack, where's my 21st-century Psion?
- Windows 8.1 Update 1 spewed online a MONTH early – by Microsoft
- Something for the Weekend, Sir? Why can’t I walk past Maplin without buying stuff I don’t need?
- Review 'Mommy got me an UltraVibe Pleasure 2000 for Xmas!' South Park: Stick of Truth