I'm interested in knowing if things like
- File system structure creation/modification
- Execution of commands like
- Changes made between specific duration start/end datetime
can be reversed, preferably to a set "savepoint". Is this possible?
migrated from stackoverflow.com Sep 8 '11 at 9:40
This question came from our site for professional and enthusiast programmers.
You are basically wanting to have file system snapshots.
ZFS is a file system which has this feature. It is available in FreeBSD operating system (and also Solaris/OpenSolaris but I do not know if that OS is dead nowadays).
Your third point:
That is practically impossible unless end equals now and start equals exact time when snapshot was taken previously.
You can accomplish almost the same thing on Linux by putting your file systems on LVM volumes and using LVM snapshots (which are block device snapshots instead of file system snapshots), but in real life you probably do not want to do that. There is a big performance penalty for running LVM with active snapshots. (On the other hand proper file system snapshots like on ZFS have practically zero performance penalty.)