Hello Michael,<div>Thanks for your reply .<br><br><div class="gmail_quote">On Tue, Nov 8, 2011 at 8:02 PM, Michael Vogt <span dir="ltr"><<a href="mailto:mvo@ubuntu.com" target="_blank">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">
On Sat, Oct 29, 2011 at 09:19:28PM +0530, Gaurav Saxena wrote:<br>
> Hello Michael<br>
Hi Gaurav,<br>
<br>
sorry for my slow reply.<br>
<div><br>
> On Fri, Oct 7, 2011 at 2:05 PM, Michael Vogt <<a href="mailto:mvo@ubuntu.com" target="_blank">mvo@ubuntu.com</a>> wrote:<br>
><br>
> > 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>
> > [..]<br>
> > > 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>
> > 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>
> ><br>
> Could you suggest something to me that how can I use apt-clone in my system<br>
> restore program to backup the states of system packages. I read articles<br>
> regarding that like <a href="http://swik.net/apt-clone" target="_blank">http://swik.net/apt-clone</a> which say that I need to have<br>
> a ZFS file system for managing snapshots and also its just a front-end to<br>
> apt-get.<br>
<br>
</div>There is a unfortuate name clash here, the apt-clone that uses zfs on<br>
solaris is different from the one we have in the archive.</blockquote><div> </div><div>Ohh I see that's why I was confused with how did they use apt-clone to create such a system, Thanks for clearing that big doubt, Actually apt-clone search on google gives result related to their system.</div>


<div>Can we implement a system like that using apt-clone and brtfs?</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Our apt-clone create a system-state file by capturing installed packages,<br>


auto-install states, sources.list etc. apt-clone --help should give a<br>
overview. Its possible to test using e.g.<br>
 apt-clone restore --destination=/tmp/foo clonefile<br>
this will restore into a chroot dir. Careful otherwise, the default<br>
restore location is "/".<br></blockquote><div>Ok. And then those packages backed up using dpkg-repack or by downloading are installed using dpkg ? Can this system fix broken upgrades ?</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>
Cheers,<br>
 Michael<br>
<div><div><br>
<br>
> > Cheers,<br>
> >  Michael<br>
> ><br>
> ><br>
> > > On Fri, Sep 30, 2011 at 12:01 AM, Gaurav Saxena <<a href="mailto:grvsaxena419@gmail.com" target="_blank">grvsaxena419@gmail.com</a><br>
> > >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 <<br>
> > <a href="mailto:aaron@heyaaron.com" target="_blank">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<br>
> > 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<br>
> > 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" target="_blank">grvsaxena419@gmail.com</a>><br>
> > > >> wrote:<br>
> > > >> > Hello all,<br>
> > > >> > I want to write a windows system restore like program for ubuntu ,<br>
> > which<br>
> > > >> > will have options for creating restore points for the system and<br>
> > 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<br>
> > help<br>
> > > >> to<br>
> > > >> > find how to start with this in ubuntu. I know that I have to<br>
> > snapshot<br>
> > > >> the<br>
> > > >> > system when creating a restore point and then restore it. I need<br>
> > some<br>
> > > >> > starting pointers so that I can start doing this work. Also if this<br>
> > 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" 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>
> > > >><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" 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>
> ><br>
> > > --<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>
><br>
><br>
> --<br>
> Thanks and Regards ,<br>
> Gaurav<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Thanks and Regards ,<br>Gaurav<br>
</div>