Mailinglist Archive: opensuse-features (365 mails)

< Previous Next >
[openFATE 308626] Snapshot/Rollback interface to the ZYpp stack
  • From: fate_noreply@xxxxxxx
  • Date: Fri, 5 Mar 2010 07:29:45 +0100 (CET)
  • Message-id: <feature-308626-7@xxxxxxxxxxxxxx>
Feature changed by: Federico Lucifredi (flucifredi)
Feature #308626, revision 7
Title: Snapshot/Rollback interface to the ZYpp stack

openSUSE-11.3: Evaluation
Requester: Mandatory

Requested by: Duncan Mac-Vicar (dmacvicar)
Partner organization:

Ability for libzypp and exposed via zypper to snapshot either
automatically or explicitly the system before commit happens, plus an
interface to revert the system.
The interface should be generic and allow for different possible
implementations which should be offered depending on the context:
* btrfs based if /root is btrfs
* simple based on package list before commit, plus package history and
current package list to determine diff last transaction
* two root partitions, where the interface would clone root filesystem
before commit and switch them at rollback time.
The feature includes the concept, and a working implementation with one
or more of the strategies described before.


Documentation Impact:
Requires description of the functionality in zypper options

Test Case:
zypper install foo bar zypper rollback
System should be as before the installation. Corner cases are not

Use Case:
Administrator installs a bunch of updates, which leaves the system in
an an unworkable state. He types zypper rollback to undo the changes.

Business case (Partner benefit):
* Customer asked about snapshoting during our last meeting.
* Feature parity with Solaris which is implementing package rollback
based on ZFS
* RHEL goes the same route, announced btrfs rollbacks in yum
* We can do better, offering something more flexible and not btrfs
dependent to support different scenarios: SLES (btrfs), Appliances
(dual system partition), openSUSE (simple package list)

+ Discussion:
+ #1: Federico Lucifredi (flucifredi) (2010-03-05 07:29:41)
+ PM: Important for 11.3. (sorry, on web client).

openSUSE Feature:

< Previous Next >
This Thread