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

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