LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Solaris / OpenSolaris (http://www.linuxquestions.org/questions/forumdisplay.php?f=20)
-   -   Solaris 10 U7 backup on a Sun Blade 1000 SPARC computer (http://www.linuxquestions.org/questions/showthread.php?t=4175437893)

happymonkey 11-19-2012 10:46 PM

Solaris 10 U7 backup on a Sun Blade 1000 SPARC computer
 
Hi,

I have a relatively recent Sun Blade 1000 computer who have USB ports and with Solaris 10 U7 installed on two 70GB hard drives. The computer is not equipped with a tape backup but I have an external USB DVD-Writer.. I would like to know what would be the best way to make a complete backup of my Solaris system apart from making a 1:1 copy using "DD"? Would it be possible to backup everything on DVD-R disks using tar and ufsdump or something like that? I have an external Sun 711 Case with 6 hard drives; FreeBSD 7.4, Linux Debian 6.05 and OpenBSD 5.1 are installed on them; would it be possible to make the backup from Linux or Freebsd using opensource (and free) software?

Thanks in advance...

xeleema 11-24-2012 07:32 AM

Greetingz!

For a whole-system backup, I'd suggest you read the man page on 'flar', and maybe 'ufsdump' (depending on your filesystem type). As for the other operating systems, that's going to be tricky.

In order to do a file-level copy of data, the OS (Solaris) needs to be able to mount and read the filesystems in question. This isn't always possible.
However, you could do 'full' backups of each external disk in the Sun 711 with 'dd', however that's going to copy-over all the blocks.

You might need a shutdown script in each of those Operating Systems to zero-out the free-space upon shutdown.
Something like this;
Code:

/bin/cat /dev/zero > /path/to/zero.file ; /bin/rm -f /path/to/zero.file

happymonkey 11-25-2012 03:08 AM

I've read something that might be interesting or be part of an answer... It could work for Solaris 10 (I use UFS and not ZFS); however I don't know how to combine those two commands together and how would I use ufsrestore if the files are splitted; in any case those two commands doesn't seem very practical for very large filesystems:

We type that to backup the filesystem:

Code:

ufsdump 0f - /var > /unusedfilesystem/var.ufsdump

that command can be used to split the resulting file into smaller 2GB ones:

Code:

split -b 2000m -


All times are GMT -5. The time now is 03:14 AM.