Slashdot Mirror


Using Linux for Windows HD Snapshots?

DBordello asks: "Our company is currently backing up weekly to tape. I would like to begin taking snapshots of our NT 4.0 server. My first thought was a Linux box running an Open Source solution. My research shows that most Open Source applications to take snapshots assume that the backup target is Linux based. This presents a problem with mounting the NT 4.0 server. While I could mount the share with Samba, all of the backup applications do not provide options to backup a local mount. What do you guys use to snapshot your Windows network?"

94 comments

  1. hdup my friend by ptaff · · Score: 5, Informative

    hdup should do the job. Simple, does monthly/weekly/daily and compression + encryption if you wish.

    Mount your NT filesystem via samba, specify your mounted directories to backup, put a crontab entry, that should be it.

    I use it daily to store a backup file on a the same host as the filesystem backuped - then fetching it using rsync with another machine for archival purposes.

    Won't keep NT permissions automatically, you should backup relevant permission files for Windows (anybody knows what they are?)

    1. Re:hdup my friend by nickgrieve · · Score: 1

      (anybody knows what they are?)

      Yes, part of the file system.

    2. Re:hdup my friend by DBordello · · Score: 1

      I wasn't very clear in my post. I am trying to create daily 'snapshots' of our server. Meaning I can go back and look at how my server looked exacly for the past 10 days. Hdup appears to do backups rather. db

    3. Re:hdup my friend by BrianDesmond · · Score: 1

      Best thing to do to backup the ACLs seperately would be to use cacls and save the results. An image of the drive using something like V2i Protector from Powerquest or Norton Ghost from Symantec would be much more effective.

      --
      --Brian Desmond
  2. how do we snapshot our windows network? by Anonymous Coward · · Score: 0

    with a camera, of course.

  3. NTFS support already in Linux by Bandito · · Score: 2, Informative

    Linux has a driver for NTFS already. Last time I looked, it was read-only, but that should suit you perfectly.

    1. Re:NTFS support already in Linux by mcgroarty · · Score: 4, Informative
      Reading NTFS by direct mount, you're going to lose ACLs, system/hidden attributes, encrypted files, and I don't know that Linux supports NT file compression either. Over the net, ACLs and NTFS file attributes are still going away.

      Really, it's best to use a Windows backup utility, or to use dd or similar to back up a binary image of the partition(s) on the machine itself.

      This is one of those places where it's better not to save a few bucks (unless you save those bucks by first migrating that server to a free OS).

    2. Re:NTFS support already in Linux by Anonymous Coward · · Score: 1, Informative

      "I don't know that Linux supports NT file compression either."

      It does, and now you know.

    3. Re:NTFS support already in Linux by HanzoSan · · Score: 1

      how exactly do you get RedHat9 to recognize your NTFS drive? It doesnt even my drive.

      Is this a kernel patch? a program or what?

      --
      If you use Linux, please help development of Autopac
    4. Re:NTFS support already in Linux by Anonymous Coward · · Score: 0

      Crap, retard's back. I thought you bailed.

    5. Re:NTFS support already in Linux by cfallin · · Score: 1

      Not sure if RH9 has NTFS in the stock kernel (if not you'll have to recompile) - but it's just a normal filesystem driver. try:

      # mount -t ntfs /dev/hdXX /mnt_point

      Of course you can add the mountpoint to your /etc/fstab too.

    6. Re:NTFS support already in Linux by drinkypoo · · Score: 1

      It seems to me that should be Perl modules to handle NTFS extensions. Are there? It is possible that one could store the extended attributes and back up the files, then later restore the files, and then the attributes?

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  4. Amanda or SMBTAR by fdragon · · Score: 5, Informative

    I don't know how far you have researched this, but if you are running RedHat Linux 7.x, 8.0, or 9 you already have a solution with Amanda.

    Backup of Microsoft Windows machines happens via Samba shares of course, and it will run in agent or agentless mode.

    Agent mode of course gives you things like bandwidth throttling and compression of the network bandwidth usage. Agentless mode and you can back up anything you can mount.

    Typically you can have it use the smbtar(1) command (from Samba) to have it backup your windows machine.

    --
    The program isn't debugged until the last user is dead.
  5. One word: dd. by Mensa+Babe · · Score: 4, Informative

    With dd you can make a "snap shot" of any imaginable partition. No need to mount it. Just write dd if=/dev/hdc10 of=/root/backups/hdc10-`date -Is` or something similar, and it's done. I wish you good luck.

    --
    Karma: Positive (probably because of superiour intellect)
    1. Re:One word: dd. by shepd · · Score: 2, Informative

      Unfortunately, this is only useful if the replacement hard drive is identical to the original.

      This often isn't the case. :-/

      --
      If you could be told what you can see or read, then it follows that you could be told what to say or think - BoC
    2. Re:One word: dd. by djcapelis · · Score: 4, Insightful

      You have all the empty space still taking up room though. And this may be more for versioning and others where compression and other issues would be highly important. Especially if your trying to store 3 different copies of a few of these things, you don't want the extra room taken up by the empty space.

      All I have to say on the subject of your choice of a screename is that people smart enough to be in mensa should be smart enough to not be in mensa.

      --
      I touch computers in naughty places
    3. Re:One word: dd. by Anonymous Coward · · Score: 0
      Your sig and handle says three things of you.
      • that you think you are pretty
      • that you are part of group with superior intelligence (based on their tests)
      • that you are proud of both of these things

      Out of genuine curiosity I'd like to ask a few questions regarding your assumptions about yourself.

      As you know being pretty is not something you can be, as beauty is in the eyes of the beholder. Could we have a picture of you so we can be the judge?

      Being a part of Mensa do "you identify and foster human intelligence for the benefit of humanity"? If you do how?

      Do you "encourage research in the nature, characteristics and uses of intelligence" If so how?

      Do you "promote stimulating intellectual and social opportunities" for other people than just the mensa members? Obviously these people are already really intelligent maybe something could be done for the intellect of people that aren't so gifted.

      Do you have to tell everyone that you are so intelligent and pretty? Some may find it insulting.

      I scored 23 on the AQ test. I'm above normal on that test but that probably just means that I am not a social butterfly.

    4. Re:One word: dd. by Photar · · Score: 1

      Couldn't you just zip the image or do something that uses RLE to get rid of the empty space?

      --
      He who knows not and knows he knows not is a wise man. He who knows not and knows not he knows not is a fool.
  6. Nevermind my dumbass comment by Bandito · · Score: 1

    No local mounts. Oops, sorry.

  7. No. by Mensa+Babe · · Score: 4, Informative

    Unfortunately, this is only useful if the replacement hard drive is identical to the original. This often isn't the case. :-/

    No. It just means that you have to make a partition of at least the same size on the new hard drive, as on the old one. The new hard drives are usually larger, so it's not a problem at all. First use dd to back up the partition and record it on a new hard drive using fdisk (or cfdisk if yu cannot use a simple CLItool) first to make a new partition of the same type and size, and then dd again to write the actual data. It's just that simple.

    --
    Karma: Positive (probably because of superiour intellect)
    1. Re:No. by shepd · · Score: 2, Funny

      So, if the new hard drive is smaller... what then?

      --
      If you could be told what you can see or read, then it follows that you could be told what to say or think - BoC
    2. Re:No. by Jahf · · Score: 2, Funny

      Then you bought the wrong hard drive.

      --
      It is more productive to voice thoughtful opinions (reply) than to judge (moderate) others.
    3. Re:No. by bigsteve@dstc · · Score: 1

      If I remember correctly (from my 4.2bsd days), you can also run into trouble if your hard drives have bad blocks, and you revector them in the OS's file system driver. Doing a 'dd' on a raw partition would run into the bad blocks, and bad things may happen to your backup.

  8. Re:Strom Thurmond, Senator, dead at 100 by Anonymous Coward · · Score: 3, Funny

    You could at least try to be on topic, you know. Saying something like, use dd and your hard drive images will last as long as Strom Thurmond. Or, you need to keep your Windows backups segregated from your Linux backups, just like Strom Thurmond would have done. C'mon, try it, it's fun.

  9. Ghost 4 Unix? by CliffH · · Score: 4, Informative


    Not that I've used it extensively yet (maybe someone else has) but Ghost 4 Unix (g4u) will do a bit for bit copy just like Ghost for Windows does, difference being that it is freeware and backs up to any ftp server with the appropriate credentials added. I think I'll go ahead and try it a little more this weekend actually.


    Here is a link to g4u.


    Cliff



    --
    sigs are like a box of chocolates, they all suck remove the underscores to email me
    1. Re:Ghost 4 Unix? by DBordello · · Score: 1

      Althought bit -> bit backups are nice, I need to do this daily. Dirvish is similar to what I am looking for. I would like to take a snapshot of our server daily and keep several past snapshots. It seems that all of the snapshot tools don't provide any options for a samba mount. They treat a samba mount like a local drive and the results are not as one would want over the network.

    2. Re:Ghost 4 Unix? by rafa · · Score: 1

      rdiff-backup also takes snapshots, which are kept as reverse diffs. Very nice. A short word of warning though - running it on a p200 is slow. It probably has the same issues with samba as you describe.

      --
      [Science] is one of the very few things that raises human life a little above farce and gives it the grace of tragedy.
    3. Re:Ghost 4 Unix? by Covener · · Score: 1

      Most people don't use software like ghost in bit-for-bit mode.

    4. Re:Ghost 4 Unix? by phoenix_rizzen · · Score: 1

      G4U has no relation, whatsoever, to Norton Ghost. There is only one way to use G4U: bit-for-bit backups.

      Next time, read the info on the page listed in the post you are commenting on. :D

    5. Re:Ghost 4 Unix? by Covener · · Score: 1

      Read the thread:

      Not that I've used it extensively yet (maybe someone else has) but Ghost 4 Unix (g4u) will do a bit for bit copy just like Ghost for Windows does, difference being that it is freeware and backs up to any ftp server with the appropriate credentials added.

      My schwinn will do 20MP/H, just like a porsche does.

      As far as having no relation, it doesn't take a rocket scientist to tell that 'ghost 4 unix' is a knockoff of the (now owned by norton) ghost.

    6. Re:Ghost 4 Unix? by tubabeat · · Score: 1

      Yeah, rdiff-backup is neat. I've been using it for a while now to take daily snapshots of one of my production filesystems, at a remote site where I don't have the bandwidth to do a normal backup remotely. Its also pretty cool when someone needs a restore to be able to do it immediately. I know that recent versions do quite a lot of metadata storing and theres been a lot of work on windows compatability (don't know what the staus is with NT acl's though - I'm using it between two Solaris machines).

      --
      "Linux is a serious competitor"
      - Steve Ballmer, Chief Executive Microsoft Corp.
    7. Re:Ghost 4 Unix? by tubabeat · · Score: 1

      I tried g4u, didn't like it. As far as I can remember its essentially...

      dd | gzip > file

      Which is probably okay if your partition is full, but otherwise sucks. It doesn't even seem to bother trying to zero slack space on the disk first.

      --
      "Linux is a serious competitor"
      - Steve Ballmer, Chief Executive Microsoft Corp.
  10. tar by pb · · Score: 1

    It is the "tape archiver", after all. ...or--if you prefer--BRU, star, or some other tar relative.

    Combine with compression programs such as gzip, bzip2, compress, etc., as needed.

    rinse, lather, repeat.

    --
    pb Reply or e-mail; don't vaguely moderate.
    1. Re:tar by Anonymous Coward · · Score: 0

      For a Windows machine across the network? How do you restore things like... oh, the registry in the event of disaster recovery? How do you even do disaster recovery this way?

    2. Re:tar by Anonymous Coward · · Score: 0

      The registry is contained in a file, you know.

  11. Envy me ... by Breakerofthings · · Score: 2, Insightful

    I am currently facing the same problem; here is my solution:

    A couple of weeks ago, I convinced my boss to let me replace our entire windows network (workstations; all servers are *nix) with diskless Linux workstations (Gentoo/OpenOffice/Evolution/Mozilla), all participating in a big happy openmosix cluster!!!

    (our builds will be speedy-speedy now!!!)

    So, my backup procedure will be:
    Step 1)back up the NFS server with the users' home dirs

    Step 2)Drink BEER!!!!

    1. Re:Envy me ... by Anonymous Coward · · Score: 1, Funny

      3) Get fired for giving people 'Dickless Workstations'.

      4) No profit.

  12. Re:Strom Thurmond, Senator, dead at 100 by djcapelis · · Score: 1

    Keep the inteligent posts segregated from the trolls dammit!

    --
    I touch computers in naughty places
  13. Of course. by Mensa+Babe · · Score: 1

    So, if the new hard drive is smaller... what then?

    Is that some kind of joke?

    If the new hard drive is smaller then obviously you cannot write more data than what would fit. Isn't that obvious? If you want to move 40GB of backed up data to 30GB hard disk you are out of luck, no matter if you use dd or anything else. It's just a pigeon hole principle, pure and simple.

    --
    Karma: Positive (probably because of superiour intellect)
    1. Re:Of course. by shepd · · Score: 2, Interesting

      >Is that some kind of joke?

      No. I'm beginning to think you haven't worked with tools like ghost yet...

      If I have a 220 GB HDD, but only 50 GB of data, and the drive explodes in flames and all I have left is a spare 80 GB drive, with your method, I'm screwed.

      With something like ghost, you aren't. You just put the image on the new drive, and wait until you get some drive space. And, as an added benefit, you get complete defragmentation, too.

      --
      If you could be told what you can see or read, then it follows that you could be told what to say or think - BoC
    2. Re:Of course. by Anonymous Coward · · Score: 0

      If I have a 220 GB HDD, but only 50 GB of data, and the drive explodes in flames and all I have left is a spare 80 GB drive, with your method, I'm screwed.

      If you have a 220 GB HD in your server, then you probably have a 220GB HD in the server for a reason.

      If you need 220 GB in your server, then replacing it with an 80 GB drive means the server will no longer meet your needs.

      Of course you could say "but at least it will be running" - the retort, of course is that if your server is so damn important, why aren't you using RAID, or why don't you have the correct size replacement drive?

    3. Re:Of course. by Anonymous Coward · · Score: 0

      dd doesn't skip unused space, but in good unix tradition, it will happily send the output into a pipe instead of a file. dd if=... | gzip -c >backup.dd.gz will compress the harddisk image. If you're trying to rescue data from an already damaged disk, use dd_rescue instead (different syntax, beware). You lose the piping ability, but dd_rescue doesn't abort on bad blocks (dd does).

    4. Re:Of course. by FreeForm+Response · · Score: 1

      Do you even _know_ what a "Pigeon Hole Principle" is? And your .sig is spelled wrong.

      I'm in a grumpy mood today. =P

    5. Re:Of course. by Stonent1 · · Score: 1

      It will still be readable and I believe if you chkdsk -r it, it will drop the unaccessable clusters.

    6. Re:Of course. by shepd · · Score: 1

      >It will still be readable and I believe if you chkdsk -r it, it will drop the unaccessable clusters.

      Does this work with ReiserFS, XFS, or any of the many other new non EXT filesystems?

      --
      If you could be told what you can see or read, then it follows that you could be told what to say or think - BoC
    7. Re:Of course. by Anonymous Coward · · Score: 0

      (posting AC due to moderation points already used in this forum)

      --Partimage in Linux is very similar to Ghost; also supports compression of backup files and splitting them up into arbitrary sizes (useful for backing up to CDR.)

      Wolfrider

  14. Why, of course. by Mensa+Babe · · Score: 1

    No need to mount it. Just write dd if=/dev/hdc10 of=/root/backups/hdc10-`date -Is` or something similar, and it's done.

    You have all the empty space still taking up room though. And this may be more for versioning and others where compression and other issues would be highly important.

    For the sake of simplicity I haven't piped it through gzip (or bzip2 for that matter) in my example. After all, it was only an example, for god's sake!

    All I have to say on the subject of your choice of a screename is that people smart enough to be in mensa should be smart enough to not be in mensa.

    Yes, and people who are fast enough to win a marathon are obviously fast enough to not win the marathon. Very insightful thought indeed, however off-topic (*cough*moderators*cough*) it might be.

    --
    Karma: Positive (probably because of superiour intellect)
    1. Re:Why, of course. by Anonymous Coward · · Score: 0

      For the sake of simplicity I haven't piped it through gzip (or bzip2 for that matter) in my example. After all, it was only an example, for god's sake!

      Is that possible? To pipe using dd?

      Yes, and people who are fast enough to win a marathon are obviously fast enough to not win the marathon.

      People fast enough to win a marathon rarely pay for the priveledge of saying so.

      Perhaps he was alluding to the fact that Mensa charges money for a title that is nothing more than an ego boost? And that people smart enough to be in Mensa should be smart enough not to realise how futile buying an ego boost really is?

    2. Re:Why, of course. by Anonymous Coward · · Score: 0

      If you zeroed the partition before using it and never ever delete a file gzip migth work. But if you create a 2G file of random data and delete it, you will have 2G of random data that no one will be able to compress.

      You need to account for *logical* free space, and that needs to know the filesystem.

    3. Re:Why, of course. by Anonymous Coward · · Score: 0

      Is that possible? To pipe using dd?

      Of course. Why wouldn't it be? You just omit the of=, which directs the result to STDOUT..

    4. Re:Why, of course. by Anonymous Coward · · Score: 0

      if you create a 2G file of random data and delete it, you will have 2G of random data that no one will be able to compress.

      Yeah, and I'm sure lots of people create 2GB files full of random data.

    5. Re:Why, of course. by TheLink · · Score: 1

      Then make a 2GB file full of zeroes, and delete it. Doh. Some people...

      Now if you had said it takes a LONG time to do it then I'd agree with you - I backed up a few of my HDDs this way and piping stuff to gzip sure makes it a lot slower. In some parts the read transfer rates drop to 7MB/sec on my Athlon 2000XP. I can't afford a processor that's twice as fast. Having a bigger backup HDD is cheaper - still, even setting gzip to lower compression settings doesn't make it as fast as I like - 90 minutes to backup 40GB. On higher compression settings it can take a lot longer.

      I tried NT backup and it sucks - doesn't restore my hardware drivers - e.g. video drivers etc, so it's a bit halfbaked, whereas this restores everything - except windows noticed it was a different model HDD or something (exact same size tho).

      Now that I've done it, I figure the next time I set a system up, I might not use the entire HDD space - leave some slack so that I don't have to get the exact same model HDD or significantly larger. Still, at the rate ATA HDD prices are dropping, who cares :). Maybe for SCSI drives ;).

      --
    6. Re:Why, of course. by jonadab · · Score: 1

      He's not saying that being smart enough to be in Mensa means you're
      at least smart enough to not be able to be in Mensa; he's saying
      that Mensa is not well-regarded by smart people (which is true, as
      a general rule), and so if you're really smart, you would probably
      not be interested in their endorsement. This assumes, of course,
      that all smart people have the same views in such matters, but I'll
      leave the refutation of that supposition as an exercise.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    7. Re:Why, of course. by Jonner · · Score: 2, Funny

      Hey, don't mock me. I just spent all night spastically jerking my mouse around and uploading all of my music to various FTP servers just to be able to eek 200MB from /dev/random. Now I just need to find a way sell it.

    8. Re:Why, of course. by Anonymous Coward · · Score: 0

      compressed data, which makes up most large files such as movies, is statistically random.

    9. Re:Why, of course. by NickDngr · · Score: 1

      Karma: Positive (probably because of superiour intellect)

      One of these days you'll get your sig right. Someone with such a superior should learn to use a spell check.

      --
      Yoda of Borg am I! Assimilated shall you be! Futile resistance is, hmm?
    10. Re:Why, of course. by NickDngr · · Score: 2, Funny

      Should be superior intellect. I can't even get it right.

      --
      Yoda of Borg am I! Assimilated shall you be! Futile resistance is, hmm?
  15. BackupPC by warmcat · · Score: 4, Informative
    1. Re:BackupPC by zulux · · Score: 1



      Damn, this looks REALLY REALLY cool. Thanks for the link!

      --

      Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

  16. Partimage by ggeens · · Score: 4, Informative

    Partimage makes an "intelligent" copy of a partition. I.e., it only copies the sectors that actually contain data. This gives a smaller backup than a full copy of the disk.

    It can read NTFS partitions, and it can connect to a remote server to store the file.

    They even provide bootable disk images, so you can use it without installing Linux on the NT machine.

    --
    WWTTD?
  17. The humane solution by Anonymous Coward · · Score: 0

    The most kind and humane solution is to give the Windows box a "snap" shot from a .45 magnum. Stops its suffering short.

  18. Amanda by martin · · Score: 1

    www.amanda.org

    running via the cygwin port. A bit klunky but works for our servers.

    All user data is *NOT* kept on the desktop so I don't about backing up the workstations.

  19. Cheep Bastards? by Anonymous Coward · · Score: 0

    NetBackup ?

  20. Ghost for Unix by noselasd · · Score: 1

    Maybe Ghost for Unix is what you need ?
    http://www.feyrer.de/g4u/

    "g4u ("ghost for unix") is a NetBSD-based bootfloppy/CD-ROM that allows easy cloning of PC harddisks to deploy a common setup on a number of PCs using FTP. The floppy/CD offers two functions. First is to upload the compressed image of a local harddisk to a FTP server. Other is to restore that image via FTP, uncompress it and write it back to disk; network configuration is fetched via DHCP. As the harddisk is processed as a image, any filesystem and operating system can be deployed using g4u. Easy cloning of local disks is also supported. "

  21. cgywin by ChiefArcher · · Score: 1

    We installed cygwin on our NT box. In addition, we are running sshd on it. At night, our backup box ssh's in an and runs tar to grab what it needs.

    very simple... and works.

    Chief

  22. Well i guess by floydman · · Score: 1

    After a few hours of your post you will just have to let the NT4 servers go , wont you :)

    --
    The lunatic is in my head
    1. Re:Well i guess by RedWolves2 · · Score: 1

      Nt4 servers are still being supported till the end of next year it is only the workstations that are getting pulled now.

  23. rather simple actually, by lburdet · · Score: 2, Funny

    you dont!

    :-)

  24. Drive Image by Glonoinha · · Score: 1

    OP : Look into Drive Image by PowerQuest.
    It is amazing, does exactly what you want, fits on a DOS7 boot floppy (make a boot floppy from a Win9x machine) and is really a great tool.

    Only caveat : you have to have multiple partitions, and the partition you are writing the drive image to must be recognized by DOS7 (Win9x) ie. FAT or FAT32.

    I generally build my machines with this in mind, my main partition is generally NTFS with a FAT32 partition large enough to hold the one I want to back up - Drive Image generally gives 50% compression, plus or minus.

    --
    Glonoinha the MebiByte Slayer
  25. Dacula? by egghat · · Score: 2, Informative

    Has anybody experiences with Bacula? An NT client is available, the server side is on **ix.

    Just found it today, so I can't give any comments, but at least their claim is cool:

    "It comes by night and sucks the vital essence from your computers." :-)

    Especially interesting would ba a comparison to Amanda.

    Bye egghat.

    --
    -- "As a human being I claim the right to be widely inconsistent", John Peel
    1. Re:Dacula? by WarpForge · · Score: 2, Funny

      Bacula only works with Quantum [Leap] hard drives, which should be an adequate solution for the Enterprise.

    2. Re:Dacula? by egghat · · Score: 1

      Where did you get this info from? They claim in their FAQ, that most drives should be supported. DATs shouldn't be a problem for example.

      Bye egghat.

      --
      -- "As a human being I claim the right to be widely inconsistent", John Peel
    3. Re:Dacula? by WarpForge · · Score: 1

      Scott Bakula (Bacula) was on Quantum Leap and is currently on Star Trek: Enterprise. Sorry if you didn't pick up that it was a joke. It should work as you state.

  26. unattended by Sepper · · Score: 2, Interesting

    http://unattended.sourceforge.net/

    Not sure if it is what you are searching for though (it would not backup data)

    --
    I live in Soviet Canuckistan you insensitive clod!
  27. BackupPC by dissy · · Score: 1

    http://backuppc.sourceforge.net/

    BackupPC is what we use. It works with both Windows and Unix, and lets you view the archives through a web interface (matter of fact, you can control any aspect of the backup process via web OR command line, for users or scripts, however you prefer)

    You can specify how many backups to keep and when to start deleting.

    For each backup, it later goes through and compares files with the last backup. If any match, it removes the file and makes a hard link to the old file to save disk space.

    Check it out

  28. Your definition of snapshots. by FreeLinux · · Score: 1

    Well, as you have seen from the previous posts, the term snapshots is interpretted differently by different people.

    If you mean an image of the disk, when you say snapshot, then you will have to use something like partimage or ghost4unix. These will require that the NT4 server be shut down while the image is taken. The Norton Ghost for Servers can do live images.

    If you mean you want a point in time copy of the server's files, when you say snapshot, then Rsync is your friend, with Samba client. Look at this how-to for a quick and easy Rsync based rolling snapshot backup. The only problem with this method is that you will lose the NTFS permission attributes on the backed up files.

  29. Rsync, cygwin and cacls by buchanmilne · · Score: 1

    OK, we actually have only Linux/Samba/NFS boxes doing all fileserving, so we use rsync to replicate data to our hot-spare, but since rsync is available for windows (thanks to cygwin), it's no problem to use natively.

    You will lose ACLs, but you can do what we do (we use ACLs on XFS), dump them to file just before you run your snapshot (we use getfacl, but you could use the cacls tool on NT), allowing your file dump of the ACLs to be synced also. You can then apply the ACLs either after you have restored.

    The other option is unison, which also has a native version for windows, with the optional GTK GUI. It may be better for other environments where you need 2-way replication.

  30. Don't forget the registry by Anonymous Coward · · Score: 0

    I didn't investigate every backup program recommended here, but the ones I looked at do NOT back up the Microsoft Windows registry. Nor do they back up open files, some of which are important. Case in point: the ".pst" file used by Microsoft Outlook.

    If you do network backups and ignore these problems, you are stupid.

  31. Welcome back retard! by Anonymous Coward · · Score: 0

    How was summer camp? Did you make any baskets?

  32. nc by Anonymous Coward · · Score: 0

    cygwin dd netcat => network => netcat dd linux

  33. GI Joe by Ultra64 · · Score: 1

    And knowing is half the battle!

  34. how about this! by itzdandy · · Score: 1

    why not use some native windows program than can be run as a terminal service or maybee even make one that makes an image of the windows system, compresses it, and saves it on a network share. would this not serve the same purpose and also keep windows file permissions with NTFS?

  35. it's simple by FatherBash · · Score: 1
    Backup the NT server with NTBackup that comes with NT4

    then..um...take the tape and put it in a linux box to....um...have an open source "solution"

  36. Windows Server Snapshots by chunkwhite86 · · Score: 1

    What do you guys use to snapshot your Windows network?

    Well, right before I got fired, I used a Canon G2 digital camera. I used to use a Fugi Finepix, but it didn't give me enough control over my Windows Snapshots. So one day our mail server dies, and my boss asks for me snapshots, and I brought them to him on a 128MB CF flash card. I still can't figure out why I got fired tho.

    --
    I'd rather be a conservative nutjob than a liberal with no nuts and no job.
  37. simple perl script by gcla · · Score: 1
    In a previous job, I worked with windows-based software under active development with the result that all programmers were recommended to prepare and keep available a "disk image". The idea was that you'd set up a test machine such that it was comfortable, had the development and debugging software you needed installed, and then backup the partition bit-by-bit. If the latest build left the machine in a confused state - perhaps the registry was polluted - it was simple to restore the image and try again with the next build. It was a brute force solution, but disk space is relatively cheap, and it meant we didn't have to worry about whether or not file attributes, ACLs, owners and so on were preserved by the backup software.

    I wanted a linux solution, so put together a couple of simple perl programs to do the job. I see now from a previous post that partimage may do mostly the same thing and a whole lot more, but maybe these will be useful to someone. Each script takes as an argument a block device and a directory, and either backups up the block device to a collection of files in the given directory, or restores from that directory. In addition, when backing-up, an MD5 checksum is generated and stored for each chunk of partition read. My idea was that the restore program would only restore "blocks" for which the MD5 checksum generated from the current disk contents didn't match the checksum for the backed-up "blocks". Of course the program has to read the disk on restore to generate the current MD5 contents, but I speculated it might still come out faster if the disk content was relatively unchanged from the previous restore, which was often the situation I faced (all that changed was the result of installing the latest build, for instance).

    I've used it dozens of time successfully; but there's no warranty. I don't know how efficient it is; it seems to me that relatively little time is spent doing IO, which must be a bad sign. I never looked into it further though. I planned to add support for incremental backups too - i.e. store in a directory backup2 only backups of the blocks that differ from those in backup1 - so providing an easy way to have several disk images that share common disk blocks (e.g. one base install, another with Visual Studio, etc.) It should be easy to do. Anyway, these files are in the public domain.

  38. Just use Ghost by nurb432 · · Score: 1

    Its priced reasonable, and is made for this sort of thing..

    Dont push a round peg in a square hole..

    I presume you can run the mulitcast server under wine and still use your linux server...

    --
    ---- Booth was a patriot ----
    1. Re:Just use Ghost by caffeinex36 · · Score: 1

      Don't use ghost if you are doing any type of forensics, or learn how to use it the "right" way.

      dd is a much more efficient solution
      -Rob