Subscribe via RSS Feed

How to backup and restore the Server Configuration on ClearOS

It is important to have a backup for the configuration and settings on our server. ClearOS, as a powerful server provides an easy way to backup the basic configuration and settings including all users and its password. So, whenever your system is broken caused by something, you can restore the settings easily. Please make note that by backup this way, it will not include your data. Its only the configuration settings. OK, I will guide you how to create backup on ClearOS 6.2.

Backup ClearOS 6.2

1. Login to ClearOS 6.2 web interface.

2. Go to System | Backup and click Configuration Backup. 

3. Click Backup Now to create new backup.

4. At this point we are successful to create backup for our server configuration settings. Click Download to download the file and store it in other place. 

Restore Configuration on ClearOS 6.2

In order to restore the configuration of ClearOS, we can use the Restore button on the step above (see picture above). It will automatically restore the system with the backup file. On my own experiencese, I was unable to Restore my configuration using feature Restore From Archive. I always got the following error when I tried to upload the .tgz backup file.

“upload_invalid_filetype”

Another way to restore the configuration file is using Terminal. In my example, I am restoring the backup from remote computer. I use scp to restore my backup. Follow these steps to restore using Terminal. 

1. Extract the backup.tgz file. You will have these three directories inside.

2. Now restore using this command:

scp -r etc root@192.168.1.100:/

The command above will restore the “etc” folder to the original “/etc” directory on the server (192.168.1.100). Continue to the next usr and var directory. After that, reboot your server and viola..your configuration successfully restored.

Incoming Search:

  • **upload_invalid_filetype** clearos
  • how to take clearos config backup on linux
  • clearos **upload_invalid_filetype**
  • configuration clearOS
  • how to backup clearos configuration

Tags: , , ,

Category: ClearOS

About the Author: Basically I am a GIS officer in an mineral exploration company and I love to try any new software, linux distro, gis software. I want to share all the things that I know on my blogs.

Comments (2)

Trackback URL | Comments RSS Feed

  1. aruna says:

    Should I leave the unziped folders in Downloads Folder and run that command using terminal?

  2. aruna says:

    Or where should I place these folders?

Leave a Reply




If you want a picture to show with your comment, go get a Gravatar.