Store Postgresql data on external drive - postgresql

I have Postgresql 14 on desktop and laptop using Windows 10. Would someone please show me how to store the data on an external SSD drive so that I can just move the drive to different computer and not having to restore? I am thinking about learning Ubuntu because people on the web say Postgresql run faster on Ubuntu. Thank you so much in advance for your instruction!

Related

Installing windows OS on ISCSI sever or san storage using IPXE BOOT

Hi good people,
I'm trying to make a diskless PC client and install the operating system on a SAN Storage. As of now i'm using windows server 2012 R2 and it will serve as my DHCP/WDS and SAN server. So I found a video from yourtube on "Bjørn Jentoft" channel with the title "Hyper-V: Windows installation to ISCSI disk" I followed all the steps and configurations but it didn't quit work for me. But I keep repeating his video to look if I miss something on the configuration steps, but when I checked everything it appears that I didn't miss anything based on what he showed on the video tutorial. By the way he used HYPER-V on his tutorial and I'm using physical machines.
Thank you.

Setup MongoDB cluster on windows 7 for Learning purpose

I am learning MongoDB on Windows 7 machine with 4GB ram.
I installed MongoDB 3.2.Not possible to install vmware on my machine.
I would like to practice Cluster configuration/Sharding/Replication/mongodb ops center.
Is it possible to do on single windows machine.
Please share your suggestions.
Thanks & Regards,
try using containers like docker, it is lighter than virtual machine and will also add to your knowledge for knowing how to work with docker.
good luck.

Image processing extension for PostgreSQL Windows

For my school project, we have a Windows Server 2012 R2 with PostgreSQL installed on it.
Now we want to manipulate images on it and find out are there some extensions for PostgreSQL like PostPic (http://drotiro.github.io/postpic/).
However this extensions require PostgreSQL to run on Linux (Ubuntu). Unfortunately we cannot move the server to another OS.
Does anyone know an image processing extension for PostgreSQL on Windows that has approximately the same features as PostPic?
Thanks in advance.

NetBeans 8 extrimely slow opening large projects via Samba share

I'm using Win 7 64bit as a host and Ubuntu 14.04 as a guest (Virtualbox).
All my projects are stored in the VM and I access them via Samba share. Both host and the guest systems are on SSDs, also manually copying files between those two does not have any performance issues.
I've been having problem with opening larger projects (like Laravel 5 ones) - it literally takes 10 minutes to open a single project. I've been mostly working on Wordpress projects recently and everything worked fine, but bigger projects are a real pain.
EDIT: I installed NetBeans 8.1 inside the VM and it's opening the same project in a flash.
Does anyone know on how to speed up this process?
Thanks in advance.
Changing network adapter type of guest machine to Paravirtualized Network (virtio-net) solves problems like this.

Is changing my operating system and still keeping virtualbox possible?

I want to change my operating system from Windows to Ubuntu.
But I don't want to lose my Virtualbox. Does anyone have an idea if this is possible?
Best,
Miriam
You can export your VMs in the OVA/OVF format using VirtualBox (File->Export Appliance, File->Import Appliance). This way you can get a fairly portable VM and back it up on some external hard drive. Then when you replace your host operating system from Windows to Ubuntu, you can import the VMs from the OVA/OVF file back to your Ubuntu host.