Script to Dump xml Configuration Files

Most people today use the libvirt API and/or its front end Virtual Machine Manager (virt-manager) to configure and manage virtual machines. Both create xml configuration files. Unfortunately you can’t just copy them or edit them using your favorite editor.

Continue reading “Script to Dump xml Configuration Files”

ChatGPT for Coding

Can an AI chat bot like ChatGPT understand and explain program code, or even write its own code based on your directions?

Everybody (almost) is talking about artificial intelligence (AI). I wanted to see if ChatGPT, a large language model-based chatbot developed by OpenAI, is able to help in coding. Can ChatGPT evaluate and improve program code? Or can it even write its own program code, based on the task you set forth?

Continue reading “ChatGPT for Coding”

Remote Backup Script for Windows NTFS Partitions on LVM Volumes

Linux bash script to mount and backup / synchronize a Windows 10 partition inside a LVM volume to a remote backup server using rsync and SSH

I run the bash script below to backup my Windows NTFS partitions residing on LVM volumes to a remote backup server. It uses SSH and public key authentication to authenticate at the remote side.

The script mounts an NTFS partition inside a LVM raw volume. It performs a file-based backup using rsync. It is NOT suitable for system backups!

Please carefully read the “Requirements”, “How it Works”, and “Usage” sections before attempting to use it.

Continue reading “Remote Backup Script for Windows NTFS Partitions on LVM Volumes”