This is an old revision of the document!
Sparky Backup Core lets you backup your existing Sparky installation, and create a new iso image of it. The tool is based and forked from Remastersys.
sudo apt-get install sparky-backup-core
Sparky Backup Core provides two tools:
- 'sparkybackup' - text based, which creates a new iso image.
- 'sparkylinux-installer' - a text and Yad (GUI) based live installer which lets you install your Sparky based re-spin on a new partition, disk or machine. The tool is called Sparky Advanced Installer, and is available in all Sparky iso images.
Usage of the 'sparkybackup' tool in a text mode is manuall only, means all preperations have to be done step by step by you, before starting the process.
The tool configuration is placed in /etc directory:
Edit the file by a text editor, as root, and change some options as you like:
a. Working directory (make sure you need up to 20 GB of space to create 4GB iso image):
b. The live system label:
c. New iso image name:
I do not suggest to change the live system user name, simply leave is as it is (live).
Your desktop configuration should be copied to the /etc/skel directory to use it in a new live system.
Simply copy (as root) any desktop environment or window manager configuration to skel, for example:
sudo cp ~/HOME/.jwmrc /etc/skel/
sudo cp ~/HOME/.config/openbox/* /etc/skel/.config/openbox/
Make sure that the target folder do exist in the 'skel' directory.
After changing all your custom setting, the building process can be started via the command:
sudo sparkybackup dist
Building with no errors will place your new iso image, package list and check sum files in your working directory. Copy them to other location, before buildning next one.
After the building process been completed, and you copied the iso and other stuff to a diffent location, you HAVE to clean the working directory BEFORE making another iso image:
sudo sparkybackup clean
Starting from version 20171009, the tool got text line shortcuts called “spb”, for example:
You should also read Tricks & Tips page.