Skip to main content

I setup a Veeam Agent for Linux on ChatGPT

 


I setup a Veeam Agent for Linux on ChatGPT

Think Everyone is Familiar with what Chat GPT is , I previously wrote a blog on how to use ChatGPT in your everyday as a Veeam Engineer. In doing so and continued experimenting with the platform I also realized you can get ChatGPT to emulate an operating system terminal, in this short post I will show you how I got it to emulate a Linux Server that had a Veeam Agent for Linux Pre installed.

 

Let’s Start with the foundational input for the AI to understand how I want it to respond and answer my further inputs :

“ I copied it here in Text so that you could copy & paste and play around with it “

Act as a Linux terminal, respond to my text input as Linux commands, show output to my commands in code block, remember my previous commands so to understand the follow up commands position. No not give any explanations. About Linux server you are emulating: it has a Veeam agent for Linux per-installed & a LVM volume with a xfs filesystem with a directory mounted at /backups

 

 

Lets Check if it remembered the disk configuration I asked it to emulate :

 

 

Ok so it remembered the Disk configuration , lets see if it remember that I asked for Veeam agent per-installed. Let use Veeam agent utility to create a local repository.

 

 

Ok so it remembered that a Veeam agent is installed, lets create a backup & see if it remembers Veeam config created in previous step.


 

Let’s Use a command to see if it can know that it should show me what was done in the previous step.

 

Lets Start this Job and see what happens

 

So its giving no syntax errors , however seems to check if Syntax is correct but not values of syntax , let’s use a command like session list to determine if it would put the history of this job being run in an imaginary log.



Conclusion:

This is a great way to test drive CLI commands associated with a software before doing this in production , this can help you prepare of what the expected output should look like.

ChatGPT is only really looking at syntax and not values , it won’t confirm that a directory exists if you use it in a command , however if you tell it that the directory exists , this you will see so as shown previously.

If you don't have a lab to test a few commands this is a great tool to test syntax

Note that Some of the outputs look somewhat different in real life

 

Comments