Magical apt-clone, Broken System Recovery | Linux Today

Magical apt-clone, Broken System Recovery

Written By
Web Webster
Web Webster
Dec 9, 2008

[ Thanks to Ahmed Kamal for this
link. ]

“I have also used the command “apt-clone” to list the
currently available boot environments. Basically, using ZFS
snapshots the whole machine state is snapshot’ed resulting in a
instantly bootable environment. Currently we only have the default
environment “rootfs-nmu-000”. Now I am going to use apt-clone to
“dist-upgrade” the whole system. If this is new to you (who has
never seen Ubuntu 🙂 it basically means you’re upgrading the whole
system to the latest tasty bits…

“Note that the “A” and “C” in the output mean “Active” and
“Current”. Great, now creating instant bootable system snapshots
like that is so useful that it does not relate to software
installations only. Say you’re running some third party closed
source installation application and you’re not really sure what’s
it going to do to your system. Or if the new clueless administrator
needs to install something to the server but you think he’s
probably going to destroy it! In such situations, it’s very helpful
to manually create a system snapshot. So, let’s do just that to
create the environment 002 and let’s activate it.”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.