This is an old revision of the document!
Sparky Backup Core is a tool which 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:
/etc/sparkybackup/sparkybackup.conf
Edit the file with a text editor, as root and change some options:
a. Working directory (make sure you need up to 20 GB of space to create 4GB iso image):
WORKDIR="/home/sparkybackup-sys"
b. The live system label:
LIVECDLABEL="SparkyLinux"
c. New iso image name:
CUSTOMISO="sparkylinux-4.6-arch-desktop.iso"
etc.
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:
JWM:
sudo cp ~/HOME/.jwmrc /etc/skel/
Openbox:
sudo cp ~/HOME/.config/openbox/* /etc/skel/.config
etc., etc.
Make sure that the target folder do exist in the 'skel' directory.
After changing all your custom setting, the building process can be started:
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 diffent locations, you HAVE to clean the working directory BEFORE making another iso image:
sudo sparkybackup clean
You should also read Tricks & Tips page.