Best way to backup my Fileserver

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
Pezzoni
Jedi Knight
Posts: 565
Joined: 2005-08-15 03:03pm

Best way to backup my Fileserver

Post by Pezzoni »

It's maintenance time for my fileserver, I need to install another hard drive (it's time for RAID-0), and update the Operating System. I'm thinking that the best way to do this will just be with a format (it'll get rid of a lot of the crap which has accumulated over the last couple of years, I can setup the RAID array during the installation, and I can get rid of the packages I installed the first time round and don't actually need).

I need to backup the home directories, the web root, and the MySQL databases (unless anyone can think of anything I've missed?), and was planning on just creating archives of all the necassary folders with a
tar -cvf filename.tar directory/file
(not compressed as a 450Mhz PIII would take a while over it), and then copying the resulting file over the network to my desktop, then after the reinstall, copying back and extracting?

Is this the best way of going about this task, or can anyone suggest superior alternatives?
User avatar
Pu-239
Sith Marauder
Posts: 4727
Joined: 2002-10-21 08:44am
Location: Fake Virginia

Post by Pu-239 »

Are you missing /etc?

ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer


George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
User avatar
Pezzoni
Jedi Knight
Posts: 565
Joined: 2005-08-15 03:03pm

Post by Pezzoni »

Probably not a bad idea to get resolv.conf, bearing in mind how much trouble I've had getting the internet connection working before... Most of the other configuration files have only minor changes made to them, or are just plain broken, and therefore can be forgotten I think.
User avatar
Pu-239
Sith Marauder
Posts: 4727
Joined: 2002-10-21 08:44am
Location: Fake Virginia

Post by Pu-239 »

STill good idea for reference

ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer


George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
User avatar
Pezzoni
Jedi Knight
Posts: 565
Joined: 2005-08-15 03:03pm

Post by Pezzoni »

True, I'll grab that as well then...
Post Reply