Note that there are some explanatory texts on larger screens.

plurals
  1. POWrite a system life saver for ubuntu for restoring broken system to a working state
    primarykey
    data
    text
    <p>I am thinking of writing a system life saver application for ubuntu, which can restore system to an earlier state. This could be much useful in situations of system break. User can create restore point before and then use them to restore their system. This would be used for packages initially and then later on for restoring previous versions of files,somewhat like system restore functionality in microsoft windows. Here is the idea page <a href="https://wiki.ubuntu.com/SystemRestore" rel="nofollow">Idea page</a></p> <p>I have gone through some ideas of implementing it like that which is done in windows, by keeping information about the files in the filesystem, the filesystem is intelligent enough to be used for this feature. But we don't have such file system available in linux, one such file system is brtfs but using this will lead to users creating partitions, which will be cumbersome. So I am thinking of a "copy-on-write and save-on-delete" approach. When a restore point is created I will create a new directory for backup like "backup#1" in the restore folder created by application earlier and then create hard links for the files needed to be restored. Now if any file is deleted from its original location I would have its hard link with me which can be used to restore the file, when needed. But this approach doesn't work on modification. For modification I am thinking of creating hooks in the file system (using <a href="http://www.redirfs.org/tiki-index.php" rel="nofollow">redirfs</a> ) which will call my attached callbacks which will check for the modifications in various parts of the files. I will keep these all changes in the database and then reverse the changes as soon as a restore is needed.</p> <p>Please suggest me some efficient approaches for doing this. Thanks</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload