Open raimi opened 11 years ago
How to reproduce (probably, I did not try):
mkdir -p /foo/bar shaback backup /foo shaback restore /foo
Bug: empty directory "bar" is not created inside foo.
Depends on how you exclude directories:
Exclude even the directory itself:
addExcludePattern('/foo')
Exclude what's inside the directory:
addExcludePattern('/foo/*')
Noticed on using shaback to clone and adjust some machines: Empty and/or excluded directories get lost.
Problem (on Debian):
The actual problem are probably our (pi) default exclusion rules - but i wouldn't know a rule to exclude every file from /var/log/ retaining the subdir-structure...
Update 2013-01: This is problem! I just had to recover my entire root-filesystem and the recovery was incomplete. Special directories /dev /sys and /tmp were to created by the recovery process! The directories were part of the repo but they happened to be empty (because they are mount points or were just empty).