![]() |
VOOZH | about |
Using SQL Server as a backup for critical business data provides an essential safety net against loss. Backing up data to SQL Server enables business users to more easily connect that data with features like reporting, analytics, and more.
This example demonstrates how to use the CData SSIS Tasks for Discourse inside of a SQL Server SSIS workflow to transfer Discourse data into a Microsoft SQL Server database.
To get started, add a new Discourse source and SQL Server ADO.NET destination to a new data flow task.
๐ The Data Flow task used in this example. (Salesforce is shown.)Follow the steps below to save Discourse connection properties in a connection manager.
The Discourse API uses API Key authentication.
Discourse requires API Key and Username for authentication. API Keys are generated in the Discourse Admin panel under the API section. You can create user-specific API keys or all-users API keys. Once you have obtained the API Key, set it along with the Domain and Username in the ProfileSettings connection property.
Profile=C:\profiles\Discourse.apip;ProfileSettings='Domain=forum.example.com;APIKey=your_api_key;Username=your_username;'AuthScheme=APIKey;๐ Configuring a connection (Salesforce is shown).
Follow the steps below to specify the query to be used to extract Discourse data.
SELECT , FROM Backups WHERE = ''๐ The SQL query to retrieve records. (Salesforce is shown.)
Follow the steps below to specify the SQL server table to load the Discourse data into.
You can now run the project. After the SSIS Task has finished executing, your database will be populated with Discourse data.
๐ The completed import. (Salesforce is shown.)Connect to live data from Discourse with the API Driver
Connect to Discourse