Hello Michael<br><br><div class="gmail_quote">On Fri, Oct 7, 2011 at 2:05 PM, Michael Vogt <span dir="ltr"><<a href="mailto:mvo@ubuntu.com">mvo@ubuntu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Thu, Oct 06, 2011 at 05:15:14PM -0600, Bear Giles wrote:<br>
> I've written a few prototypes and this comes down to four issues. Some of<br>
> the details below are debian/ubuntu-specific but the same concepts will<br>
> apply to redhat.<br>
</div>[..]<br>
<div class="im">> 2. Packages should NOT be backed up. All you need is the package name and<br>
> version. Reinstall from .deb and .rpm if necessary since this way you're<br>
> sure that you never restore compromised files.<br>
<br>
</div>You may want to look at the apt-clone package for this part of the<br>
work, it supports creating/restoring this meta-data.<br></blockquote><div>Could you suggest something to me that how can I use apt-clone in my system restore program to backup the states of system packages. I read articles regarding that like <a href="http://swik.net/apt-clone">http://swik.net/apt-clone</a> which say that I need to have a ZFS file system for managing snapshots and also its just a front-end to apt-get. </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Cheers,<br>
<font color="#888888"> Michael<br>
</font><div><div></div><div class="h5"><br>
<br>
> On Fri, Sep 30, 2011 at 12:01 AM, Gaurav Saxena <<a href="mailto:grvsaxena419@gmail.com">grvsaxena419@gmail.com</a>>wrote:<br>
><br>
> > Hello Aaron<br>
> > Thanks a lot for your quick reply.<br>
> ><br>
> > On Fri, Sep 30, 2011 at 10:03 AM, Aaron C. de Bruyn <<a href="mailto:aaron@heyaaron.com">aaron@heyaaron.com</a>>wrote:<br>
> ><br>
> >> 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>
> >> Yes I read the logic behind windows system restore. But I think we can<br>
> > take some other approach for this, that will be better as all users won't be<br>
> > able to spare an extra partition formatted brtfs.<br>
> ><br>
> ><br>
> >> 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>
> >> Ok. Do I have to snapshot the whole system partition / important system<br>
> > files to the brtfs partition ?<br>
> ><br>
> ><br>
> >> 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>
> >> Ok. I will try another approach that will be better as suggested by<br>
> > people here.<br>
> ><br>
> ><br>
> >> -A<br>
> >><br>
> >><br>
> >> On Thu, Sep 29, 2011 at 21:00, Gaurav Saxena <<a href="mailto:grvsaxena419@gmail.com">grvsaxena419@gmail.com</a>><br>
> >> 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<br>
> >> support<br>
> >> > for older version of a file as is in windows currently. I need your help<br>
> >> to<br>
> >> > find how to start with this in ubuntu. I know that I have to snapshot<br>
> >> 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>
> >> > --<br>
> >> > Ubuntu-devel-discuss mailing list<br>
> >> > <a href="mailto:Ubuntu-devel-discuss@lists.ubuntu.com">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>
> >><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > Thanks and Regards ,<br>
> > Gaurav<br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > Thanks and Regards ,<br>
> > Gaurav<br>
> ><br>
> > --<br>
> > Ubuntu-devel-discuss mailing list<br>
> > <a href="mailto:Ubuntu-devel-discuss@lists.ubuntu.com">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>
<br>
> --<br>
> Ubuntu-devel-discuss mailing list<br>
> <a href="mailto:Ubuntu-devel-discuss@lists.ubuntu.com">Ubuntu-devel-discuss@lists.ubuntu.com</a><br>
> Modify settings or unsubscribe at: <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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Thanks and Regards ,<br>Gaurav<br>