Solved

FreeBSD backup/mirror

Posted on 2004-03-22
8
1,307 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 61

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 61

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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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 61

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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.

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now