-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BACKUP_PROG_EXCLUDE not working with BACKUP=NBU #2066
Comments
I do not use NBU (Symantec/Veritas NetBackup)
See the See also usr/share/rear/conf/default.conf (excerpts)
but you do not use a ReaR internal backup method but |
Hello, thanks for the reply, I realized here I have a defined variables with the paths :
So I have edited this file the May I ask if I can append those directories from my os.conf or my local.conf in some way since I understand the file /usr/share/rear/conf/default.conf is not supposed to be modified |
If you add these variables in the |
I realize that syntax is bash ?? Its an asociative array ?? If I do in my local.conf
I understand it will work as expected |
@flechoide Normally ReaR does not use associative arrays - only indexed arrays. In general |
Ok, I understand, I thank you all for the help, finally I was able to implement the backup and it worked as expected with the COPY_AS_IS_EXCLUDE_NBU variable into the local.conf file from /etc/rear . Please the case can be closed |
ReaR version ("/usr/sbin/rear -V"): Relax-and-Recover 2.1-git201706071007 / 2017-06-07
OS version ("cat /etc/rear/os.conf" or "lsb_release -a" or "cat /etc/os-release"):
ReaR configuration files ("cat /etc/rear/site.conf" and/or "cat /etc/rear/local.conf"):
See below
Hardware (PC or PowerNV BareMetal or ARM) or virtual machine (KVM guest or PoverVM LPAR):
physical machine, del poweredge
System architecture (x86 compatible or PPC64/PPC64LE or what exact ARM device):
x86_64
Hello ,
Im stuck trying to exclude directories (not whole filesystems) from one of our backup media servers, I need that in order to get the iso file smaller, so I put into my local.conf :
BACKUP_PROG_EXCLUDE=( ${BACKUP_PROG_EXCLUDE[@]} '/usr/openv/netbackup/client/*' '/usr/openv/pack/*' '/usr/openv/logs/*' )
But when I launch rear I get that output :
So it seems like he is not excluding the sub-folders
Not sure if its related but /usr/openv is a filesystem mount
My local.conf :
The text was updated successfully, but these errors were encountered: