Solved

FreeBSD backup/mirror

Posted on 2004-03-22
8
1,310 Views
Last Modified: 2013-12-09
Can someone show me how to :
- make a complete mirror of my freebsd box to another freebsd box (kind of moving HDD) over LAN (highspeed)

Thanks
0
Comment
Question by:hqtrung
  • 3
  • 2
8 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 10653269
Please tell me version of your FreeBSD system i.e. output of "uname -a"
And whether you want to do copy on working system or shut down before copy...

Solutions are very long&different.
0
 

Author Comment

by:hqtrung
ID: 10653314
its' FreeBSD 5.2. I think it should be on working system because I can't open the case or put another HDD into system.
0
 
LVL 62

Accepted Solution

by:
gheist earned 50 total points
ID: 10653549
there is mksnap_ffs utility, which makes a historical static picture of disk for better backups in file in same filesystem.
Open files may be damaged.
Then you can use
dd if=/your/snapshot ibs=1m obs=1k | ssh you@newhost dd of=/dev/rxd0e ibs=1k obs=1m
to transfer data across network.
0
ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 

Author Comment

by:hqtrung
ID: 10653610
what is dev/rxd0e ?
Thanks for your comment. I will try on my system and reply soon.
0
 
LVL 62

Expert Comment

by:gheist
ID: 10655320
rad0e or rda0e or so, the raw partitions of same size on target system.
0
 

Expert Comment

by:rkuebert
ID: 10811382
Did you ever read the FreeBSD Handbook?

Chapter 12 (Storage) deals also with backup problems.

See Point 12.10 (Backup Basics) here:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/backup-basics.html

Regards,

Roland
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question