Comment 2 for bug 932482

Revision history for this message
Dmitry (dmitry-koterov) wrote :

I'd like to add a note why trailing slash processing is so important. Previously (many years ago probably) one could write in an excluding file something like:

+ ./var/log/**/
- ./var/log/**

That means "include the whole directory skeleton in the backup, but DO NOT include actual files with data". It was extremely handy: in many cases the directory structure is important (e.g. for /var/log: if you restore a machine from a full backup and do not have /var/log/apache2 directory, Apache will fail to load after the restoration).

So, trailing / means "hey, I mean directory, not a file!", and that was the only method to distinct directories and files in duplicity. So I would be very happy if plain old days return, and we can include directory skeletons to backups again.