How to copy files in a container/VM into my Host node

daniel.brittle

New Member
Aug 6, 2021
2
0
1
27
Hi I would like to know if it possible to copy an SQL file or any file from one of out ubuntu VM's into out host node?

Online it mentions using Rsync but I cant figure how you get it out of the VM into the host.

I need to get this sql database out of the VM and onto my laptop, I can SSH into the node but i cant access the VM's files.
 
Last edited:
You can execute commands in a VM if it has the guest agent running. But copying files directly is not really possible AFAIK. Why not use SSH/SCP/rsync to connect to the VM itself and copy files from it?

You can run those also on the Proxmox VE host itself.