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

daniel.brittle

New Member
Aug 6, 2021
2
0
1
26
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!