Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

FreeBSD backup/mirror

Posted on 2004-03-22
8
Medium Priority
?
1,320 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
6 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 200 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

783 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