On Feb 19, 2014, at 10:07 AM, GEO <1g2e3o4@xxxxxxxxx> wrote: > On Wednesday 19 February 2014 10:00:49 you wrote: >> Why? It addresses your use case. >> >> Chris Murphy > > First of all: I am mainly looking for a way to exclude almost all hidden > directories. I do not want to manage all those subvolumes. What's there to manage? > If I would like to > make a system backup, all those subvolumes would not be included etc. > Somehow it seems inelegant to me: What would the purpose of simply directories > still be? That way everything could be a subvolume to allow selective backup. > I do not like the idea of changing so many things on the file system just > because of a backup. If you subvolume everything you don't want to backup, when you take a snapshot of the parent subvolume, none of the child subvolumes are included in the snapshot. So you end up with a snapshot that contains exactly what you want to backup. So create a read-only snapshot, back it up, delete the snapshot (if you want), done. > If my approach is also effective I would very much prefer that. Snapshotting, deleting a bunch of directories in that snapshot, then backing up the snapshot, then deleting the snapshot will work. But it sounds more involved. But if you're scripting it, probably doesn't matter either way. Chris Murphy-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
