Operating System - HP-UX
1846330 Members
3080 Online
110256 Solutions
New Discussion

vxdump/vxrestore on f/s incremental

 

vxdump/vxrestore on f/s incremental

Hi all,

I am trying to find a solution to this problem.
There is the need to copy 6 file systems to 6 new ones on a Solaris Server (vxfs though).

Because the downtime we have during the night is not enough (filesystems contain more than 200.000 small files, ~7Gb total size each f/s) I am thinking of performing a level 0 dump during the day and a level 1 during the night time downtime. The purpose of the downtime is not to move these filesystems but it is a good chance to do it anyway, because of the highly available nature of these servers.

My question is if this will work. I do not mind if files that where deleted during or between the dump continue to show after both activities are made. The problem would only if we loose a file.

Just some commands:

vxdump 0uf - /old/filesystem | (cd /new/filesystem; vxrestore rf - )

this will be run with the system live ie files are going to be added and removed during the dump.

During the night:
vxdump 1uf - /old/filesystem | (cd /new/filesystem; vxrestore rf - )

During this, the filesystems will have no I/O.

Thank you all in advance!