Trend Micro dbtrans export

My boss would like me to export Trend Micro Office Scan database to SQL server and then, ideally, use SQL reporting services to create custom antivirus reports.

When I run the dbtrans.exe util (native Trend Office Scan), I get a "Connect Database Error!!".

Has anyone out there used the dbtrans util with Trend Office Scan before?

Thank you in advance!
LVL 2
captjjtAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nmcdermaidCommented:
I assume thats the tool they provide to extract data from the Trend Micro database.

I just went to the trend micro web site and searched on dbtrans.exe - no luck.


So I can only suggest that you type

dbtrans.exe /?

this may give you some command line info if you're lucky.
captjjtAuthor Commented:
I tried that but there are no command line options. I think that I need to create a DSN / MQIS connection from my workstation (or another machine) to a SQL server and then run the DBTRANS util from the network share on my Trend server.

DBTRANS successfully copies the Office Scan data to my machine but fails on the transfer to the SQL server.

I am a complete novice when it comes to DB stuff.

thanks for the suggestion.
nmcdermaidCommented:
So are you saying that DBTrans is actually extracting data to your machine OK, you just can't get the data from your machine to the SQL Server?

What format is the data in? Is it in one file, multiple files, whats the extension, can you open it in notepad?
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

captjjtAuthor Commented:
Yes it looks like it extracts data to a temp folder. I'll get back to you. Thanks!
captjjtAuthor Commented:
the file extensions are .cdx .dbf .fpt

i can open them with notepad but they have non standard characters in them.

i believe the key to solving my problem is creating  a DSN connection to a SQL server in my network. Do you have experience setting that up?
nmcdermaidCommented:
Yes that is easy,

Go to start/administrative tools/Data Sources (ODBC)

OR

press start/run then type odbcad32


This starts the odbc manager.

Press the system DSN tab, press the add button, select 'SQL Server' and press finish

Type a name (this is the DSN - data source name) in the name field and the name of the server in the server field, then hit next

Enter some login info and press next.

If necessary, you can change the default database that it logs into. Press next, then press Finish.



You have a created a DSN which points at a SQL Server. You'll see it has appeared in the system DSN list. This is an 'object' that can be used to reference a database. Buts it only one small part of the actual data transfer process.



Now that I have explained how to create a DSN, I will explain how you can actually import that data.


1. Export the data (which you have already done). This creates the DBF files
2. Start SQL Enterprise Manager, connect to the server that you want to import data into and go to the data transformation services folder
3. Right click All Tasks/Import Data
4. On the second screen of the wizard, select a "Data Source" that matches your source data, i.e. a DBF file. You will see a couple in here that end with *.dbf, Most likley your data is a dBase database.. this is right up the top. You'll need to select the folder that all of those DBF files are in.
5. Hit next and for a destination, select the SQL Server database that you want to import the data into.
6. There are a few more steps but see if you can work them out.... I don't have any DBF files to test it on.


Have a try and see how you go.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
captjjtAuthor Commented:
I'll try it today and get back with you. Thanks.
captjjtAuthor Commented:
still no luck. your tips were right on, but there is a problem with the .dbf. Trend Micro support is working on the problem right now and not having too much luck either. i will keep coming back and updating as i learn more. i will definitely give you some points for helping out!
nmcdermaidCommented:
Are you able to connect successfully using either ODBC or DTS?

Another method to test is to create a new file (of any kind i.e. text) then rename the extension to .UDL

then double click this file and you can try connecting using that method.


Good luck anyway.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.