System partition backup


 
Thread Tools Search this Thread
Operating Systems Solaris System partition backup
# 1  
Old 12-08-2012
System partition backup

Dear All,

I am using solaris 9,I want to take the backup all the partition of my system 1 by 1 and put it into tape device.

Below is the df -kh output

Code:
Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d1          11G   3.4G   7.9G    31%        /
/dev/md/dsk/d6          13G   3.0G    10G    23%       /usr
/proc                    0K     0K     0K     0%                   /proc
mnttab                   0K     0K     0K     0%                 /etc/mnttab
fd                       0K     0K     0K     0%                    /dev/fd
swap                    11G    96K    11G     1%               /var/run
/dev/dsk/c2t40d0s0      59G    44G    15G    75%     /data3
/dev/dsk/c2t40d0s3      30G   7.8G    21G    27%     /data1
/dev/dsk/c2t40d0s1      30G    16G    14G    53%     /data2
swap                    11G   872K    11G     1%    /tmp
/dev/dsk/c2t40d0s4      14G   5.2G   8.5G    39%     /user
/dev/md/dsk/d4         4.8G   1.5G   3.3G    32%        /application
/dev/md/dsk/d3          14G    12G   2.6G    83%       /oracle
/dev/md/dsk/d5          12G   7.4G   4.0G    65%        /opt
root@npmsun #


Please help me out to take the backup of my system partition in best way so that i can recover it in case of any failure.


Thanks and Regards
Monoj Das

Last edited by DukeNuke2; 12-08-2012 at 09:32 AM..
# 2  
Old 12-10-2012
I can take the backup using tar command like..

Code:
tar -pcvf home_backup.tar.z /home

Will it be best technique to recover in case of a failure.


Regards
Monoj

Last edited by Scott; 12-10-2012 at 05:45 AM.. Reason: Code tags
# 3  
Old 12-10-2012
i would suggest taking single user backup.
# 4  
Old 12-12-2012
it is good that you are making backups of your content before a failure occurs, so you can recover more quickly. This is unix, so there will always be several ways to accomplish what you want. A few common tools to backup are: tar, cpio, and ufsdump - you may want to read the manpages on each to choose the one that is best for you.

I notice that you are using the Solaris LVM to make metadevices for some, but not all, of the filesystems. I would encourage you to invest some money in buying the additional drives needed to at least mirror those few un-protected filesystems. That would save you a lot of time, effort, and aggrevation to recover when a drive does fail in the future.
# 5  
Old 12-13-2012
if you can take server offline for a while, dd is also good option.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Cloning a system via mksysb backup from one system and restore to new system

Hello All, I am trying to clone an entire AIX virtual machine to a new virtual machine including all partitions and OS.Can anyone help me on the procedure to follow? I am not really sure on how it can be done.Thanks in advance. Please use CODE tags for sample input, sample output, and for code... (4 Replies)
Discussion started by: gull05
4 Replies

2. Solaris

Restoring a system from a backup

I have backed up the contents of my Solaris 10 machine in its entirety, and I'm trying to figure out if I can somehow use this archive to restore my old system just as it was on a new machine. Assuming I have all files from my old machine backed up, is this possible? What I've been trying to do... (6 Replies)
Discussion started by: unblockable
6 Replies

3. Solaris

system backup

Good morning all please what is the command to take full system backup for solaris 8 & 9 (2 Replies)
Discussion started by: thecobra151
2 Replies

4. UNIX for Advanced & Expert Users

how to make a full system backup excluding data and restoring it to a new system

Hi, In order to have a sand box machine that I could use to test some system changes before going to production state, I'd like to duplicate a working system to a virtual one. Ideally, I'd like to manage to do it this way : - Make a full system backup excluding the user file system (this... (7 Replies)
Discussion started by: pagaille
7 Replies

5. SCO

Backup MBR an Partition Table

hi How can I backup MBR an Partition Table of SCO 5.0.6? (7 Replies)
Discussion started by: ccc
7 Replies

6. SCO

how to backup the system?

hello friends, which are the directories and files should I backup in case of re-installation of the system? SCO OpenServer 6.0 operating system I have cdrom and floppy media regards (3 Replies)
Discussion started by: Edgar Guevara
3 Replies

7. Solaris

full system backup

I have unix server with OS 5.8 ,,, I tried ufsdump 0ua -f /dev/rmt/0 / to perform full system backup on tape but I failed could any one give a procedure for full system backup on solaris machine using tapes??? (1 Reply)
Discussion started by: mm00123
1 Replies

8. Solaris

System Backup

Hi All, Is it possible for us to do the Solaris system backup online without shutdown the system to another disk and if any disaster of hardware failure then we can boot the system up from the that backup disk? Thanks. (2 Replies)
Discussion started by: efang
2 Replies

9. Solaris

Moving a file system to a new partition

Hi everybody. My task today is to move my file system that's 98% full to a new partition slice. I think I'm pretty sure how to do it, but I just wanted to make sure, plus it's been a while since I last did one. The Let's say I have 2 disks c0t0d0 & c0t1d0 ...the file Iwant to move is in c0t0d0s5... (7 Replies)
Discussion started by: Remi
7 Replies

10. UNIX for Dummies Questions & Answers

Taking System Backup

Hello Guys: Would like to know how to take an entire system backup.. Here is the entire scenario.. I am working on a system that is AIX RS6000 M80 Server. We have loaded the OS and installed all the patches and then we took an entire system backup. We also verified by restoring the same... (2 Replies)
Discussion started by: ST2000
2 Replies
Login or Register to Ask a Question