Hi all! Hope you're doing all well 
I have to admit that the PBS client is a really cool tool but so complicated to use sometimes... or maybe it's me that do not understand how it goes...
That's why I am requiring your help here.
So, let's say that I have some Vms and want to:
* Take in backup only a subset of folder (like /etc/ and /root)
* Do not take into the backup some huge files (like .iso files if there are some)
So, to acheive this, this is what I am doing:
* create an exclude file in / like this:
because and want to backup only /etc and /root
* in /root, created this file
Because I do not want to backup any iso files in the /root folder
and then:
And it seems to work the way I wanted which is cool.
But.. is it the right way to do this? Is there a way more simple to do that with a sigle exclude file?
Just wondering if you could give me some advices
Thanks for any constructive comments!
Take care!
I have to admit that the PBS client is a really cool tool but so complicated to use sometimes... or maybe it's me that do not understand how it goes...
That's why I am requiring your help here.
So, let's say that I have some Vms and want to:
* Take in backup only a subset of folder (like /etc/ and /root)
* Do not take into the backup some huge files (like .iso files if there are some)
So, to acheive this, this is what I am doing:
* create an exclude file in / like this:
Code:
$ cat /.pxarexclude
*
!/etc
!/etc/**
!/root
!/root/**
because and want to backup only /etc and /root
* in /root, created this file
Code:
$ cat /root/.pxarexclude
**.iso
Because I do not want to backup any iso files in the /root folder
and then:
$ proxmox-backup-client backup root.pxar:/And it seems to work the way I wanted which is cool.
But.. is it the right way to do this? Is there a way more simple to do that with a sigle exclude file?
Just wondering if you could give me some advices
Thanks for any constructive comments!
Take care!
Last edited: