Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SQL Server log shipping and AI

Featured Replies

I signed up for the Gemini Pro preview and have been having it help me write user defined script to take my Unraid SQL database and create a warm read only spare on a windows machine with log shipping. It helped me create a log system, send notifications to unraid, send email for errors, and :

  1. do a full back up script once per day (or whatever I do with cron)
  2. take the latest full backup and drop/create the secondary database using sqlcmd on the unraid server (manual run)
  3. perform log shipping and ingestion in one script
  4. Promote the secondary SQL database to readwrite/primary. (then you would need to address the issue with the Unraid instance, and reestablish the primary and then start with step 1 and 2.
  5. wrote instructions for installing and running.

 

I was amazed at the depth of knowledge that the AI had in doing this. It would have taken me a week to write the scripts and they would not have been as thorough. It was amazing how AI kept track of all the files and changes and helped me test and troubleshoot, like finding the correct area for sqlcmd, ignoring certificates, loading variables from a single file, port connectivity issues etc.

 

image.thumb.png.8b6eace5d8a137e89b4c35554c342716.png

ecific environment.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.