Visit Our UNIX and Linux User Community


Unable to take backup of /var on another disk !!


 
Thread Tools Search this Thread
Operating Systems Solaris Unable to take backup of /var on another disk !!
# 1  
Old 07-23-2009
Unable to take backup of /var on another disk !!

Hi Gurus,

I have to back the /var to other disk, however I am unable to do so. What I did is

Created a partition on another disk, placed file system on the slice and mounted on /mnt .

Issued following command

#ufsdump 0cfu /mnt /var

And I am getting below error

DUMP: NEEDS ATTENTION: Cannot open `host5:/mnt'. Do you want to retry the open?: ("yes" or "no") yes

Still no luck

Please help
-------------------------------------------------------------

Sorry Gurus !!! i was missing the dump file name . Resolved . Thanks

Last edited by kumarmani; 07-23-2009 at 08:26 AM..
# 2  
Old 07-26-2009
Its always good to back up/restore when the filesystems are unmounted or the system is in single user-mode.
try this, if you can:-
ufsdump 0uf – /var | ( cd /mnt ;ufsrestore rf – )
# 3  
Old 07-26-2009
Quote:
Originally Posted by incredible
Its always good to back up/restore when the filesystems are unmounted or the system is in single user-mode.
try this, if you can:-
ufsdump 0uf - /var | ( cd /mnt ;ufsrestore rf - )
Hi,
yes, thats much more safe if source FS is unmounted,
but in this case i dont see any issue related with mounted source FS.

kumarmani, be sure that destination FS is available for backup,
enough space, in read/write mode etc.
try create manually file.

it might be succeeded if you ll try as given command by incredible.

Good luck

Previous Thread | Next Thread
Test Your Knowledge in Computers #182
Difficulty: Medium
yq is a lightweight and portable command-line CSV processor.
True or False?

9 More Discussions You Might Find Interesting

1. Solaris

How to increase the /var (UFS) filesystem and root disk under veritas control?

I need to increase the /var (UFS) filesystem and root disk under veritas control or root disk is encapsulated # df -k /var Filesystem kbytes used avail capacity Mounted on /dev/vx/dsk/var 13241195 12475897 674524 96% /var # fstyp /dev/vx/dsk/var ufs # pkginfo... (1 Reply)
Discussion started by: amity
1 Replies

2. Solaris

Whole disk backup in Solaris 11

Hello! I have an Oracle server X5-2 with Solaris 11. Now, this server will get repurposed before I get a system of my own. I am a beginner...but is there a way I can make a backup or an image of my whole disk so when I get my own system I can just restore without having to reinstall software... (1 Reply)
Discussion started by: chipsandiscream
1 Replies

3. UNIX for Dummies Questions & Answers

Backup Disk

I have a backup script. Before it runs it need to check the backup disk is connected. It usually mounts to /Volumes/Files_Bakup_1 I wrote a bit of script to do the check but it has failed me. if ! cd /Volumes/Files_Backup_1 then echo "could not connect to external hard drive"; ... (5 Replies)
Discussion started by: timgolding
5 Replies

4. Red Hat

Unable to detect HP backup tapes in RHEL 6.2

Hi All, We connected 2 new tape drives to the servers. I am not able to see both HP tape drives in OS level. I am using RHEL 6.2 OS. I have scanned and rebooted the server but still can't able to find the drives. Thanks in advance..!!!! ---------- Post updated 10-22-13 at 05:07 PM... (1 Reply)
Discussion started by: Navkreddy
1 Replies

5. Solaris

backup the whole system to a usb disk.

Hi dears, im working with a sun sparc server(M4000) , solaris 10 installed. I need a little help, because i wanna know if is it possible to backup the whole system in a usb disk. Im gonna explain you a little more why i want to do it. Currently i have installed a Solaris 10 working with... (5 Replies)
Discussion started by: botella
5 Replies

6. Ubuntu

Unable to mount disk

I am running Ubuntu Server, I recently added a new hard drive to the machine When I run fdisk -l I see both drives. The recently added drive is present but it's listed as extended. when I try to mount the drive it says you must specify the file system type. I can't mount this drive, I was... (2 Replies)
Discussion started by: NelsonC
2 Replies

7. Solaris

Disk problem? from /var/adm/messages

Hi all, I got the following error message from solaris 10 system. Security Violations =-=-=-=-=-=-=-=-=-= Jun 1 01:48:21 unix009 scsi: ASC: 0x44 (internal target failure), ASCQ: 0x0, FRU: 0xbc The following are from /var/adm/messages Jun 1 01:48:21 unix009 scsi: WARNING:... (7 Replies)
Discussion started by: lramsb4u
7 Replies

8. UNIX for Dummies Questions & Answers

backup disk to disk to tape question

Hi all I had started to learn how to backup disk to disk to tape method Firstly I had backup to my NAS tar czvf /MyNetworkStorge/backup.tar /home Secondly I using dd command to copy the tar to tape dd if=/MyNetworkStorge/backup.tar of=/dev/tape0 But the tape drive always hang.... (5 Replies)
Discussion started by: lijiajin
5 Replies

9. UNIX for Dummies Questions & Answers

Staging a backup DISK

Hi, Experts ! I've met a following challenge: I have a unix machine, and I need to take a backup of its disk in order to use it for staging of the next machine in the future. But I try to find some information on how it is best to do it. The spare disk which I have is new and not formatted,... (4 Replies)
Discussion started by: DGoubine
4 Replies

Featured Tech Videos