LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-24-2004, 08:26 PM   #1
surrealdumbo
LQ Newbie
 
Registered: Mar 2003
Posts: 5

Rep: Reputation: 0
Complete System Backup?


How do I create a CD of my running image "as is", so if I can use it as a complete system backup?
 
Old 05-24-2004, 08:42 PM   #2
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
Your entire Linux system? Thats pretty big... Anyway, try this script, it makes an ISO 9660 image from a directory. The syntax is: makeiso your_directory_here (probably / for you).
Heres the script:
Code:
#! /bin/sh
# $Id$
# build an ISO from a directory - mew 2003-01-04 2003-05-23

if [ $# -ne 1 ] ; then
    echo "usage: $0 rootdir"
    exit 1
fi

if [ ${UID} -ne 0 ] ; then
    echo "Dude!  You're just not cool enough!"
    exit 10
fi

ROOTDIR=$1
TITLE=${ROOTDIR}
OUTFILE=${ROOTDIR}.iso

mkisofs \
    -rational-rock \
    -joliet \
    -full-iso9660-filenames \
    -allow-leading-dots \
    -disable-deep-relocation \
    -volid ${TITLE} \
    -output ${OUTFILE} \
    ${ROOTDIR}

#EOF
You need to be root to make the image.
 
Old 05-24-2004, 11:31 PM   #3
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
you won't be able to do it while you're running it. The backup files (like the iso image from the above script) will change the system while you're running it and eventually the backup file will have to backup itself while it's backing up - which is bad.

But you can do it if you have a separate installation or use a liveCD distro like knoppix. You'd still need a free partition I think or be able to save it somewhere remotely on the network. I would recomment partimage. It creates image files of partitions so you can create exact backups. There's also a liveCd version of it. Just google for it.
 
Old 05-24-2004, 11:51 PM   #4
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
LavaDevil94, what specificaly would i edit to that script to get it to backup /var/www/html and burn it out to cdrecord?

sorry, but scripting just goes way over my head. also could i convience you into spelling out what all of that code means please.
 
Old 05-25-2004, 12:07 AM   #5
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Rep: Reputation: 30
Mondo

My successful story,using mondo as my backup solution.You have to install related software to backup your system.Then,it creates several ISO for you to burn to CD.
 
Old 05-25-2004, 03:52 AM   #6
colin.mca
LQ Newbie
 
Registered: Dec 2003
Posts: 10

Rep: Reputation: 0
Wouldn't symantec ghost or powerquest drive image do the trick?

I've often wondered, but not actually tried it..
 
Old 05-28-2004, 10:14 AM   #7
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Rep: Reputation: 30
Talking

I knew that Ghost/Drive image can also backup your drive.However,I have an unsuccessful story that I can't use Ghost to backup my Linux server on HP,which is an old PC (PII 300 96MB RAM 4GB Hard drive).I found many program like partimage...But they are complicated to use.After I used Mondo,it fulfills my needs.Schedule backup,backup to iso file.

Ghost/Drive image can backup,but they can't perform schedule backup,as far as I know.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System backup takes several hours to complete lagu2653 SUSE / openSUSE 2 07-02-2005 05:03 AM
Complete DVD backup with menus? gflores Linux - Newbie 7 03-13-2005 08:17 PM
Is it possible to take complete backup rhl_one Slackware 12 01-14-2004 11:54 AM
Complete DVD backup software Fatal_3rr0r Linux - Software 5 07-21-2003 03:48 PM
Complete System Backup top111 Linux - Newbie 1 08-20-2001 06:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration