savannah-register-public
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-register-public] [task #6423] Submission of CTCClone Network C


From: Claudio Brocco
Subject: [Savannah-register-public] [task #6423] Submission of CTCClone Network Clone & Restore
Date: Tue, 23 Jan 2007 13:40:46 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061024 Firefox/2.0 (Debian-2.0+dfsg-1)

URL:
  <http://savannah.gnu.org/task/?6423>

                 Summary: Submission of CTCClone Network Clone & Restore
                 Project: Savannah Administration
            Submitted by: claudiob
            Submitted on: Tuesday 01/23/2007 at 13:40
         Should Start On: Tuesday 01/23/2007 at 00:00
   Should be Finished on: Friday 02/02/2007 at 00:00
                Category: Project Approval
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                  Effort: 0.00

    _______________________________________________________

Details:

A new project has been registered at Savannah 
This project account will remain inactive until a site admin approves or
discards the registration.


= Registration Administration =

While this item will be useful to track the registration process, *approving
or discarding the registration must be done using the specific Group
Administration
<https://savannah.gnu.org/siteadmin/groupedit.php?group_id=9078> page*,
accessible only to site administrators, effectively *logged as site
administrators* (superuser):

* Group Administration
<https://savannah.gnu.org/siteadmin/groupedit.php?group_id=9078>


= Registration Details =

* Name: *CTCClone Network Clone & Restore*
* System Name:  *ctsclone*
* Type: non-GNU software & documentation
* License: GNU General Public License V2 or later

----

==== Description: ====
CtsClone

CtsClone is a simple shell script that provide Clone & Restore function for
network environments like Norton Ghost © or similar tools.
It is a wrapper of many great tools developed from the free software
community.

This script is useful in particular from a live Gnu/Linux Distribution like
Morphix or Knoppix because give you the possibility to backup a system in
less time and to restore it in few minutes (depending on how much data).

For clone and restore you need only a samba share in your network (called
“install”) and this script in a live system. We provide the shell script
(wrapper) and the xml files to build a morphix with al the dependencies
(mainmod and minimod for mmaker).

The script depends on:

fdisk
sfdisk
dialog
bash
partimage
smbclient

To build the morphix live cd you need mmaker and a base system. See morphix
documentation for it. This script was also tested in the Knoppix 5.0 with
success.

How it works

1.Share a folder with write access called “install” in your network (with
samba).
2.Insert the live cd in the machine you want to clone/restore
3.Launch the script 
ctsclone.sh ip username password
ex: ctsclone 10.0.0.238 install install

The script

ctsclone.sh use “dialog” to ask what to do to the user.

First it ask what to do between Clone and Restore, than which disk/partition
and than the name to use.

After that, if we want to clone, the script

1.Mount the shamba share
2.Create a folder with the choosed name
3.Makes a dump of the mbr with dd (in the samba share in the created folder)
4.Saves a dump of fdisk of the target partition (in the samba share in the
created folder)
5.Saves a dump of sfdisk of the target partition (in the samba share in the
created folder)
6.Launch partimage for each choosed partition saving (in the samba share in
the created folder), skipping swap and extended partition

If we want to restore, the script:

1.Mount the samba share
2.Restores the MBR (with dd)
3.Restore the partition table with sfdisk
4.Read the dump of fdisk and choose which action to do for each partition:
1.Create swap
2.Restore partition with partimage



This solution was build to fix many problems with multi platforms environment
like mine.
This solution is:

fast
doesn't require much space for backups (partimage saves only data and can use
gzip and bzip compression)
doesn't require a windows server and related license, a samba share is
sufficient
clone all filesystem supported by partimage
could permit to choose which tool to use for each filesystem type (like
ntfsclone for ntfs, partimage for ext2, etc...)


==== Other Software Required: ====
dialog
bash
fdisk
dd
sfdisk
partimage
smbclient






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/task/?6423>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]