Project

General

Profile

Actions

Feature #5534

open

extract/preload subcommand

Added by Catalin Salgau almost 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
09.02.2019
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:

Description

Per documentation, restoring an instance involves creating a new instance and replacing files.
Assuming one is restoring their entire ~/.rccontrol folder, the issue, as I see it, comes down to not having the required files expanded under the NIX store, as symlinked from instancename/profile.
I'd like to suggest an rccontrol extract command that downloads (if not in cache/offline) and extracts the proper files on restore/upgrade, without the intermediary new instance step.
This would also simplify cleanup of the nix store on live instances.

Actions

Also available in: Atom PDF