I'm interested in knowing if things like
- File system structure creation/modification
- Execution of commands like
adduser - Changes made between specific duration start/end datetime
can be reversed, preferably to a set "savepoint". Is this possible?
|
I'm interested in knowing if things like
can be reversed, preferably to a set "savepoint". Is this possible? | ||||
feedback
|
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.) | |||||
feedback
|
|
ZFS in solaris or openindiana would probably the easiest. Otherwise BTRFS (when its ready) or ext3cow have support for versioning - which is probably what you need. | |||
|
feedback
|