Louie Bergsagel wrote:
I'm trying to copy UniVerse files (all types) from one computer to another
using an NFS mount and the Unix cp command, but am getting damaged files
because they are in use. They are large files, between 4 and 22 gigs, some
hashed, some dynamic, some directories.
I tried to suspend UniVerse and then copy one file or directory, then
unsuspend, but that hasn't helped.
I am wondering if I need to pause a minute or so between the suspend (uv
-admin -L) and the copy? In other words, is suspend immediate, or does it
finish all the current writes and then pause?
-- Louie in Seattle
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
If you are using jfs2 filesystems you can create snapshots (man
snapshot) then copy from the snapshot to your other system. I recommend
rsync for the copy also if you wanted to avoid NFS.
You should still quiesce the database, though. But it would reduce your
downtime to seconds, potentially. It boils down to this...
stopud (or dbpause)
create snapshots
mount snapshots
startud (or dbresume)
copy at your leisure
remove snapshots
I've never used dbpause, probably because the thought of many many
transactions being buffered until dbresume scares me.
Louis
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/