First of all, great web site! I have been using it for a while but just registered today. It's been a great resource for me. Now, on to my issue.
I'm geographically separated from six (Sun v245s) development servers that I have been asked to backup and restore as development is done and redone to verify procedures. I have a guy there locally that will manage the backups and is able to put hands on the boxes. Before I was charged with this my boss purchased six 1TB USB drives to store the backups for each server. Space is not an issue these servers have four 146G drives set up in RADI 1+0.
I provided instructions to my guy there locally to boot off a live CD and use dd to copy the data over to the usb drives. Here is the syntax of the commands we are using:
This process works fine, the only complaint I got was the time it takes to accomplish this. Honestly, I don't care but I wanted to help him out. He was asking about using usfdump/ufsrestore, but I've always been a dd person.
Does anyone see a better way of doing this? We need the multiple backups so that we can put the server in the different stages of development for testing. Thanks.
cpio and gunzip or tar for cheap backup, for furthere use migrate UFS to ZFS using lucreatre, luactivate commands and in the future you can easily backup your data on remote server using ssh and zfs send, zfs receive.
Problem with ufsdump is that only Solaris knows how to read it because UFS isn't platform independent. As one more solution you can create UDF image with lofi device and then move one UDF image.
Last edited by solaris_user; 08-18-2011 at 06:27 AM..
hm, USB is not so reliable. I have had problems with it in past. but then again it was with USB1 flash ram. a single bit errors were common. USB2 with external power is another thing, but I'd still check it with md5sum to be sure (for eg. by putting it after dd and before gzip).
ufsdump would obviously produce smaller file.
are you using dd to dump the whole thing, including swap slice?
if so, you could reduce the backup by zeroing the swap first, just don't forget to skip the partition table like this:
dd if=/dev/zero of=/dev/dsk/c0t1d0s1 bs=256k oseek=1
you would also get further space saving by wiping free space, cat is faster with that:
cat /dev/zero >delete_me
to be extra safe, I'd do that cleaning after having first backup. or do it on dd image files later with qemu or something.
oh, and it might be a good idea to defragment the image, too.
all that would be unnecessary with ufsdump, but dd has its advantages.
Thanks all.
I'm not crazy about using the USB drives, but that's what the boss bought and it's what I've got to work with. These v245 do not have SCSI cards so I can't use our tape library. I never trust tape backups anyway.
I'm going to go against my gut and use ufsdump/restore. I've always liked dd but my guy that has hands on the boxes wants to try that. Mainly because it won't take so long.
Any suggestions before I start writing up procedures for him? I've always booted off a live CD when using dd. Should I do the same using ufsdump? Single user mode?
hi folks happy new year to all, I haven't been coming round for a long time.
I've been googling about this can't seem to find any good examples, I need to know if it's possible to do a ufsdump os backup into a usb flash drive.
Then what about in event of os recovery when we boot to single... (2 Replies)
I had installed soalris 10 on my dell vostro 1400.It had installed succefully.
If i type ifconfig -a it is showing only my loop back adpater.
So how to tell me how to mount my usb drive and how to configure
my lan ethernet card,My lan ethernet card is Broadcom.
Tell me step... (1 Reply)
Hello. This is my first post to this forum. I've read many of the posts over the last two or three years and I've learned a lot.
I'm creating a live Linux distribution using the Linux Live Scripts -- just as a hobby project -- and I'm wanting to create an automated way for a user to copy the... (7 Replies)
Can Solaris/any GNU/Linux distros/ any flavor of FreeBSD be booted, right from aUSB flash drive?
Mine's the one pictured here.
SanDisk | Products | USB Flash Drives | SanDisk Cruzer® Titanium Plus USB Flash Drive
Also, on a completely unrelated note (just so I don't have to fill up forum... (4 Replies)
Hi,
I am a abit new in AIX system administration field. I want to gather knowledge about backup techniques. As per my knowledge we use Tape archives for taking backups. Can anyone pls explain me in detail abt tape archive? Whether these tape archives come along with the systems or we have to... (1 Reply)
I'm hunting around for thumb drives that aren't working. Something you may have kicking around in a drawer that you don't need any more. One you've upgraded and just don't need.
I'm willing to pay a couple bucks for you to drop it into an envelope with a few stamps and send it along.
I'm... (0 Replies)
I'm trying to moun my external USB Mass Storage Drive (80GB) in my Solaris 9 box, I am new to Solaris, and kind of new to linux / unix variants. The external HD contains windows files, but I will be using it as a central storage area for my windows/ linux clients.
Thanks
--
N:confused:C (1 Reply)
For those with backup tapes (and I just bought and installed a Seagate one for my FreeBSD box) I want to know how to get the most out of each tape by placing multiple backups on each tape (potentially 20GB). Please correct me if I'm wrong:
First, retension the tape:
# mt retension
next, turn... (3 Replies)