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

pmxforum

Renowned Member
Jun 2, 2016
36
8
73
51
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.