<div class="gmail_quote">Hello Aaron <div>Thanks a lot for your quick reply.<br><br><div class="gmail_quote"><div class="im">On Fri, Sep 30, 2011 at 10:03 AM, Aaron C. de Bruyn <span dir="ltr"><<a href="mailto:aaron@heyaaron.com" target="_blank">aaron@heyaaron.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In Windows, the ability to snapshot is built into the filesystem.<br>
In Linux, you must be running a filesystem that supports snapshots.  I<br>
know LVM supports snapshotting and I believe BRTFS has support, but<br>
other than that I'm not sure.<br>
<br></blockquote></div><div>Yes I read the logic behind windows system restore. But I think we can take some other approach for this, that will be better as all users won't be able to spare an extra partition formatted brtfs. </div>

<div class="im">
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Basically, your program would have to check the file system that is<br>
used on the computer (remember Linux can have many types of file<br>
systems mounted at the same time), then (in the case of LVM) make sure<br>
there's enough free space to snapshot, and finally take the snapshot.<br>
<br></blockquote></div><div>Ok. Do I have to snapshot the whole system partition / important system files to the brtfs partition ?</div><div class="im"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



When the snapshots start filling up, you would either need to delete<br>
them or detect the low space and resize them.<br>
<br>
In my personal opinion, snapshotting in Linux is currently a pain in<br>
the rear.  It sounds like BTRFS could change that, but it's still a<br>
ways off.<br>
<br></blockquote></div><div>Ok.  I will try another approach that will be better as suggested by people here.</div><div class="im"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



-A<br>
<div><div></div><div><br>
On Thu, Sep 29, 2011 at 21:00, Gaurav Saxena <<a href="mailto:grvsaxena419@gmail.com" target="_blank">grvsaxena419@gmail.com</a>> wrote:<br>
> Hello all,<br>
> I want to write a windows system restore like program for ubuntu , which<br>
> will have options for creating restore points for the system and then<br>
> restoring it back to that point. Also I will as an extension provide support<br>
> for older version of a file as is in windows currently. I need your help to<br>
> find how to start with this in ubuntu. I know that I have to snapshot the<br>
> system when creating a restore point and then restore it. I need some<br>
> starting pointers so that I can start doing this work. Also if this has<br>
> already been done please inform me. I got this idea from<br>
>  <a href="https://wiki.ubuntu.com/SystemRestore" target="_blank">https://wiki.ubuntu.com/SystemRestore</a>.<br>
> --<br>
> Thanks and Regards ,<br>
> Gaurav<br>
><br>
</div></div>> --<br>
> Ubuntu-devel-discuss mailing list<br>
> <a href="mailto:Ubuntu-devel-discuss@lists.ubuntu.com" target="_blank">Ubuntu-devel-discuss@lists.ubuntu.com</a><br>
> Modify settings or unsubscribe at:<br>
> <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss</a><br>
><br>
><br>
</blockquote></div></div><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Thanks and Regards ,<br>Gaurav<br>
</font></div>
</div><br><br clear="all"><div><br></div>-- <br>Thanks and Regards ,<br>Gaurav<br>