I get asked questions by salespeople all the time. Usually this is because a customer is struggling and I try to educate the salesperson as well as give them something to send to the customer. Here’s a place I used ChatGPT to make this quicker, or at least try.
This is part of a series of experiments with the ChatGPT and other AI systems.
Asking a Question
A customer asked about configuring SQL Backup Pro to use Amazon S3 for backup locations. Rather than search out the docs, find URLs, etc. I asked ChatGPT. Here’s what I got:
Prompt: How do I configure SQL Backup Pro to send files to Amazon s3?
Answer:
To configure SQL Backup Pro to send backup files to Amazon S3, you need to set up an Amazon S3 storage account and configure SQL Backup Pro to use it as the destination for backup files. Here are the general steps to configure this integration:
- Create an Amazon S3 bucket: Log in to your Amazon Web Services (AWS) account and create an S3 bucket where you want to store the SQL Server backup files. Take note of the bucket name and the AWS access credentials.
- Install SQL Backup Pro: If you haven’t already, download and install SQL Backup Pro from Redgate Software. Ensure that it is properly installed and licensed.
- Open SQL Backup Pro: Launch SQL Backup Pro and open the SQL Server instance you want to configure for backups.
- Configure backup settings: In SQL Backup Pro, navigate to the Backup tab and configure the backup settings according to your requirements, such as database selection, compression level, and encryption settings.
- Configure backup destination: In the backup settings, choose the backup destination as “File (network or local drive)”.
- Set the backup path: Specify a local folder where SQL Backup Pro will temporarily store the backup files before transferring them to Amazon S3. This can be any local folder accessible by the SQL Server service account.
- Configure transfer settings: Under the “Backup files to the network or local folder” section, select the option “After the backup completes, copy files to another location or device”.
- Choose the transfer type: In the transfer settings, select the transfer type as “Amazon S3”.
- Enter Amazon S3 credentials: Provide the AWS access credentials (Access Key ID and Secret Access Key) associated with your Amazon S3 bucket. These credentials authenticate SQL Backup Pro to access and upload files to your S3 bucket.
- Specify the S3 bucket details: Enter the bucket name and the desired S3 region where the backup files should be uploaded.
- Set other transfer options: Configure additional transfer options, such as file naming, retention policies, and logging preferences.
- Save and test the configuration: Save the settings and perform a test backup to verify that SQL Backup Pro can successfully transfer the backup files to Amazon S3.
Once the configuration is complete, SQL Backup Pro will automatically transfer the backup files to the specified Amazon S3 bucket after each backup operation.
Note: The specific steps and options may vary slightly depending on the version of SQL Backup Pro you are using. It’s recommended to consult the product documentation or contact Redgate support for detailed instructions based on your specific version and environment.
Did it Work?
While this was generating, I actually looked for docs to evaluate whether this was good advice. I don’t completely trust the AIs yet. What I found was:
- The doc here: https://documentation.red-gate.com/sbu/backing-up/creating-backups/creating-backups-file-settings, but no good link to the Hosted Storage section, which talks about what to do.
- A separate answer from someone else pointing me here: https://documentation.red-gate.com/sbu/worked-examples/backing-up-to-cloud-storage-settings
- In the walkthrough above, you really need to link your account, which is done from here: https://documentation.red-gate.com/sbu/worked-examples/backing-up-to-cloud-storage-settings
The instructions from ChatGPT don’t reference specific URLs, which I think is something that I would hope for. If I were sending instructions to a client, they might figure things out from the ChatGPT answer, but they’d be annoyed.
A good example of where domain knowledge is needed, and still some work. This might be helpful if I had links it the answer to quickly check things.