Copy container files while it's running

  • Thread starter Deleted member 22531
  • Start date
Is it safe to copy (tar) files of container (/var/lib/vz/private/CTID/etc, for example) while it's running? And what is the difference between /var/lib/vz/private/ and /var/lib/vz/root/?

Yes, you can do it.

./private/ - for real files and you can do changes on it (offline/online CT run).
./root/ - its for mounted CT file system. If you try to change something inside it, no changes will be done.
 

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!