Discover how a bimodal integration strategy can address the major data management challenges facing your organization today.
Get the Report →Replicate Quickbase Data to Multiple Databases
Replicate Quickbase data to disparate databases with a single configuration.
Always-on applications rely on automatic failover capabilities and real-time access to data. CData Sync for Quickbase integrates live Quickbase data into your mirrored databases, always-on cloud databases, and other databases such as your reporting server: Automatically synchronize with remote Quickbase data from Windows or any machine running Java.
You can use Sync's command-line interface (CLI) to easily control almost all aspects of the replication. You can use the CLI to replicate Quickbase data to one or many databases without any need to change your configuration.
Connect to Quickbase Data
You can save connection strings and other settings like email notifications in XML configuration files.
The following example shows how to replicate to SQLite.
Windows
<?xml version="1.0" encoding="UTF-8" ?>
<CDataSync><DatabaseType>SQLite</DatabaseType>
<DatabaseProvider>System.Data.SQLite</DatabaseProvider>
<ConnectionString>[email protected];Password=password;Domain=myinstance.quickbase.com;ApplicationToken=bwkxrb5da2wn57bzfh9xn24</ConnectionString>
<ReplicateAll>False</ReplicateAll>
<NotificationUserName></NotificationUserName>
<DatabaseConnectionString>Data Source=C:\my.db</DatabaseConnectionString>
<TaskSchedulerStartTime>09:51</TaskSchedulerStartTime>
<TaskSchedulerInterval>Never</TaskSchedulerInterval>
</CDataSync>
Java
<?xml version="1.0" encoding="UTF-8" ?>
<CDataSync><DatabaseType>SQLite</DatabaseType><DatabaseProvider>org.sqlite.JDBC</DatabaseProvider>
<ConnectionString>[email protected];Password=password;Domain=myinstance.quickbase.com;ApplicationToken=bwkxrb5da2wn57bzfh9xn24</ConnectionString>
<ReplicateAll>False</ReplicateAll>
<NotificationUserName></NotificationUserName>
<DatabaseConnectionString>Data Source=C:\my.db</DatabaseConnectionString>
</CDataSync>
User Authentication Method
To authenticate with user credentials, specify the following connection properties:
- Set the User and Password.
- If your application requires an ApplicationToken;, you must provide it otherwise an error will be thrown. You can find the ApplicationToken under SpecificApp > Settings > App management > App properties > Advanced settings > Security options > Manage Application Token.
User Token Authentication
To authenticate with a user token, specify the following connection properties:
- Set UserToken and you are ready to connect. You can find the UserToken under Quick Base > My Preferences > My User Information > Manage User Tokens.
Configure Replication Queries
Sync enables you to control replication with standard SQL. The REPLICATE statement is a high-level command that caches and maintains a table in your database. You can define any SELECT query supported by the Quickbase API. The statement below caches and incrementally updates a table of Quickbase data:
REPLICATE SampleTable_1;
You can specify a file containing the replication queries. This enables you to use the same replication queries to replicate to several databases.
Run Sync
After you have configured the connection strings and replication queries, you can run Sync with the following command-line options:
Windows
QuickBaseSync.exe -g MySQLiteConfig.xml -f QuickBaseSync.sql
Java
java -Xbootclasspath/p:c:\sqlitejdbc.jar -jar QuickBaseSync.jar -g MySQLiteConfig.xml -f QuickBaseSync.sql