vzdump - add/restore additional paths and files to backup archive of lxc container

pmxforum

Renowned Member
Jun 2, 2016
36
8
73
50
Hi.
Is it possible to add and later restore additional specific paths and files into backup of lxc container?
I mean custom files located in /var/lib/lxc/XXX directory for example?

Thank you in advance.
 
Hi.
Is it possible to add and later restore additional specific paths and files into backup of lxc container?
I mean custom files located in /var/lib/lxc/XXX directory for example?

Thank you in advance.

yes and no. backing them up is no problem - you can simple create your own additional "custom" backup archive using the hook functionality of vzdump. restoring is not hookable currently, so you need to restore it manually.
 

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!