LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Create own bootable DVD (https://www.linuxquestions.org/questions/slackware-14/create-own-bootable-dvd-553802/)

GekkeGwuido 05-14-2007 12:37 PM

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

osor 05-14-2007 12:56 PM

Have you tried here?

Alien_Hominid 05-14-2007 12:56 PM

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.

GekkeGwuido 05-14-2007 01:11 PM

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...

Quakeboy02 05-14-2007 01:17 PM

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.

Alien_Hominid 05-14-2007 03:53 PM

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.

GekkeGwuido 05-14-2007 04:23 PM

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?

Alien_Hominid 05-14-2007 04:45 PM

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

GekkeGwuido 05-14-2007 05:11 PM

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?

Alien_Hominid 05-14-2007 05:16 PM

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.

MS3FGX 05-14-2007 06:51 PM

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.

GekkeGwuido 05-15-2007 01:33 AM

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...

GekkeGwuido 05-15-2007 06:48 AM

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???

Alien_Hominid 05-15-2007 07:15 AM

get slax frodo and copy your gz

GekkeGwuido 05-15-2007 07:25 AM

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?


All times are GMT -5. The time now is 10:32 PM.