Open awerner opened 8 years ago
@awerner Hey, thanks for the report.
Well, I agree, that sounds like an area that could use some more smartness. I guess we could even keep a default exclusion list. Who would ever need to backup /proc
and /sys
, anyway?
I guess this wouldn't be too much work, tweaking the directory traversing code. Do you want to take a look at it yourself?
Might take a little while as I'm currently moving but yeah, will have a look.
@awerner Great!
I try to do a full backup of one of my vservers with the command:
jotta-scanner / /Jotta/Archive/backup/marty --exclude /proc/ --exclude /dev/ --exclude /sys/ --exclude /run/ --exclude /var/run/ --exclude /var/lib/libvirt/images/
.What happens is that jotta enters each and every subdirectory before it gets excluded:
This process is very slow, so the expected behaviour would be to just jump to the next directory.