[EMAIL PROTECTED] wrote:
Is there a way to create a text file from a Universe database to a SAMBA
directory?
I have tried the COPYI FROM PRODUCT TO CONV.DATA/CUST.TXT but this does not
work since the CUST.TXT does not exist.
We're pick flavor, so I use the COPYP syntax, but yes, there's no
problem copying items from a hashed file to a type 19 file (AKA: an OS
level directory) and sharing it via Samba. I rarely use the COPYI
syntax, but I think UV expects CUST.TXT in the example above to be a
directory, not a file. The directory would then be filled with
individual text files with the same IDs as the hashed file. This is the
syntax for copying the whole PRODUCT file with COPYP:
>COPYP PRODUCT *
TO:(CONV.DATA
If your goal is a useable backup for potential restoration, however, you
don't want to convert your UV hashed files to text. Getting the files
back into their original state would be a nightmare. Just create a
samba share at the root directory of your UV data (preferably read-only
with access only to an admin user from specific IP addresses), and copy
that to a CD. Your smb.conf entry might look something like this:
[UV]
path=/uvdata
read only = Yes
valid users = Administrator
hosts allowed = admin_desktop, backup_server
You could copy all the files manually or use any Windows based backup
software to back the data up to any media you want. A scheduled
NTBackup from an XP workstation with a CD burner would do the trick.
-John
--
John Hester
System & Network Administrator
Momentum Group Inc.
(949) 833-8886 x623
http://memosamples.com
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/