Main > System > Archiving >

glucopy-glurestore 1.0

glucopy-glurestore 1.0

Sponsored Links

glucopy-glurestore 1.0 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.14 MB
Platform: Any Platform
License: (FDL) GNU Free Documentation License
Price:
Downloads: 1052
Date added: 2006-12-07

glucopy-glurestore 1.0 description

glucopy-glurestore is a set of scripts for copying and restoring a fully functional GNU/Linux (or other Unix-like) system.

The glucopy script will back up all system content (system and user files), while the glurestore script will partition and format an identical system, restore the system and user files, and make the system bootable.

glucopy-glurestore scripts are included in the HTML documentation.

The back-up should (ideally) be made while the system is not running, which usually means that you need to boot with a rescue system disk. A number of suitable floppy or CD-based system images can be downloaded from the net or, better, included in your distributions boot options. Make sure that this rescue system supports the type of disks in your target system (SATA/SCSI or IDE).

The following script will get partition information in a form that can be used to restore the system on new disks and will then collect the working system files in one (or more) compressed tar balls.

The sfdisk program is used for getting partition information (-d option). Take a look at sys_partitions.txt after the glucopy.sh script has finished.

In this application it is considered that all Master Boot Record (MBR) information will be overwritten by the partitioning and boot loader programs. If you need a copy of all or parts of the MBR, however, dd is your friend.

System directories that contain transient information (e.g. /proc, /sys) are not copied. Directories or individual files containing unwanted information can be excluded using tars –exclude=/directory/file option.

#!/bin/sh
###########################
# glucopy.sh
#
# Creates the /glucopy directory
# Copies partition information in sys_partitions.txt
# Optionally makes a copy of the MBR in mbr.bin
# Copies working GNU/Linux system to .tgz files
#
# USAGE:
# Boot system with a rescue CD or any bootable CD
# that supports your type of disks (SATA/SCSI or IDE).
# run the back-up script: ./glucopy.sh
#
# In this example the system is on /dev/sda
# /dev/sda1 is a small partition with HW manufacturer utilities
# /dev/sda2 has system root (/) -> mounted to /mnt
# /dev/sda3 is a spare (blank) partition
# /dev/sda4 has home (/home) and space to hold
# the information to be copied -> mounted to /mnt2
#
# 061116 jp/dm
###########################
# Change the following to reflect the place where your system root (/)
# and the home directories (/home/*) are mounted
mkdir /tmp/mnt1
mkdir /tmp/mnt2
mount /dev/sda2 /tmp/mnt1
mount /dev/sda4 /tmp/mnt2

# The directory to hold the system copy is placed on the larger partition
mkdir /tmp/mnt2/glucopy

# Change to the working directory
cd /tmp/mnt2/glucopy

# Optionally copy MBR information
#dd if=/dev/sda of=mbr.bin bs=512 count=1

# Copy partition information
/sbin/sfdisk -d /dev/sda > sys_partitions.txt

# Make tarballs
tar -C /tmp/mnt1 -cvzf syscopy.tgz boot bin etc lib media opt root sbin usr var dev

# Move up a level
cd ..
# here we are under the /home directory level
# notice that --exclude will exclude anything that matches a _pattern_
# the glucopy directory will still be created in the tarball
tar -cvzf ./glucopy/homecopy.tgz * --exclude=glucopy/*

# Copy the backup/restore scripts (here under root /), and the sfdisk program, as well
cp /glucopy.sh ./glucopy
cp /glurestore.sh ./glucopy
cp /sbin/sfdisk ./glucopy

# Notify user
echo -e “glucopy: finished a”

glucopy-glurestore 1.0 Screenshot

Advertisements

glucopy-glurestore 1.0 Keywords

Bookmark glucopy-glurestore 1.0

Hyperlink code:
Link for forum:

glucopy-glurestore 1.0 Copyright

WareSeeker periodically updates pricing and software information of glucopy-glurestore 1.0 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of glucopy-glurestore 1.0 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Egressor is a router config check. Free Download
collectd is a small daemon which collects system information every 10 seconds and writes the results in an RRD-file. Free Download
Advance ReiserFS Partition Recovery Software is an easy and simple linux data recovery tool to recover linux reiserfs data from corrupt or damaged linux reiserfs partition. ReiserFS partition recovery Free Download
Focus/SIS is a student information system used to manage schools and districts and their student-related data. Free Download
Harvest is a system to collect information and make them searchable using a web interface. Free Download
Openwsman is a project intended to provide an open-source implementation of the Web Services Management specification. Free Download
SystemCheck is a Superkaramba theme that displays some system information like CPU usage, Memory used, Network activity, Volume. Free Download
Cicerone is a multi-platform/server/database, Web-based corporate information system that allows to maintain infos on the fly. Free Download