Computer Hope

Software => BSD, Linux, and Unix => Topic started by: Zylstra on December 24, 2007, 01:52:16 AM

Title: Backups
Post by: Zylstra on December 24, 2007, 01:52:16 AM
What is the best way to do a full, complete, backup of your system?
To the point where, if I managed to completely destroy my server computer, I could completely restore it again?

(I have been considering attempting a RAID configuration, but I doubt my hardware supports it... and it seems a bit complicated.)

Ubuntu Server (updated)
3GB HDD (still thinking about upgrading this...)
Title: Re: Backups
Post by: DaveLembke on January 13, 2008, 09:59:31 PM
I'd clone the HD if you can dupe it and just want a restore point! or run a full backup to DVD-R with a DVD Burner which can be done through Linux. If you had a dual booting system with Windows/ Linux, you can Ghost the entire HD and revert back. BUT ghost will ghost the ENTIRE Linux Partition including free space when a Linux partition is present because it can not differentiate the actual data compared to free space, so it copies all the space as well. Learned this the hard way with a 160GB HD and a 120GB Linux Partition, 40GB Fat 32 partition for Windows 2000 Pro and interplatform data sharing. Had to bail out of that image that would have been extremely wasteful since the Fedora Core 5 was only about 5 Gigs of the 120.
Title: Re: Backups
Post by: Zylstra on January 14, 2008, 10:07:53 AM
Are there any free disc image programs that know how to handle the EXT3 format?
Title: Re: Backups
Post by: michaewlewis on January 14, 2008, 10:46:15 AM
probably.....
Check sourceforge.net
Title: Re: Backups
Post by: Sid on January 14, 2008, 04:02:44 PM
Might something like "Grsync" be helpful?

It's available in Synaptic.
Title: Re: Backups
Post by: Zylstra on January 14, 2008, 06:13:54 PM
Might something like "Grsync" be helpful?

It's available in Synaptic.

What is it exactly?
Title: Re: Backups
Post by: Zylstra on January 14, 2008, 07:08:39 PM
Quote
grsync is a simple graphical interface using GTK2 for the rsync command line
program. It currently supports only a limited set of the most important rsync
features, but can be used effectively for local directory synchronization.
So, this will just copy it as-is without putting it into some weird .tar.gz file?

Also, I dont have a graphical interface. Will it still work?
Title: Re: Backups
Post by: Rob Pomeroy on January 15, 2008, 02:29:47 AM
All you really need is the dd command.  See >here< (http://www.okmoore.com/imagedrive.html) and >here< (http://www.pccitizen.com/driveimage.htm#5).
Title: Re: Backups
Post by: Sid on January 15, 2008, 05:08:20 PM
Quote
grsync is a simple graphical interface using GTK2 for the rsync command line
program. It currently supports only a limited set of the most important rsync
features, but can be used effectively for local directory synchronization.
So, this will just copy it as-is without putting it into some weird .tar.gz file?

Also, I dont have a graphical interface. Will it still work?

Uh...well, I don't think so.  Basically it's the GUI equiv to the "rsync" command...as it says up there, so if you get some more info (read:google) "Rsync" then you should be laughing.

And yes, it just copies it, I use it to keep my iPod updated with files I keep on a separate partition...like syncing new music.  Get me?
Title: Re: Backups
Post by: Zylstra on January 22, 2008, 05:19:14 PM
Okay...

(Just decided I need to stop delaying)

Considering I dont have a blank CD, or my Ubuntu disc at the moment.. what do I type to copy my main drive (/dev/hda1) to me second drive (/dev/hdb1)?
Title: Re: Backups
Post by: Rob Pomeroy on January 25, 2008, 06:45:51 AM
All you really need is the dd command.  See >here< (http://www.okmoore.com/imagedrive.html) and >here< (http://www.pccitizen.com/driveimage.htm#5).
Title: Re: Backups
Post by: Zylstra on January 25, 2008, 05:07:25 PM
All you really need is the dd command.  See >here< (http://www.okmoore.com/imagedrive.html) and >here< (http://www.pccitizen.com/driveimage.htm#5).
I swear I looked at it! I honestly did, Rob! I did!

Trying it as we write...
(dd if=/dev/hda of=/dev/hdb)
Sh*bleep*
Just realized: I should have read the directions...
I didnt use a Linux Live CD... I dont have one at the moment. I will do this as soon as I can
Title: Re: Backups
Post by: Rob Pomeroy on February 07, 2008, 05:40:54 AM
How's it going?
Title: Re: Backups
Post by: Zylstra on February 07, 2008, 12:56:34 PM
How's it going?
I just got the CD back yesterday, I will be trying it ASAP, and will get back to you all soon
Title: Re: Backups
Post by: Zylstra on February 07, 2008, 01:14:11 PM
Okay, so, I recently discovered that my Linux Installer CD (Ubuntu Server Edition) does not have a properly working terminal. It does have BusyBox, however, apparently, the DD command does not work. What shall I do?
Title: Re: Backups
Post by: michaewlewis on February 07, 2008, 02:10:50 PM
install another terminal/console program....
Title: Re: Backups
Post by: Rob Pomeroy on February 08, 2008, 02:16:46 AM
apt-get install ...
or
yum install ...

What do you mean by "properly working terminal"?  Are you talking about a shell?

yum install bash

Or do you mean an xterm (or something like that) in X Windows/KDE/Gnome?

yum install xterm
Title: Re: Backups
Post by: Zylstra on February 09, 2008, 09:24:18 PM
By "Properly Working Terminal" I mean:
It does have a terminal (CLI), but, its BusyBox, which, seems to be quite limited as compared to the regular terminal in Ubuntu.

I will try booting off my SLAX CD and see if I can run it from there, as soon as I get the enthusiasm to do so (I have a cold...)