Re: Clone FreeBSD Partition

2002-12-15 Thread dick hoogendijk
On Dec 14 Gary wrote:
 dick hoogendijk writes:
 What's the (dis)advantage of inode-per-inode cloning?

 I just made the comment re: inode-per-inode because AFAIK that's the
 way dump/restore will work.

Ok w/ me. Don't know too much the ins-and-outs of backup progs yet, so I
was (am) curious about the (dis)advantages of the most well-known-ones.
People always mention dump/restore..

 I'm not aware of an advantage or disadvantage to using dump/restore
 (except for restoring from tape)

Hmmm, I don't have a tape-unit unfortunately. Always clone to another
harddive. Not quite sure what you mean right here.

 but thought that cpdup might be easier to understand and use.
This is absolutely true afaik. Cpdub is a very nice program and very
easy to handle.

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Clone FreeBSD Partition

2002-12-15 Thread Gary Jennejohn
dick hoogendijk writes:
 On Dec 14 Gary wrote:
  I'm not aware of an advantage or disadvantage to using dump/restore
  (except for restoring from tape)
 
 Hmmm, I don't have a tape-unit unfortunately. Always clone to another
 harddive. Not quite sure what you mean right here.
 

I use dump/restore for doing backups to tape, not for cloning file
systems. ``restore -i'' is nice because it lets the user pick and
choose which files (s)he ( non-sexist :) wants to restore beforehand.
That's what I was thinking of when I wrote the above. And of course,
dump/restore are the standard way to backup file systems to tape in
the *NIX world.

---
Gary Jennejohn / [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Clone FreeBSD Partition

2002-12-15 Thread Jack L. Stone
At 11:30 AM 12.15.2002 +0100, dick hoogendijk wrote:
On Dec 14 Gary wrote:
 dick hoogendijk writes:
 What's the (dis)advantage of inode-per-inode cloning?

 I just made the comment re: inode-per-inode because AFAIK that's the
 way dump/restore will work.

Ok w/ me. Don't know too much the ins-and-outs of backup progs yet, so I
was (am) curious about the (dis)advantages of the most well-known-ones.
People always mention dump/restore..

 I'm not aware of an advantage or disadvantage to using dump/restore
 (except for restoring from tape)

Hmmm, I don't have a tape-unit unfortunately. Always clone to another
harddive. Not quite sure what you mean right here.


Dick: You don't have to use Tapes. Check a little closer. Dump/restore
works very, very well from HD to HD. Makes bootable backups and is the one
I trust the most with my data and files system backups. dd is good for
Ghost-like image. makes a bootable as well although you may have to
run fsck to boot up

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Clone FreeBSD Partition

2002-12-15 Thread Tony
There is also a program called rsync that will copy from one disk to
another. One advantage of using this program is that you can set it to ONLY
copy new files or files that have changed,

If you format the backup disk as bootable and then all you might need is a
change in fstab to get it to boot.


I use it all the time to make a bootable backup.


tony


 
 dick hoogendijk writes:
  On Dec 14 Gary wrote:
   I'm not aware of an advantage or disadvantage to using dump/restore
   (except for restoring from tape)
  
  Hmmm, I don't have a tape-unit unfortunately. Always clone to another
  harddive. Not quite sure what you mean right here.
  
 
 I use dump/restore for doing backups to tape, not for cloning file
 systems. ``restore -i'' is nice because it lets the user pick and
 choose which files (s)he ( non-sexist :) wants to restore beforehand.
 That's what I was thinking of when I wrote the above. And of course,
 dump/restore are the standard way to backup file systems to tape in
 the *NIX world.
 
 ---
 Gary Jennejohn / [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Clone FreeBSD Partition

2002-12-14 Thread dick hoogendijk
 Jerry McAllister writes:
 Really, your best bet is dump(8)/restore(8).
 
 If you don't need inode-per-inode cloning then try
 /usr/ports/sysutils/cpdup.

What's the (dis)advantage of inode-per-inode cloning?

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Clone FreeBSD Partition

2002-12-14 Thread Shantanu Mahajan
Someone on the list earlier suggest the following link
http://www.feyrer.de/g4u/

Regards,
Shantanu

+++ Muller Petr [freebsd] [13/12/02 11:44 +0100]:
| Hi, 
| Is there any tool for cloning FreeBSD partiton with support fot FreeBSD file
| system, something like Symantec Ghost or DriveImage? Ghost and DriveImage
| have only sector by sector cloning for Unix system, but I need something
| better.
| Thanks for your help
| 
| Petr Muller
| [EMAIL PROTECTED]
| 
| --

-- 
# ls /usr/lib/common sense
ls: /usr/lib/common sense: No such file or directory




msg12066/pgp0.pgp
Description: PGP signature


Re: Clone FreeBSD Partition

2002-12-14 Thread Gary Jennejohn
dick hoogendijk writes:
  Jerry McAllister writes:
  Really, your best bet is dump(8)/restore(8).
  
  If you don't need inode-per-inode cloning then try
  /usr/ports/sysutils/cpdup.
 
 What's the (dis)advantage of inode-per-inode cloning?
 

Actually, the cpdup was from me and not Jerry McAllister.

I just made the comment re: inode-per-inode because AFAIK that's the
way dump/restore will work. I'm not aware of an advantage or disadvantage
to using dump/restore (except for restoring from tape) but thought that
cpdup might be easier to understand and use.

---
Gary Jennejohn / [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Clone FreeBSD Partition

2002-12-14 Thread Warren Block
On Sun, 15 Dec 2002, Shantanu Mahajan wrote:

[yoda-posting changed have I]

 +++ Muller Petr [freebsd] [13/12/02 11:44 +0100]:
 | Hi, 
 | Is there any tool for cloning FreeBSD partiton with support fot FreeBSD file
 | system, something like Symantec Ghost or DriveImage? Ghost and DriveImage
 | have only sector by sector cloning for Unix system, but I need something
 | better.

 Someone on the list earlier suggest the following link
   http://www.feyrer.de/g4u/

Unfortunately, g4u is also a sector-by-sector cloning utility.

-Warren Block * Rapid City, South Dakota USA


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Clone FreeBSD Partition

2002-12-13 Thread Ruben de Groot
On Fri, Dec 13, 2002 at 11:44:16AM +0100, Muller Petr typed:
 Hi, 
 Is there any tool for cloning FreeBSD partiton with support fot FreeBSD file
 system, something like Symantec Ghost or DriveImage? Ghost and DriveImage
 have only sector by sector cloning for Unix system, but I need something
 better.

It is called dump(8).

 Thanks for your help
 
 Petr Muller
 [EMAIL PROTECTED]
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Clone FreeBSD Partition

2002-12-13 Thread Jerry McAllister
 
 Hi, 
 Is there any tool for cloning FreeBSD partiton with support fot FreeBSD file
 system, something like Symantec Ghost or DriveImage? Ghost and DriveImage
 have only sector by sector cloning for Unix system, but I need something
 better.
 Thanks for your help

Really, your best bet is dump(8)/restore(8).
jerry

 
 Petr Muller
 [EMAIL PROTECTED]
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Clone FreeBSD Partition

2002-12-13 Thread JoeB


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Muller Petr
Sent: Friday, December 13, 2002 5:44 AM
To: '[EMAIL PROTECTED]'
Subject: Clone FreeBSD Partition

Hi,
Is there any tool for cloning FreeBSD partiton with support fot
FreeBSD file
system, something like Symantec Ghost or DriveImage? Ghost and
DriveImage
have only sector by sector cloning for Unix system, but I need
something
better.
Thanks for your help

Petr Muller
[EMAIL PROTECTED]



This question gets asked all most every month. You should check the
Questions archives before posting your questions.
From the archives


The question of using the Norton Ghost program to make an single
flat
image file of an hard drives partition containing FBSD has been
asked
many times on this list. UP until now the answer has all ways been
that
the benefits of using Ghost on a MS/win partition can not be
achieved
when used on a FBSD slice because the ghost created image file
contains all the unused space as well as the used space.

Jacob S. Barrett had the idea of zeroing out the unused space before
running ghost so ghost will compress all the zero filled space
resulting in an image file size and elapse run time comparable to
what
you would achieve on a MS/win partition. This is a great work
around.



Before running the Ghost program from native booted ms/dos you have
to run this command on FBSD before shutting FBSD down.


dd if=/dev/zero of=filler bs=1m ; rm filler


Below is the original thread



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Dan
Nelson
 Sent: Friday, October 04, 2002 10:33 AM
 To: Jacob S. Barrett
 Cc: [EMAIL PROTECTED]
 Subject: Re: Block Zeroing Tool

 In the last episode (Oct 04, 2002), Jacob S. Barrett said:

Is there a tool for FreeBSD that zeros the unallocated blocks on a
filesystem?

The company I work for has an image on demand system for our lab
machines.  This system relies on ghost which only supports file by
file imaging on certain file systems.  I want to take disk images
of
certain FreeBSD installations.  Ghost will only take sector by
sector
images of FreeBSD partitions.  Since it is doing this it stores
all
the junk unused blocks as well.  This makes for a very large
image
even with high compression.  If I can zero out the unused blocks
before taking the image with high compression the image size
should
be much smaller.

So, is there utility to zero out those blocks?  Does this make
sense?
Is there a better way to take images of FreeBSD machines?



 dd if=/dev/zero of=filler bs=1m ; rm filler



 I also have tried to use ghost to make image backups of FBSD,
 but the image is the same size as the FBSD slice.
 Have you tested the solution posted above to zero out the unused
 disk space in the FBSD slice so ghost will only image bkup real
data?
 Did it work like you hoped?


Yes I have tested it,  and it works great.  Be sure to turn
compression
on to high to get the best results.  Here is what I saw after
zeroing
the unallocated blocks using the dd command.

FreeBSD partition size: 11G
Allocated space: 6G
Ghost image size: 3.4G

Before zeroing out the images on this box were between 8-9G.
Needless
to say our IT guy is much happier that my box isn't chewing up 9G
per
image on the system anymore.  And I am happy that imaging this
machine
only takes an hour now rather than 4.

-Jake

--
Jacob S. Barrett
[EMAIL PROTECTED]
www.amduat.net






To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Clone FreeBSD Partition

2002-12-13 Thread Gary Jennejohn
Jerry McAllister writes:
  
  Hi, 
  Is there any tool for cloning FreeBSD partiton with support fot FreeBSD fil
 e
  system, something like Symantec Ghost or DriveImage? Ghost and DriveImage
  have only sector by sector cloning for Unix system, but I need something
  better.
  Thanks for your help
 
 Really, your best bet is dump(8)/restore(8).

If you don't need inode-per-inode cloning then try
/usr/ports/sysutils/cpdup.

---
Gary Jennejohn / [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Clone FreeBSD Partition

2002-12-13 Thread Warren Block
On Fri, 13 Dec 2002, Muller Petr wrote:

 Is there any tool for cloning FreeBSD partiton with support fot FreeBSD file
 system, something like Symantec Ghost or DriveImage? Ghost and DriveImage
 have only sector by sector cloning for Unix system, but I need something
 better.

http://www.partimage.org

Supports UFS/FFS, although I have only used it with FAT32.  A port to
FreeBSD would be nice, and it's on my list to try, but not at the top.  
In the meantime, I use the RIP-52 Linux CD image from here:

http://www.tux.org/pub/people/kent-robotti/looplinux/rip/

-Warren Block * Rapid City, South Dakota USA


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Clone FreeBSD Partition

2002-12-13 Thread Warren Block
On Sat, 14 Dec 2002, Greg 'groggy' Lehey wrote:

 On Friday, 13 December 2002 at 11:44:16 +0100, Muller Petr wrote:
  Is there any tool for cloning FreeBSD partiton with support fot FreeBSD file
  system, something like Symantec Ghost or DriveImage? Ghost and DriveImage
  have only sector by sector cloning for Unix system, but I need something
  better.
 
 What do you mean by better?  What's the purpose of the clone?

Ghost copies every block of partitions with filesystems it doesn't
understand.

-Warren Block * Rapid City, South Dakota USA


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Clone FreeBSD Partition

2002-12-13 Thread Greg 'groggy' Lehey
On Friday, 13 December 2002 at 17:38:42 -0700, Warren Block wrote:
 On Sat, 14 Dec 2002, Greg 'groggy' Lehey wrote:

 On Friday, 13 December 2002 at 11:44:16 +0100, Muller Petr wrote:
 Is there any tool for cloning FreeBSD partiton with support fot FreeBSD file
 system, something like Symantec Ghost or DriveImage? Ghost and DriveImage
 have only sector by sector cloning for Unix system, but I need something
 better.

 What do you mean by better?  What's the purpose of the clone?

 Ghost copies every block of partitions with filesystems it doesn't
 understand.

So does dd.  But that's pretty much what he said he didn't want to do.

Greg
--
See complete headers for address and phone numbers

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Clone FreeBSD Partition

2002-12-13 Thread Warren Block
On Sat, 14 Dec 2002, Greg 'groggy' Lehey wrote:

 On Friday, 13 December 2002 at 17:38:42 -0700, Warren Block wrote:
  On Sat, 14 Dec 2002, Greg 'groggy' Lehey wrote:
 
  What do you mean by better?  What's the purpose of the clone?
 
  Ghost copies every block of partitions with filesystems it doesn't
  understand.
 
 So does dd.  But that's pretty much what he said he didn't want to do.

Right.  Better would be a program that understands the filesystem and
*doesn't* copy unused blocks.  Partimage is like that.

-Warren Block * Rapid City, South Dakota USA


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Clone FreeBSD Partition

2002-12-13 Thread George Jeliazkov
On Sat, 14 Dec 2002 13:22:14 +1030
Greg 'groggy' Lehey [EMAIL PROTECTED] wrote:

 On Friday, 13 December 2002 at 19:16:26 -0700, Warren Block wrote:
  On Sat, 14 Dec 2002, Greg 'groggy' Lehey wrote:
 
  On Friday, 13 December 2002 at 17:38:42 -0700, Warren Block wrote:
  On Sat, 14 Dec 2002, Greg 'groggy' Lehey wrote:
 
  What do you mean by better?  What's the purpose of the clone?
 
  Ghost copies every block of partitions with filesystems it doesn't
  understand.
 
  So does dd.  But that's pretty much what he said he didn't want to do.
 
  Right.  Better would be a program that understands the filesystem and
  *doesn't* copy unused blocks.  Partimage is like that.
 
 As I say, it depends on what you want to do.
 
 Greg
 --
 See complete headers for address and phone numbers
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

have you looked at this: http://www.feyrer.de/g4u/

George

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message