Automate backup of Pervasive tables - pervasive

On one of my server, I have a Pervasive V8 installed. I need to get the data from some tables.
It's possible manually, just Click Right on table, then Export Data.
But, there is a way to automate these Exports ? Sorry, but documentation about Pervasive is very poor.

Ther is no to automate the export through the Pervasive tools. If you want to just export the tables to CSV (what Export Data does), you can use any number of ODBC enabled tools to export to CSV. Most of them can be automated through task scheduler.

Related

BACPAC backups seem to be stuck

I'm trying to export my databases and they seem to be "stuck". I tried to create the first backup but when I went download it, I noticed the file size was 0MB. So I went and tried again and got the error below:
Database export error
Failed to export the database: xxxxx-db.
ErrorCode: 409
ErrorMessage: There is an import or export operation in progress on the database 'xxxxx-db'.
I then tried copying the database into a new database and backing THAT one up. When I checked the database server's "Import/Export History", it shows the following.
It looks like the first backup got stuck at 90% and now it won't even try the second one. And in order to file a support ticket with Microsoft it wants me to pay for a monthly plan. Anyone have any ideas?
When the export operation exceeds 20 hours there is a good chance the export has been cancelled. In this case, scale up the tier of the database before beginning the export. Make sure there is no read/write activity on the database. Make sure all large tables have clustered indexes.
Are you trying to export a database of 200 GB or greater? If that is the case export to local storage.
You may have better experience exporting to premium storage.
Sometimes many users exporting databases on the same region may cause some export operations to take more time. Take a look at this Microsoft Support article.
A workaround that may work in your case, use SQL Server Management Studio (SSMS) to export the database instead of the portal. If you were using SSMS then switch to the portal to perform the export.
1.Open SQL Server Management Studio
Connect to the Azure SQL Server
Right click on the required database, choose "Tasks" and "Export Data-tier Application"

How can I export oracle database remotely?

I have been given oracle database credentilas as read/write only user.
Now for my experimenting stuff I want to export the data from oracle server to local VM.
I tried copy and inserting tables into postgres using pentaho but that failed.
Is there any way I can export that oracle data and insert in locally?
Can I install some free oracle on ubuntu and then I can do something to get that data?
I don't know oracle much
There are certainly more sophisticated ways of how to export database or a table on Oracle, but I usually export and copy the dbs with the help of Oracle SqlDeveloper. Just go to Tools menu and then select Database Export or Database Copy. Just remember that this is not the full db expot, ie. the users are not usually copied with this procedure.
The good thing is, that you may connect this tool to any database server that has Java Connector, and that makes it easy to export the data into an SQL Sever or Postgres.
If you want a more sophisticated way to export the data, check out the Recovery Manager (RMAN) and the DUPLICATE command documentation here: RMAN on Oracle
Use Oracle Data Pump. That is the full documentation for Oracle 10 Data Pump. Also you can find the documentation for 11g here and here.
impdp and expdp work as command line. You can invoke them directly from the server or from a machine that has Oracle client installed and a connection to the server.
Considering you have limited rights on the server you will not be able to do a full database export, but I guess you do not need to; you only need to export your working schema/tables. The documentation shows how to do that: use expdp export only a schema and/or only some objects.
Once the export is done, you can copy the dmp file to any other computer (including a VM) and use impdp to import all the data to another Oracle database. You need to set up the new database before the import (import does not create it for you).

export data from dot net nuke

I'm migrating some data from DNN to another platform, and need a way to extract database tables one by one in some useful format like XML, CSV etc.
Is there a way to dump and export the whole database or just a few tables at a time?
cheers
It is just a SQL server database, all the standard SQL server tools will work (e.g. bcp ).
Also many DNN modules explicitly support import/export of their content.

Database agnostic table/view export software?

Trying to search for a more elegant/overall solution to our common/basic data export tasks
I am convinced that there must be software out there that allows me to:
Define and persist a "setup" (definition of file format, delimiters, encoding, column names etc) from a GUI
Run on a schedule/from command line
Work on both Oracle and MSSql
However, I haven't found it yet... any tips?
what about using groovy to export the data to xml files.
see http://groovy.codehaus.org/Convert+SQL+Result+To+XML
for the gui thing, Oracle's SQL Developer can connect to Oracle, MySQL, SQL Server, MS Access and Sybase
The search ended in using products from http://sqlmanager.net.
They have products that covers the described needs, except that there are separate products for i.e. MSSQL and Oracle

How should I go about transferring data from an ODBC app to SQL on an hourly basis?

I'm trying to pull data from an ODBC app to SQL2005(dev ed) DB on an hourly basis. When I run SSIS the option to import all tables and views is grayed out and forces your to write a query. How would I go about setting up a SSIS integration service to update ALL 250 some tables on an hourly basis.
What kind of database is your ODBC data source pointing to? SSIS might not give you a GUI for selecting tables/views for all DB types.
perhaps you could rephrase your question a little, I am not 100% sure what you are asking here. Are you trying to get data into SQL Server from an application via SSIS with the Data Transform task using an ODBC connection to the Application?
Anyhoo, the simple answer to the MS Access part of your question is "hell no" MS Access is never, ever the answer to anything ;-)
I would be inclined to find out why the tables and views are greyed out and fix that issue. (not enough info in this question to determine why they are greyed out)
You might be better off using the Import and Export Wizard. Go into SQL Server Management Studio, right click on the Database you want to import the data into, and select Tasks -> Import Data. It will launch the wizard which will walk you through defining the import process.
At the end of the wizard you can choose to execute the import, and even save it as an SSIS package which you can tweak later.

Resources