Web Hosting Forums Web Discussions on Hosting Webmaster forums Web Hosting Forums Domain Name Forums Web Hosting

Old 08-29-2005, 09:24 PM   #1 (permalink)
Hosting Master
Join Date: Aug 2005
Location: New Delhi,India
Posts: 250
incript_services is on a distinguished road
Back Up a Server?

Simple steps to bacup a server - Assumptions FreeBSD/Linux - examples given for FreeBSD Server. (Linux would be different set of directories)

Decide on what you want/need backed up.

A typical FreeBSD server, I would back up

/etc
/user/lcoal/etc
/var/cron
/home
/usr/local/www/data

A dump of all databases should be done as well - for MySQL you would do something like

mysqldump --add-drop-table -u {username} - p {password} {dbname} > /backup/{dbname}{date}

Hint - you can easily get a list of all the databases on your server - I'll leave it up to you!

Additionally, I would also make sure I have a backup of the kernel config if you are not using generic and finally, and of couse grab a copy of the list of packages that are on your server ( I do this by running pkg_info > /etc/packge_info as a daily cron job )

Now, we have decided what to back up, you need to actually back it all up - tar and compress it

Use either zip or bz2 compression

tar -czf /backup/etc{date}.tgz /etc for zip compression or
tar -cyf /backup/etc{date}.tbz /etc for bz2 compression

Now, If you have 2 disks in your server, you would have mounted the 2nd drive under /backup

Script all of this and run it as a cronjob daily!

Additionally, I would never rely on simply keeping a backup on the same physical server - At an absolute minimum grab one of these backup sets and ftp it off the server weekly! - Even if you grab it back to your own desktop machine and burn the files to DVD and throw them in the bottom drawer.

As long as you keep any backups on a 2nd physical HDD in your server, you have an easy restore point for the day a customer deletes their data, and the copy in your bottom drawer is for the day the data centre burns down ( or the both Hard drives fail )

This is not a complete set of instructions, but should provide anyone with a bit of an idea on how and what to backup.

The best thing to do, if you don't know how to do a backup is to pay a competent sysadmin to write you some scripts and a simple document on how to use them - It could be the best $50-$100 you ever spend!

Need More Details Please Ask me.
__________________
(Red Pepper)A Microsoft Products Blog with other Technology Updates.
incript_services is offline  
profile.gif home.gif sendpm.gif find.gif Reply With Quote
Old Sponsored Ads   # a.
Ads
Hosting Master
Join Date: Feb 2006
Location: HWHT
Posts: 1100
Ads is on a distinguished road



This message will go away once you are registered. Also, by registering, you will have access to all post topics, communicate privately with other members (PM), respond to polls, upload graphics, and access other special features! Registration is fast, simple and absolutely free so please Click Here to join our Web Hosting community today!
AdsPromoter is online
profile.gif sendpm.gif email.gif find.gif buddy.gif Reply With Quote
Old 08-29-2005, 09:29 PM   #2 (permalink)
Hosting Guru
Join Date: Aug 2005
Posts: 69
aexx is on a distinguished road
O No

wow i didn't know i feel so mad
aexx is offline  
profile.gif sendpm.gif find.gif Reply With Quote
Old 09-02-2005, 01:59 PM   #3 (permalink)
Hosting Guru
Join Date: Aug 2005
Posts: 66
DaDevil is on a distinguished road
lol, personally i would get a managed server but still is useful.
DaDevil is offline  
profile.gif sendpm.gif find.gif Reply With Quote
Old 09-02-2005, 06:28 PM   #4 (permalink)
Hosting Master
Join Date: Aug 2005
Location: New Delhi,India
Posts: 250
incript_services is on a distinguished road
Well you can always afford to have a managed server but i think gaining knowledge is really great feeling.Atleast you know what your technical engineer is doing.
__________________
(Red Pepper)A Microsoft Products Blog with other Technology Updates.
incript_services is offline  
profile.gif home.gif sendpm.gif find.gif Reply With Quote
Old 09-03-2005, 01:59 AM   #5 (permalink)
Hosting Guru
Join Date: Aug 2005
Posts: 66
DaDevil is on a distinguished road
yeh, and that hes not charging you 100bucks for a 2mintue job:P
DaDevil is offline  
profile.gif sendpm.gif find.gif Reply With Quote
Old Sponsored Ads   # a.
Ads
Hosting Master
Join Date: Feb 2006
Location: HWHT
Posts: 1100
Ads is on a distinguished road



This message will go away once you are registered. Also, by registering, you will have access to all post topics, communicate privately with other members (PM), respond to polls, upload graphics, and access other special features! Registration is fast, simple and absolutely free so please Click Here to join our Web Hosting community today!
AdsPromoter is online
profile.gif sendpm.gif email.gif find.gif buddy.gif Reply With Quote
Old 09-19-2005, 05:28 AM   #6 (permalink)
Hosting Master
Join Date: Aug 2005
Location: New Delhi,India
Posts: 250
incript_services is on a distinguished road
Quote:
Originally Posted by DaDevil
yeh, and that hes not charging you 100bucks for a 2mintue job:P
Well yeah DaDevil you are right !!!
__________________
(Red Pepper)A Microsoft Products Blog with other Technology Updates.
incript_services is offline  
profile.gif home.gif sendpm.gif find.gif Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:14 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.