Share Host folder to KVM VM

SergioRius

Renowned Member
Mar 11, 2015
24
1
68
Hello. I'm trying to setup my first proxmox server and I'm having some doubts on how to do the basic things. Please give me hand.
I setup a local server, with a dedicated system hard disk and a raid system for vms/ct/data. Also I installed a separate hard disk for long term backups.
Also use this disk as complete system dump so in case something fails I could start the system from there.

On this host, I created a WServer 2008R2 for SQL Server. I want SQL to write the long term DBs backups in a folder of the previously said backups HD, so I can remotely pick those backups and restore them in my personal machine, for developing purposes, for example.
The fact is that I don't know how to make available/share a folder in this physical disk to the VM.

Can you please give me a hint on how to do it?
Thank you very much.
 
I setup a local server, with a dedicated system hard disk and a raid system for vms/ct/data. Also I installed a separate hard disk for long term backups.
Also use this disk as complete system dump so in case something fails I could start the system from there.

On this host, I created a WServer 2008R2 for SQL Server. I want SQL to write the long term DBs backups in a folder of the previously said backups HD, so I can remotely pick those backups and restore them in my personal machine, for developing purposes, for example.
The fact is that I don't know how to make available/share a folder in this physical disk to the VM.

Install samba on Proxmox host

Code:
apt-get install samba

and define your backup path as share. Then mount this share in Windows VM.