Solved

FreeBSD backup/mirror

Posted on 2004-03-22
8
1,316 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 

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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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

622 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