Exporting SQL projects
You can use source control to create a backup from your SSB projects. After the upgrade is successful, you can import the projects on Streaming SQL Console.
- 
          Navigate to the Streaming SQL Console.
          
- Go to your cluster in Cloudera Manager.
 - Select SQL Stream Builder from the list of services.
 - 
              Click SQLStreamBuilder Console.
              The Streaming SQL Console opens in a new window.
 
 - 
          Open a project from the Projects page of Streaming SQL
            Console.
          
- Select an already existing project from the list by clicking the Open button or Switch button.
 - Create a new project by clicking the New Project button.
 - Import a project by clicking the Import button.
 
You are redirected to the Explorer view of the project. - 
                Click Source Control.
                You can configure the source control settings with the following steps, if the source control is not configured yet:
- 
                        Add a remote Github repository URL to the Clone
                                URL field.
                        You can use the following example URLs with or without authentication:
- To clone without authentication:
                                        
https://github.com/cloudera/ssb-examples.git - To clone and push with HTTP basic authentication
                                    (username/password):
                                        
https://github.com/cloudera/ssb-examples.gitIn case of using basic authentication, the personal access token needs to be provided as password. For more information about creating personal access tokens, see the Github documentation.
 - To clone and push with SSH authentication (SSH private key):
                                        
git@github.com:cloudera/ssb-examples.gitIn case of using SSH authentication, you need to generate the private key using the following command:
As not every SSH private key is supported, you can use the following command to convert your key to the acceptable format:ssh-keygen -t ecdsa -b 256 -m pem -C "name@example.com"ssh-keygen -m pem -p -f [***PATH_TO_PRIVATE_KEY***] - To clone and push a local git repository on the filesystem of
                                    SSB host: 
file:///usr/src/ssb-examples/ 
 - To clone without authentication:
                                        
 - Provide the branch name or tag of the Github repository to the Branch field. This branch is checked out when pulling or pushing to the Github repository.
 
 - 
                        Add a remote Github repository URL to the Clone
                                URL field.
                        
 - Provite a commit message.
 - Click Push.
 - Review that the commit appears in the repository you pushed the change.
 
