[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1321
  • Last Modified:

FreeBSD backup/mirror

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
hqtrung
Asked:
hqtrung
  • 3
  • 2
1 Solution
 
gheistCommented:
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
 
hqtrungAuthor Commented:
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
 
gheistCommented:
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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
hqtrungAuthor Commented:
what is dev/rxd0e ?
Thanks for your comment. I will try on my system and reply soon.
0
 
gheistCommented:
rad0e or rda0e or so, the raw partitions of same size on target system.
0
 
rkuebertCommented:
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

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now