Reply
 
Thread Tools Display Modes
  #1  
Old 04-29-2010, 09:02 PM
btomza btomza is offline
Junior Member
 
Join Date: Apr 2010
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Clone partition
Hi,

I am new with PC-BSD. Recently I installed PC-BSD 8 all works very well. So I want to clone some partitions to make a backup. I am seeing G4U it shound OK, but I am not sure, do you think that G4U is a good choice? could you recommend any better?

Thanks!
Reply With Quote
  #2  
Old 04-30-2010, 02:29 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,568
Thanks: 0
Thanked 163 Times in 127 Posts
Default Clone partition
Sure, g4u may work just fine, just depends upon what you want to do

Also, if you want "mirroring" take a look at the "gmirror" command which is standard in PC/FreeBSD
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #3  
Old 04-30-2010, 05:17 PM
btomza btomza is offline
Junior Member
 
Join Date: Apr 2010
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Hi!

Thanks by your comment. I will look "gmirror".

Specificly, I want create an image from a partition to restore in the future if I will be necesary.

When I install PC-BSD I create 4 partition, they are "/", "/usr", "/var", "swap", and "/data" (I don't remember exactly but I think that the partitions type is UFS-S (except swap of course)). So I would like create a image, for example, from: "/usr" and "/data" to restore in the future (in the case that I will broke something).

I used G4U to clone a disk, and it works very well, but when I want clone a partition; I had doubts. For example I use the G4U command "parts [disk]" to show the partitions but I only saw 2 not 4, maybe I don't know how to identify the partitions (so maybe I need read more about it) or maybe G4U don't identify the partitions correctly.

What do you think? maybe it doesn't make sense and I need take a new way.

Thanks!!
Reply With Quote
  #4  
Old 05-03-2010, 05:46 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,568
Thanks: 0
Thanked 163 Times in 127 Posts
Default Clone partition
I don't know enough about G4U to know how its partition stuff works, but
its probably just seeing the BSD primary partition, and then backing it
up, which includes /, /usr, /var, swap and /data :P

gmirror is an option, also maybe look into "life-preserver" in
applications -> system

It will let you do an rsync backup of the system to a remote server as well.
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #5  
Old 06-09-2010, 07:38 AM
kderocks kderocks is offline
Junior Member
 
Join Date: May 2010
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Try using CloneZilla:
http://clonezilla.org/
Use the Debian-based version. The Ubuntu one breaks a lot. It can also save a part. to image and gzip/bzip2/lzo/lzma it.
Reply With Quote
  #6  
Old 06-10-2010, 01:32 AM
thnewguy thnewguy is offline
Senior Member
 
Join Date: May 2010
Posts: 797
Thanks: 3
Thanked 54 Times in 43 Posts
Default
I hope it's not sacriligous to talk up another OS here, but I have also used Clonezilla in small office environments and it works really well. The latest versions have great step-by-step options for backing up partitions or entire drives and I think they currently support FreeBSD file systems.
Reply With Quote
  #7  
Old 06-10-2010, 06:17 AM
kderocks kderocks is offline
Junior Member
 
Join Date: May 2010
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default
It can also use dd to copy and could clone/image/compress any filesystem (even a cd if you want)
Reply With Quote
  #8  
Old 06-10-2010, 08:49 AM
Fatmice Fatmice is offline
Senior Member
 
Join Date: Feb 2008
Location: US
Posts: 888
Thanks: 0
Thanked 1 Time in 1 Post
Default
dd doesn't work very well with live system. Better to use dump.
__________________
|================================================= =====|
|Please search the forum prior to posting. Intellectual laziness is not nice. | (Does not apply to non-offenders =))
|================================================= =====|
Reply With Quote
  #9  
Old 06-12-2010, 12:40 AM
kderocks kderocks is offline
Junior Member
 
Join Date: May 2010
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default
I mean ISO/UDF data/video/music discs, not bootable ones.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:24 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.