Marc's Public Blog - Linux Hacking


All | Aquariums | Arduino | Btrfs | Cars | Cats | Clubbing | Computers | Dining | Diving | Electronics | Exercising | Festivals | Flying | Halloween | Hbot | Hiking | Linux | Linuxha | Mexico | Monuments | Museums | Outings | Public | Rc | Sciencemuseums | Solar | Tfsf | Trips

This page has a few of my blog entries about linux, but my main linux page is here
Picture of Linus

Here is a list of older linux event reports I made before my blog was started, then the rest are below
1996/11/18-21:Linux Pavillion Comdex Fall 1996 (photos only). I've been going since then to help at the linux pavillion.
1997/11/18-21: Linux Pavillion Comdex Fall 1997 (photos only)
1998/05/28-30: Linuxexpo 1998 (photos only)
1998/11/16-20: Linux Pavillion Comdex Fall 1998 (full report)
1998/11/11: Silicon Valley Tea Party (report with pictures)
1999/02/15: Windows Refund Day (report with pictures)
1999/03/20: SVLUG KTEH night (photos only)
1999/03/01-04: LinuxWorld Expo Winter 99 (complete report with many pictures)
1999/03/31: Mozilla Party one year anniversary (photos only)
1999/05/18-22: Linuxexpo 1999 (complete report with many pictures)
1999/06/07: June 99 Balug meeting with Linus
1999/08/09-12: LinuxWorld Expo Summer 99 (complete report with many pictures)
1999/11/15-19: Linux Business Show at Comdex Fall 1999 (full report with pictures)
2000/08/14-17: LinuxWorld Expo Summer 2000 (complete report with many pictures)
2001/01/17-20: Linux.conf.au/LCA 2001 (complete report with pictures)
2001/07/25-28: OLS 2001 (photos only)
2001/08/25: Linux 10th Anniversary (report with pictures)
2001/09/27-30: LinuxWorld Expo Summer 2001 report with pictures)
2001/11/05-10: ALS 2001 (photos only)
2002/06/26-29: OLS 2002 (photos only)
2003/01/20-25: LCA 2003 (photos only)
2003/07/23-26: OLS 2003 (photos only)
2004/01/12-17: LCA 2004 (photos only)
2004/07/21-24: OLS 2004 (photos only)
2005/04/18-23: LCA 2005 (photos only)
2006/01/24-28: LCA 2006 (photos only)
2007/01/17-21: LCA 2007 (photos only)

Here is a list of all the talks I've given:

And below are my blog posts:



>>> Back to post index <<<

2009/11/21 Image For Linux-Dos-Windows
π 2009-11-21 01:01 in Linux
Ok, it's not often that I recommend a commercial product (or it's actually even the first time for that matter), but I would like to recommend Image for Windows, Linux, and Dos.

Why?
Well, doing linux backups and full restores that I can boot is not an issue for me. I realize that some might have a bit harder of a time than I would doing a full linux restore from a boot floppy or CD, and making it bootable, but for the seasoned linux admin, it's not actually that hard.
Doing the same with windows is harder though. To this day I haven't found a good way to do a full file level backup of a windows partition that I can restore and then boot from (especially with ntfs and special file permissions, ACLs, and forks).
As far as I know, windows users just end up using a ghost like solution (i.e. block level backup and not file level backup).

Ghost is however a royal pain in the ass. First, there is not one ghost, but 2 mostly incompatible ones: Symantec Ghost (.gho images) and Norton Ghost (.v2i). Most people know the consumer version of Ghost, aka Norton Ghost which creates .v2i images.
What most people don't realize is that restoring those images if you get a full failure and need to recover from boot media, is actually not that simple. Some ghosts versions do not allow you to recover from the network at all, requiring a USB hard drive that's at least as big as what you're backing up (not always convenient or feasible). If you use the network/corportate Symantec ghost however, and spend enough time figuring things out, you can restore a Norton .v2i ghost over the network, but boy it's not easy.
Read more about Symantec Ghost vs Norton Ghost.

I personally gave up when norton ghost 14 gave me some bullshit error message that I couldn't backup a brand new laptop and compress the image. A search of the error code showed no reasonable fix, and that was enough to entice me to look for a new solution.

I looked at the linux solutions briefly, but didn't find anything that wasn't just a fancy dd, i.e. a full partition backup of all the blocks, whether they are used or not. This is not what I wanted, it's stupid a wasteful.

This is when I stumbled on a reasonably priced shareware program: image for windows (linux and dos). I ended up going with that for the following reasons:

  • it has full backup and restore support of all supported filesystems (unsupported ones just cause a full partition backup) from windows, linux, and dos
  • Filesystem aware backups and restores of FAT, FAT32, NTFS, EXT2, EXT3, ReiserFS, and XFS. What this means is that only used blocks will be backed up and in the case of windows, it can skip the backup of the hibernation file and the windows paging file.
  • the restore supports built in filesystem resize for all those filesystems (no small feat). The only caveat is that if you're restoring a 30GB partition, you need 30GB of partition space before you can resize down to 10GB if you only have let's say 5GB of data.
  • you can backup or restore to vmware virtual disks without being inside vmware. This is pretty cool since it lets you restore and boot an image without having a machine to restore on.
  • the windows client has a driver to backup a running system and read open/locked files (trivial on linux, but not on windows).
  • there is simple but good enough automated backup support for windows (linux is of course easy by using cron, but I really don't need this for linux since rsync to an nfs server will work fine too).
  • network restores are easy by using either a custom made bootcd with windows (using UBCD4win) or simply booting any linux rescue CD (or the program can make one for you), mounting whatever network share over nfs or smb and doing your restore that way.
  • the PDF docs are pretty good, the programs have good flags for automation from the command line
  • the email support is just about the best support I've ever had for a commercial program. There is no SLA or phone number to call, but I've had answers most often within an hour or less 7 days a week so far.
  • there is a basic program to open up backup images and extract individual files from linux and windows.
  • the shareware is not crippled in a way that the program is not usable: you can do full backups and restores to properly evaluate the software (you do have to restore backups after 30 days, which is more than reasonable).
  • Downsides:

  • it's not open source, no, it's not free as in beer, but neither is ghost and at least this one works and has both a native linux and windows client. Considering that the open source versions don't come close in features, I'm more than ok with using a reasonably priced closed source/commercial app here.
  • No Mac support, but I'm guessing Mac can be backed up about as easily as linux machines, with rsync and some rescue media to copy the files back over, so support is not as necessary.
  • You can read more about it and download it from here (windows version includes full linux client too, or linux client can be gotten directly here)

    Separately, while I was doing my search, here are other options I found:

  • G4L (Ghost for Linux) and Ping (Ping is not Ghost) didn't seem to be anything more than fancy DDs that were not filesystem aware, and of course they would not backup a running windows system
  • partimage also looked interesting, but it doesn't quite seem finished, especially for ntfs support.
  • clonezilla looked more interesting. It uses ntfsclone which is a pretty cool ntfs partition copier that skips unused blocks (and for bonus points, it uses spartse blocks to make a disk image you can otherwise mount over loopback). Along with ntfsresize, it's not bad for backing up a non running ntfs partition. If you don't need to backup a running windows partition, clonezilla ain't bad.

  • More pages: February 2004 March 2004 November 2004 April 2005 August 2005 January 2006 July 2006 August 2007 November 2007 January 2008 October 2008 November 2008 December 2008 January 2009 May 2009 July 2009 August 2009 September 2009 November 2009 December 2009 January 2010 March 2010 April 2010 June 2010 August 2010 October 2010 January 2011 July 2011 August 2011 December 2011 January 2012 March 2012 May 2012 August 2012 December 2012 January 2013 March 2013 May 2013 September 2013 November 2013 January 2014 March 2014 April 2014 May 2014 October 2014 January 2015 March 2015 May 2015 January 2016 February 2016 March 2016 June 2016 July 2016 August 2016 October 2016 January 2017 September 2017 January 2018 March 2018 December 2018 January 2019 January 2020 May 2020 September 2021 March 2023 April 2023

    >>> Back to post index <<<

    Contact Email