Hi,
I need to exclude files using 2 wildcards, as example:
/vz/root/*/proc/*
How can I do this ? I need to backup all the other files in /vz/root/*/*/
Thanks,
Pieter
Hi,
I need to exclude files using 2 wildcards, as example:
/vz/root/*/proc/*
How can I do this ? I need to backup all the other files in /vz/root/*/*/
Thanks,
Pieter
Your problem probably is that *
includes the slash.
The special :
matches everything but slash, so exclude /vz/root/:/proc/*
How often does the client get the settings from the server ?
I have the following on the server and it is still trying to do it:
/dev/*;/proc/*;/sys/*;/usr/local/var/urbackup/*;/var/lib/lxcfs/cgroup/*;/srv/urbackup/*;/var/lib/php/sessions/*;/vz/root/:/dev/*;/vz/root/:/proc/*;/vz/root/:/sys/*;
Thanks !
FYI - here is the errors logged on the client:
2018-11-26 11:40:32: ERROR: Cannot stat “/vz/root/150/proc/1”: No such file or directory (2)
2018-11-26 11:40:32: ERROR: Cannot stat “/vz/root/150/proc/48792”: No such file or directory (2)
2018-11-26 11:40:32: ERROR: Cannot stat “/vz/root/150/proc/48922”: No such file or directory (2)
2018-11-26 11:40:32: ERROR: Cannot stat “/vz/root/150/proc/49148”: No such file or directory (2)
2018-11-26 11:40:32: ERROR: Cannot stat “/vz/root/150/proc/50298”: No such file or directory (2)
2018-11-26 11:40:32: ERROR: Cannot stat “/vz/root/150/proc/50307”: No such file or directory (2)
2018-11-26 11:40:32: ERROR: Cannot stat “/vz/root/150/proc/50339”: No such file or directory (2)
2018-11-26 11:40:32: ERROR: Cannot stat “/vz/root/150/proc/50391”: No such file or directory (2)
2018-11-26 11:40:32: ERROR: Cannot stat “/vz/root/150/proc/50560”: No such file or directory (2)
2018-11-26 11:40:32: ERROR: Cannot stat “/vz/root/150/proc/50574”: No such file or directory (2)
2018-11-26 11:40:32: ERROR: Cannot stat “/vz/root/150/proc/50576”: No such file or directory (2)
2018-11-26 11:40:32: ERROR: Cannot stat “/vz/root/150/proc/50604”: No such file or directory (2)
2018-11-26 11:40:32: ERROR: Cannot stat “/vz/root/150/proc/52656”: No such file or directory (2)
2018-11-26 11:40:32: ERROR: Cannot stat “/vz/root/150/proc/52657”: No such file or directory (2)
2018-11-26 11:40:32: ERROR: Cannot stat “/vz/root/150/proc/64618”: No such file or directory (2)
2018-11-26 11:40:32: ERROR: Error while getting files in folder “/vz/root/150/proc”. User may not have permissions to access this folder. Errno is 0
Hi
if it s an equivalent of /proc on linux , or some other sysfs
Then; you can t really get whats inside, it’s not real files, it s only the process list and the information about each process. Better just ignore that folder.
It is, and that is what I am trying to do, exclude the directories
SOLVED - For anyone trying to backup VZ containers, use the following excludes:
/vz/root/:/dev/*;/vz/root/:/proc;/vz/root/:/sys/*;
I think VZ is messing with “something” here and the “/proc” directory breaks things - this way appears to work just fine