Remastersys: Outstanding solution for backup and custom Live CDs

Jack Wallen
Sep 14, 2009
Updated • Feb 13, 2018
Backup, Linux
|
4

Recently a Ghacks reader mentioned (in my "Create your own mobile Ubuntu repository with APTonCD" article) the tool remastersys. This particular tool is a must-have for serious Ubuntu/Debian administrators, because it allows the user to create a Live CD of the installed Ubuntu or Debian system.

This has two handy uses: As a backup for your system or as a Live CD of your system. As a backup it will allow you to re-install a fully customized system in the same, simple manner in which you installed your base system. As a Live CD it allows you to easily install a custom system on multiple machines without having to go through the process of installing a base and then installing all of the applications you need to create your custom system.

The only drawback (if you can call it a drawback) is that customizations such as themes, fonts, colors, etc are not configured by default. As a backup, Remastersys will copy all personal data. As a Live CD, Remastersys will include all installed applications, but not personal data. In this tutorial you will learn how to install Remastersys and create a backup and a Live CD version of your currently installed Ubuntu desktop.

Installing Remastersys

The first thing you will need to do is open up your /etc/apt/sources.list file in a terminal window. You will need to do this using the sudo nano /etc/aptsources.list command. Once that file is open add the following to the end of the file (depending upon your release):

For Gutsy and Earlier add the following:

# Remastersys
deb http://www.geekconnection.org/remastersys/repository remastersys/

For Hardy and Newer add the following:
# Remastersys
deb http://www.geekconnection.org/remastersys/repository ubuntu/

Save that file and then issue the commands:

sudo apt-get update

sudo apt-get install remastersys

There will be some dependencies to install, so accept those and wait for the installation to complete.

Running remastersys

You will find the menu entry for Remastersys in the Administration sub-menu of the System menu. There you will see two entries: Remastersys Backup and Remastersys Grub Restore. The entry you want is Remastersys Backup. When you first start Remastersys you will get a warning that you must close all other windows as well as unmount any network shares. Naturally this makes for complicating the process of taking screenshots, but when using Linux - we have ways.

Figure 1
Figure 1

The main window of Remastersys is very simple (see Figure 1). You have a window with a number of options to select from. To create a Live CD click the "Make a Distributable copy to share with friends" and then click OK. To create a backup of your current running system (which will include all personal data) click "Backup Complete System" and click OK.

Let's examine the process of creating a backup. You will want to make sure you have all windows, but Remastersys, closed. Select "Backup Complete System" and click OK. When you click OK the main window will disappear to be replaced by a terminal window. The rest of the process will occur within this terminal window. Depending on how large your system is, the creation of the .iso will take some time (and many CPU cycles). Do not do anything on your machine during this process.

Once the iso is created you will be informed the iso file can be found within /home/remastersys/remastersys. The file name will be custom.iso (unless you have changed the name by using the "Modify the remastersys config file" option before you create your backup or Live CD.

Once the process is complete you will need to burn your iso onto DVD. Most likely your backup will not fit on a CD. You can burn your ISO using the handy K3B tool (For a tutorial on burning ISOs with K3B check out my article, "Burn CD and DVD ISO images with K3B".) After the DVD is burned you will have a perfect backup of your system, including configurations and personal data.

Final thoughts

If you are looking for a nearly foolproof means of backing up your Ubuntu system, you have most likely found it. Remastersys is an outstanding tool that will create backups and Live CDs of your currently running system.

Summary
Remastersys: Outstanding solution for backup and custom Live CDs
Article Name
Remastersys: Outstanding solution for backup and custom Live CDs
Description
Remastersys is a must-have for serious Ubuntu/Debian administrators, because it allows the user to create a Live CD of the installed Ubuntu or Debian
Author
Publisher
Ghacks Technology News
Logo
Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. Claude LaFrenière said on September 14, 2012 at 5:52 pm
    Reply

    Hi Martin Brinkmann :)

    In my Windows 7 this is already done in the Task Scheduler by the default installation… The command line is:

    %windir%\system32\rundll32.exe /d srrstr.dll,ExecuteScheduledSPPCreation

    :)

    1. Martin Brinkmann said on September 14, 2012 at 6:22 pm
      Reply

      Thanks for posting that, easier than my way. Have not tried it yet though but will. Wonder why I do not have it.

    2. ilev said on September 14, 2012 at 8:31 pm
      Reply

      I have it as well but it was configured to run only when the PC is idle.

      Task Scheduler > Task Scheduler Library > Microsoft > Windows > System Restore.
      There are 2 triggers : at 00:00 every day, at startup.

      1. Rich said on September 15, 2012 at 4:07 am
        Reply

        Much easier and simpler method is at tweaking.com Registry Backup. It runs at startup and invokes VSS to copy registry and keeps last 30 days for restores. Can be invoked within MSFT Recovery Console so better suited to non-boot situations. No authority issues either.

  2. Michael said on September 16, 2012 at 4:57 am
    Reply

    My task scheduler is also configured this way. But it doesn’t work. My system does NOT make a restore point every time it boots. Its typically not running at midnight.

  3. Achilles Khalil said on September 16, 2012 at 6:57 am
    Reply

    Hi this is achilles Seo Expert and website designer and developer. I am here to tell you if need help or need any seo expert contact me I can design any kind of site for any country and Optimize with search engin also can bring your site at TOP. Please feel free to contact me. Whoever your work is great awesome. Be Happy.

  4. Frantic said on September 16, 2012 at 10:33 pm
    Reply

    How is this done in Windows XP, I wonder?

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.