[comp.unix.sysv386] Backup of DOS partitions

davidsen@sixhub.UUCP (Wm E. Davidsen Jr) (04/25/91)

Does anyone have software which will backup the DOS partition on the
hard disk from unix or xenix? Please don't suggest using dd, if you've
tried you know why that's not the solution.

I need a backup which will move DOS data structures between machines,
vendors, and partition sizes. Ability to backup only part of a disk
would be useful but not required.
-- 
bill davidsen - davidsen@sixhub.uucp (uunet!crdgw1!sixhub!davidsen)
    sysop *IX BBS and Public Access UNIX
    moderator of comp.binaries.ibm.pc and 80386 mailing list
"Stupidity, like virtue, is its own reward" -me

les@chinet.chi.il.us (Leslie Mikesell) (04/25/91)

In article <3799@sixhub.UUCP> davidsen@sixhub.UUCP (bill davidsen) writes:
>Does anyone have software which will backup the DOS partition on the
>hard disk from unix or xenix? Please don't suggest using dd, if you've
>tried you know why that's not the solution.

>I need a backup which will move DOS data structures between machines,
>vendors, and partition sizes. Ability to backup only part of a disk
>would be useful but not required.

Emmet Gray's mtools package will read files from the DOS partition
under unix.  That's not a complete solution of course, but it is
useful and might be a good starting point.  I like to move files
around by using zoo under their native OS then copying to msdos
formatted floppies.  As a worst-case scenario, you can always
extract the files on a PC and download them to a new machine with
a communication program.  Too bad zoo doesn't handle multiple
disks or writing to stdout...

Les Mikesell
  les@chinet.chi.il.us

tmh@prosun.first.gmd.de (Thomas Hoberg) (05/07/91)

In article <3799@sixhub.UUCP>, davidsen@sixhub.UUCP (Wm E. Davidsen Jr) writes:
|> Does anyone have software which will backup the DOS partition on the
|> hard disk from unix or xenix? Please don't suggest using dd, if you've
|> tried you know why that's not the solution.
|> 
|> I need a backup which will move DOS data structures between machines,
|> vendors, and partition sizes. Ability to backup only part of a disk
|> would be useful but not required.
Well on ISC at least, it's possible to simply mount the DOS file system and use
find, cpio or tar. If you have VPIX you could run one of the DOS cpio's in a
pipe. Even PC-Backup on a file (even UNIX char special?) should work.
|> -- 
|> bill davidsen - davidsen@sixhub.uucp (uunet!crdgw1!sixhub!davidsen)
|>     sysop *IX BBS and Public Access UNIX
|>     moderator of comp.binaries.ibm.pc and 80386 mailing list
|> "Stupidity, like virtue, is its own reward" -me

-- 
----
Thomas M. Hoberg   | UUCP: tmh@bigfoot.first.gmd.de  or  tmh%gmdtub@tub.UUCP
c/o GMD Berlin     |       ...!unido!tub!gmdtub!tmh (Europe) or
D-1000 Berlin 12   |       ...!unido!tub!tmh
Hardenbergplatz 2  |       ...!pyramid!tub!tmh (World)
Germany            | BITNET: tmh%DB0TUI6.BITNET@DB0TUI11 or
+49-30-254 99 160  |         tmh@tub.BITNET

gsteckel@vergil.East.Sun.COM (Geoff Steckel - Sun BOS Hardware CONTRACTOR) (05/10/91)

 In article <3799@sixhub.UUCP>, davidsen@sixhub.UUCP (Wm E. Davidsen Jr) writes:
 |> Does anyone have software which will backup the DOS partition on the
 |> hard disk from unix or xenix? Please don't suggest using dd, if you've
 |> tried you know why that's not the solution.
 |> would be useful but not required.
In article <638@bigfoot.first.gmd.de> tmh@prosun.first.gmd.de (Thomas Hoberg) writes:
 Well on ISC at least, it's possible to simply mount the DOS file system and use
 find, cpio or tar. If you have VPIX you could run one of the DOS cpio's in a
 pipe. Even PC-Backup on a file (even UNIX char special?) should work.

I tried the mount approach.  tar and cpio repeatedly save the first file found
over and over and over and ...  Has anyone gotten this to work correctly,
and if so, how?  I haven't tried PAX yet.  Of course, I may have set something
up wrong...

	geoff steckel (gwes@wjh12.harvard.EDU)
			(...!husc6!wjh12!omnivore!gws)
Disclaimer: I am not affiliated with Sun Microsystems, despite the From: line.
This posting is entirely the author's responsibility.

jad@nyama.UUCP (05/13/91)

In <6056@eastapps.East.Sun.COM>, gsteckel@east.sun.com (Geoff Steckel - Sun BOS Hardware CONTRACTOR) writes:
>
> In article <3799@sixhub.UUCP>, davidsen@sixhub.UUCP (Wm E. Davidsen Jr) writes:
> |> Does anyone have software which will backup the DOS partition on the
> |> hard disk from unix or xenix? Please don't suggest using dd, if you've
> |> tried you know why that's not the solution.
> |> would be useful but not required.
>In article <638@bigfoot.first.gmd.de> tmh@prosun.first.gmd.de (Thomas Hoberg) writes:
> Well on ISC at least, it's possible to simply mount the DOS file system and use
> find, cpio or tar. If you have VPIX you could run one of the DOS cpio's in a
> pipe. Even PC-Backup on a file (even UNIX char special?) should work.
>
>I tried the mount approach.  tar and cpio repeatedly save the first file found
>over and over and over and ...  Has anyone gotten this to work correctly,
>and if so, how?  I haven't tried PAX yet.  Of course, I may have set something
>up wrong...

Well, this is what /etc/dfspace says I have mounted:

/              :	 Disk space:   7.16 MB of  20.48 MB available (34.98%).
/usr           :	 Disk space:   8.34 MB of  52.67 MB available (15.85%).
/usr/u         :	 Disk space:   6.87 MB of  14.62 MB available (47.01%).
/usr/src       :	 Disk space:   7.45 MB of  31.19 MB available (23.89%).
/usr/spool/news:	 Disk space:   9.70 MB of  32.83 MB available (29.54%).
/dos           :	 Disk space:   3.45 MB of  12.47 MB available (27.67%).

Total Disk Space:        	      42.99 MB of 164.29 MB available (26.17%).
(not much, but enough for me :-)

Now, every saturday morning I run sysadm backup to backup the entire
system, dos and all, with incremental backups, relative to the last full
backup not just any backup, nightly.  You do have to make sure
that NDOSINODES is set high enough, or Unix will not be able to read
in all of the dos "inodes" into core.  (There are no real dos "inodes" but
unix, (my unix? ISC2.2) maintains an incore list of inodes for all dos
files.)  The first few times that I was doing a backup of /dos I would
hit the same problem.  So I increased NDOSINODES and rebooted.  Works like
a charm now... (standard disclaimer about this work for me on my system
aply:-)

>	geoff steckel (gwes@wjh12.harvard.EDU)
>			(...!husc6!wjh12!omnivore!gws)

-- 
Jose Dias		jad@nyama.UUCP		 Who me? I didn't say anything!