If business data integrity is a major concern, then you also need to ensure you business processing is complete and (ideally) - shutdown the UniVerse environment prior to any manipulation of UV database files using third-party/OS tools (rm, cp, rcp, scp, mv, tar, etc, etc).
For high-availability systems, stopping UV isn't an feasible option for daily snapshot backups. Caution needs to be exercised at the target end (for your backup) as well. Especially if you're overwritting existing disk backups which may be in use, etc. Then you will get logical file corruptions, especially if dealing with open dynamic files. Hence, extreme care is need for the backup and restore of dynamic files. Also be aware that UniVerse files with indices need to have 'SET.INDEX' run against them post-restore (if in a complete different path), if you're going to access the backup version (and want to use the correct index AND stop corrupt of your live version if co-located on the same host:)). Regards, David -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Fitzgerald Sent: Tuesday, February 05, 2008 8:57 AM To: [email protected] Subject: RE: [U2] copying files in Unix from one IBM AIX computer to another IBM AIX computer After you issue the dbpause, drop to aix as root and do a few sync commands, thusly: # sync <cr> # sync <cr> # sync <cr> I usually give it a few seconds in between issuing the commands, but when I script it, it's "sync; sync; sync", so there's probably no reason to wait in between. This flushes all pending writes to persistent memory (for our purposes, disk). -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Louie Bergsagel Sent: Monday, February 04, 2008 3:56 PM To: [email protected] Subject: [U2] copying files in Unix from one IBM AIX computer to another IBM AIX computer 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? ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
