LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-14-2007, 12:37 PM   #1
GekkeGwuido
LQ Newbie
 
Registered: Apr 2007
Posts: 8

Rep: Reputation: 0
Create own bootable DVD


Hi,

I have installed a PIII - 733MHz as a Slackware server for my project in school. It's a database, ftp server with db4o that supports the data and all common files that are used in a java customer application. That's just some intro...

My question now: the whole application and server is developed for a social organisation and they don't have any financial resources for hiring a IT expert or whatever. But like all technologie a server can go down, and it's not my intention to go and fix that server everytime it fails. So I want to create a backup dvd (iso) that can be put in by a member of the organisation and when the system reboots, the entire system will be reloaded exactly the same configurations as it has now...

Is this possible? And if it is, is there any step by step tutorial? I'm not an expert in linux but also certainly not a beginner...

SO I don't want to create a bootable dvd consisting of multiple install-iso's but a bootable dvd with the entire configuartion of my system as it is now...

Thx in advance
GekkeGwuido
 
Old 05-14-2007, 12:56 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Have you tried here?
 
Old 05-14-2007, 12:56 PM   #3
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Only have heard of a full system backup into bootable dvd, from which you can reinstall.

You can backup your /etc dir, cause all settings are there. However, nobody will preserve all your other files (like executable ones) from deletion/corruption.
 
Old 05-14-2007, 01:11 PM   #4
GekkeGwuido
LQ Newbie
 
Registered: Apr 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Alien_Hominid
Only have heard of a full system backup into bootable dvd, from which you can reinstall.

You can backup your /etc dir, cause all settings are there. However, nobody will preserve all your other files (like executable ones) from deletion/corruption.
I'm going to take a look at it...

Quote:
Originally Posted by Alien_Hominid
Only have heard of a full system backup into bootable dvd, from which you can reinstall.

You can backup your /etc dir, cause all settings are there. However, nobody will preserve all your other files (like executable ones) from deletion/corruption.
The /etc is not the most important dir. I need that one too off course, but all my db scripts, backupsn, cronjobs, ftp config etc are the ones that I want to reinstalled from scratch; and possible for someone who has never worked with linux...
 
Old 05-14-2007, 01:17 PM   #5
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
The pair of programs mindi and mondo say that together they can make a bootable installable backup. I've messed with it a bit, but it didn't fit my needs, as it doesn't seem to be able to play well with dmraid. But, you might give it a try to see if it'll work in your situation. Install both of those programs and then run mondoarchive.
 
Old 05-14-2007, 03:53 PM   #6
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
But you must understand that saving only config files won't let you to upgrade packages, because some of new packages could not work with old config files (deprecated functions, new storing paths, etc). What I mean is that restoring only config files without appropiate binaries does not give a guarantee to have a usable system.
 
Old 05-14-2007, 04:23 PM   #7
GekkeGwuido
LQ Newbie
 
Registered: Apr 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Alien_Hominid
But you must understand that saving only config files won't let you to upgrade packages, because some of new packages could not work with old config files (deprecated functions, new storing paths, etc). What I mean is that restoring only config files without appropiate binaries does not give a guarantee to have a usable system.
And what would u suggest then to make an easy to use repair system for the server?
 
Old 05-14-2007, 04:45 PM   #8
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
use dd and write whole data to disc (dvd or external hdd maybe)
when somebody breaks something, you will use same dd to overwrite
you can even create a script for a newbie user
./save_backup.sh
./load_backup.sh
 
Old 05-14-2007, 05:11 PM   #9
GekkeGwuido
LQ Newbie
 
Registered: Apr 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Alien_Hominid
use dd and write whole data to disc (dvd or external hdd maybe)
when somebody breaks something, you will use same dd to overwrite
you can even create a script for a newbie user
./save_backup.sh
./load_backup.sh
But that is when your server starts up; so when it totally crashes, can't boot anymore, you first have to install slackware again and then restore your clone; or can it be done with a bootable dvd or cd?
 
Old 05-14-2007, 05:16 PM   #10
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
With any media where dd is.

You can create live cd with your backup. And then use dd.
Or boot with slackware cd and then use dd to restore backup from another dvd or external hdd.
 
Old 05-14-2007, 06:51 PM   #11
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
So basically dd the drive to a image file, and place that on a live CD with the appropriate script to write it back to the drive. You could also do this with something like partimage or G4U/G4L, but I guess that would take more technical knowledge than these users have.

But the part I don't understand here, if you just restore the server to the way it was when you installed it, they are going to lose any data they added to the database. Certainly that is going to be a problem, unless they back that up on the client side?

Finally...not to be too arrogant here, but once the server is setup correctly, there is very little chance that it is ever going to have a problem unless somebody is messing with it. This isn't Windows we are talking about here, were there are apparent random system crashes. The chances that an autonomous Linux server is ever going to have a problem that can't be fixed by a reboot is slim to none. I really wouldn't worry about it.
 
Old 05-15-2007, 01:33 AM   #12
GekkeGwuido
LQ Newbie
 
Registered: Apr 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by MS3FGX
So basically dd the drive to a image file, and place that on a live CD with the appropriate script to write it back to the drive. You could also do this with something like partimage or G4U/G4L, but I guess that would take more technical knowledge than these users have.
Lots of information; on your first paragraph, that's waht I'm doing now; I have created an image with dd and copied it into a folder which contains all files to make a bootable dvd... Just not tested it yet;

Quote:
Originally Posted by MS3FGX
But the part I don't understand here, if you just restore the server to the way it was when you installed it, they are going to lose any data they added to the database. Certainly that is going to be a problem, unless they back that up on the client side?
There will be made a backup every night, and the users have the possibility (read obligation) to copy that backup to a stick or an extrnal storage location; so they can restore there latest backup; all implemented through scripts and java; so that's not really a problem;


Quote:
Originally Posted by MS3FGX
Finally...not to be too arrogant here, but once the server is setup correctly, there is very little chance that it is ever going to have a problem unless somebody is messing with it. This isn't Windows we are talking about here, were there are apparent random system crashes. The chances that an autonomous Linux server is ever going to have a problem that can't be fixed by a reboot is slim to none. I really wouldn't worry about it.
I know, I use linux and windows also, and I know the benefits and the "fame" of linux; but say never never; and I don't want to be called for every little problem; so I try to cover myself by creating a robuust system and easy-to-use repair methods...
 
Old 05-15-2007, 06:48 AM   #13
GekkeGwuido
LQ Newbie
 
Registered: Apr 2007
Posts: 8

Original Poster
Rep: Reputation: 0
I've managed to make a .iso file, but now it's way to big (6.7 Gb) to burn on a dvd. With dd I've created a .gz file that is approx 3.6 Gb... How can I burn this to a dvd? Or waht can i delete from the original slackware iso???
 
Old 05-15-2007, 07:15 AM   #14
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
get slax frodo and copy your gz
 
Old 05-15-2007, 07:25 AM   #15
GekkeGwuido
LQ Newbie
 
Registered: Apr 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Alien_Hominid
get slax frodo and copy your gz
Can I just download slax frodo iso and burn it together with my image to one dvd?
 
  


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
Script to create a bootable DVD from CD isos courtrrb Mandriva 2 08-26-2006 08:22 AM
How to create a Fedora bootable DVD? mrk1500man Linux - Newbie 2 10-17-2005 06:59 PM
How 2 create an OpenBSD bootable DVD gentisle *BSD 5 06-24-2005 05:10 AM
How do I create a bootable DVD of Suse Linux 9.2 live using Nero Burning ROM SE ??? chasgrundy Linux - Newbie 2 02-27-2005 05:09 PM
How to create a SuSE 9.1 bootable dvd with Nero? ticker Linux - General 2 06-30-2004 06:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:41 AM.

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