Sponsored Content
Full Discussion: Backup root disks
Operating Systems Solaris Backup root disks Post 302831505 by hicksd8 on Thursday 11th of July 2013 05:17:33 AM
Old 07-11-2013
Right then. Create a NFS share from the other box and mount it on this one.

Then use

Code:
 
fssnap

command to snapshot the root filesysytem, and then

Code:
 
ufsdump

command giving the remote NFS as the target for the dump. Job done.

Remember to delete the snapshot afterwards.
(You could script all this stuff.)

If you need to restore after a crash, boot from cd into single user, manually plumb, set ip address and mask, and 'up' the network interface, mount the remote NFS, 'newfs' your local root filesysytem, and ufsrestore the whole thing.

Obviously I don't know your experience level and the above may be too brief. Any questions just ask.

EXTRA NOTE: When you execute 'fssnap' this will output a special device name for the snapshot. This is the device you put in the ufsdump command line (NOT /dev/dsk/c0t0d0s0 or /). This special device reads the frozen snapshot of the filesysytem.

Last edited by hicksd8; 07-11-2013 at 06:26 AM..
 

10 More Discussions You Might Find Interesting

1. Solaris

Backup for HW Mirrored Disks

We use SW mirroring (RAID1) using SVM for our SUN servers (which we OEM to end clients with our application on). When I need to make a tape backup for the server (disk), I disable mirroring and perform backup of the entire disk to tape using ufsdump. This process requires an outage and sensitive as... (8 Replies)
Discussion started by: StarSol
8 Replies

2. Solaris

Non-Root mode ... luxadm to show path(s) for Disks

Hi Gurus out there... I am pondering over a situation where I have non-root access (user account), where I am trying to determine paths (including multipaths) on a host. "luxadm display" seems very appropriate, but requires root access. Is there anyway I can get the FC path information? ... (1 Reply)
Discussion started by: verisund
1 Replies

3. Solaris

root backup

Hi I am using EBS 7.2 for backup. We have to shift server, before that i want to take root backup for all server. i don't know how to take entire root please help me (1 Reply)
Discussion started by: sijocg
1 Replies

4. Solaris

Disk mismatch while trying to zfs mirroring non-root disks

Hello All, I am trying to mirror two non-root hard drives using zfs. But "fmthard" fails when I try to copy the vtoc due to disk mismatch. Please help me. --- iostat command shows the disk to be similiar --- format command shows disk to be different :confused: --- c1t2d0 is the active... (8 Replies)
Discussion started by: pingmeback
8 Replies

5. UNIX for Advanced & Expert Users

/root restore backup exec

Hi we use backup exec to backup our linux servers... question is what if the linux server is corrupted (/root) and doesnt boot up .. how would the backup exec restore /root if the server cant even start? woukld we have to restore to another server then boot into rescue mode and copy across... (0 Replies)
Discussion started by: halacil
0 Replies

6. Solaris

Mirorr Solaris 10 5/09 root disks at install time

I'm going to install a fresh Solaris 10 5/09 install on a UFS on a server with 2 disks attached to a SCSI controller and i want to mirror those disks at install time is there any to do this , As far as i know Jump start and live upgrade are the sole way to do this , is there anyways except... (3 Replies)
Discussion started by: h@foorsa.biz
3 Replies

7. Solaris

Get # of disks as non-root

I'm trying to figure if there are commands I can run as non-root/non-privileged users to figure out the number of disks. I know I can use format but it needs root. Any idea? (10 Replies)
Discussion started by: PPPP
10 Replies

8. AIX

rsync backup root files

Hi, I am trying to use rsync utility through ssh to synchronize some root files of 2 servers. I have a rsyncusr user in each server. I configured ssh with no password. I set NOPASSWD in the /etc/sudoers file: rsyncusr ALL= NOPASSWD:/usr/bin/rsync In order to make rsync able to sudo and be... (2 Replies)
Discussion started by: samalogo
2 Replies

9. Solaris

Root Backup

Hello, In what cases we take backup of Root file system. Can someone explain please. Thanks & Regards, Bar (7 Replies)
Discussion started by: bhargav90
7 Replies

10. Solaris

Backing up root disks

Hi ! I wonder if in solaris 10 there is a utility similar to ignite in HP-UX that backup entire file systems (/, /usr, /var, /tmp, /home). I have to backup only the root disk of a server, but ufsdump seem to be backing up individual file systems....only, am I correct? (1 Reply)
Discussion started by: fretagi
1 Replies
fssnap(1M)						  System Administration Commands						fssnap(1M)

NAME
fssnap - create temporary snapshots of a file system SYNOPSIS
fssnap [-F FSType] [-V] -o special_options /mount/point fssnap -d [-F FSType] [-V] /mount/point | dev fssnap -i [-F FSType] [-V] [-o special_options] [/mount/point | dev] DESCRIPTION
The fssnap command creates a stable, read-only snapshot of a file system when given either an active mount point or a special device con- taining a mounted file system, as in the first form of the synopsis. A snapshot is a temporary image of a file system intended for backup operations. While the snapshot file system is stable and consistent, an application updating files when the snapshot is created might leave these files in an internally inconsistent, truncated, or otherwise unusable state. In such a case, the snapshot will contain these partially written or corrupted files. It is a good idea to ensure active applications are suspended or checkpointed and their associated files are also consis- tent during snapshot creation. File access times are not updated while the snapshot is being created. A path to the virtual device that contains this snapshot is printed to standard output when a snapshot is created. OPTIONS
The following options are supported: -d Deletes the snapshot associated with the given file system. -F FSType Specifies the file system type to be used. The FSType should either be specified here or be determined by matching the block special device with an entry in the /etc/vfstab table, or by consulting /etc/default/fs. -i Displays the state of any given FSType snapshot. If a mount-point or device is not given, a list of all snapshots on the system is displayed. When a mount-point or device is specified, detailed information is provided for the specified file system snapshot by default. The format and meaning of this information is file-system dependent. See the FSType-specific fssnap man page for details. -o special_options See the FSType-specific man page for fssnap. -V Echoes the complete command line, but does not execute the command. OPERANDS
The following operands are supported: /mount/point The directory where the file system resides. EXAMPLES
See FSType-specific man pages for examples. EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. FILES
/etc/vfstab Specifies file system type. /etc/default/fs Specifies the default local file system type. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
fssnap_ufs(1M), attributes(5) NOTES
This command might not be supported for all FSTypes. SunOS 5.10 11 Aug 2004 fssnap(1M)
All times are GMT -4. The time now is 12:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy