[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Snapshot Program



>> On Tue, Feb 26, 2013 at 10:19 AM, Joao Luis Meloni Assirati <
>> assirati@nonada.if.usp.br> wrote:
>>
>>> > On Tue, Feb 26, 2013 at 04:21:47PM +0000, Hélder Pinheiro wrote:
>>> >> Hi,
>>> >> Is there any program to do a kind of snapshots of my debian
>>> >> installation?
>>> >> Something that I can restore through CLI
>>>
>>
>>
>>> After you made the modifications, if you want to restore the previous
>>> state, just delete the modified logical volumes and rename the
>>> snapshots
>>> so they take place of the original logical volumes.
>>> João Luis
>>>
>>>
>> I thought when you wanted to incorporate the changes(data stored in
>> snapshot) into the original volume you had to merge them(lvconvert
>> --merge).  Is this incorrect?
>
> No, this is the correct solutions and works also when the snapshot is
> read-only.

Let make things a bit more clear. You take the snapshot and make changes
in the original logical volumes. If you want to revert the changes, you
call lvconvert --merge, which will revert the logical volume to its
original state. The name "merge" is somewhat misleading, I think.


Reply to: