Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71920 - [IDEA] backuping
Summary: [IDEA] backuping
Status: RESOLVED WORKSFORME
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Conceptual/Abstract Ideas (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-21 01:03 UTC by Aben Siatris
Modified: 2005-04-26 15:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aben Siatris 2004-11-21 01:03:37 UTC
idea for adding new feature named "backup"
ok, if I add into FEATURES="backup", then if i unemerge package, or update packate, the old package backuped with "quick_package" tool automatically.

this is very usable feature for server instalations and backward copy of updated packages.

Reproducible: Always
Steps to Reproduce:
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-21 02:56:01 UTC
why not use buildpkg generally?
Comment 2 Aben Siatris 2004-11-21 11:17:19 UTC
because buildpkg is creating pkg for new package and is not backuping the old one which is to be unemerged.
Comment 3 SpanKY gentoo-dev 2004-11-21 15:46:57 UTC
buildpkg will build a pkg regardless of whether what you just emerged is new or an upgrade
Comment 4 Aben Siatris 2004-11-23 02:00:38 UTC
It would be nice to have a feature, which would do backup of original package with its config options. Original package is usually the one stable and I would like to be able to get instantially back to it if new merged package is proved to be faulty in some way. This is essential in server production environment (less in desktop environment).
Comment 5 Thomas Bettler 2005-04-26 15:56:51 UTC
I vote for this feature allowing your system to roll back to a previous state - package by package. emerge has to gain more power regarding roll-on and roll-back your system.

See also http://bugs.gentoo.org/show_bug.cgi?id=54113 - not the same, but an similar idea.

In combination with collision-protect feature we could also use a collision-backup feature, that backs up files - that will be overwritten *if not belonging to the upgrading package*