Container specific vzdump config

woutwoot

Active Member
Jul 17, 2017
8
0
41
29
Hello everyone,

I think (and hope) I have a relatively simple question:
I have a container with a Jenkins installation which I'd like to back-up, but I don't want/need to backup the working directory. Is there a way I can set the vzdump exclude option for this container specifically? I tried adding it to the container config, but it is not being recognized there.

I also looked into adding an extra virtual disk that is not being backed up, but it seems like that is not possible with containers.
 
Hello everyone,

I think (and hope) I have a relatively simple question:
I have a container with a Jenkins installation which I'd like to back-up, but I don't want/need to backup the working directory. Is there a way I can set the vzdump exclude option for this container specifically? I tried adding it to the container config, but it is not being recognized there.

you can pass it to vzdump (e.g., when manually calling it or by modifying the cron job)

I also looked into adding an extra virtual disk that is not being backed up, but it seems like that is not possible with containers.

you should be able to add an extra mountpoint that is not backed up, and that is probably the cleanest solution.