Quick Login   
 
Register AdminFusion Tutorials
 
Featured Sponsors


One.com Domain and Hosting


Register
Forum of the Month
Australian Webmaster
fotm

A webmaster forum specifically catering for Australian site owners. We discuss site development, marketing and management issues.

Tag Cloud
Latest Threads
Forum Stats
7,900 Members
165,094 Posts
35 Users Online

Please welcome our newest member, Jors308932!

Affiliates
Go Back AdminFusion » Getting Started » Software » alternative way to make a regular backup?
Welcome to the AdminFusion. AdminFusion is the ultimate resource for forum administrators and moderators. With exclusive articles, interviews with the experts, free downloadable skins, and the revolutionary post exchange system - PostFusion, AdminFusion is the place to go for all of your forum needs.  By joining AdminFusion, you will become part of a thriving admin community and immediately gain access to all of these resources. Registration is fast, simple and absolutely free so please join us today!
Want more than our forums? Try these: Post Fusion Forum Matrix
Old 06-08-2007, 10:07 PM   #1

Soliloquy's Avatar

Title: Member

Points: 3,107, Level: 16Points: 3,107, Level: 16Points: 3,107, Level: 16
Level up: 17%, 343 Points neededLevel up: 17%, 343 Points neededLevel up: 17%, 343 Points needed
Activity: 8%Activity: 8%Activity: 8%

Join Date: Nov 2005

Posts: 146

Soliloquy will become famous soon enough
 
 
alternative way to make a regular backup?

Can anyone recommend another method or script for backing up a very large database? I tried using Ryan's shell script tutorial, and though it worked at first, I think it times out while trying to make the backup due to the size. The site owner wants to be able to log on via the web every so often and download the latest backup; the account has shell access but she can't handle learning all that. The account does not have phpMyAdmin, and she doesn't want to use that either anyway. (FTP is pretty daunting to her as well.)

I found a PHP script that would make a regular backup and email it, but the size of the zipped database is too big for that. Does anyone know of any simple-to-use PHP scripts that will make a regular backup and store it on the server, and allow someone to log in every now and to download the latest version? And would anyone know how to solve the likely timing out problem? (If I execute the shell script manually it does create the full file, but I can't be doing that every day.)
Quote:
Originally Posted by Soliloquy View Post
I installed this script on a rather large medical forum a couple of months ago, and it seemed to be working ok at the time. I happened to check on the directory this morning and found all three zip files were only 20 bytes large, and the .sql files they contained were blank. The script has been running on time and creating zip files, just not saving any actual data. Could this be because of the size of the database? The backups I have saved to disk are around 25meg, I'm sure it would be larger now.

Any ideas?
Reply With Quote
Old 06-08-2007, 10:44 PM   #2


Title: Forum Addict

Points: 8,055, Level: 26Points: 8,055, Level: 26Points: 8,055, Level: 26
Level up: 27%, 95 Points neededLevel up: 27%, 95 Points neededLevel up: 27%, 95 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Jul 2006

Posts: 1,435

Location: Baton Rouge, LA

Get Shorty has much to be proud ofGet Shorty has much to be proud ofGet Shorty has much to be proud ofGet Shorty has much to be proud ofGet Shorty has much to be proud ofGet Shorty has much to be proud ofGet Shorty has much to be proud ofGet Shorty has much to be proud of
Send a message via AIM to Get Shorty Send a message via Yahoo to Get Shorty  
 
Reply With Quote
Old 06-08-2007, 10:58 PM   #3

Title: Apprentice

Points: 1,711, Level: 11Points: 1,711, Level: 11Points: 1,711, Level: 11
Level up: 12%, 139 Points neededLevel up: 12%, 139 Points neededLevel up: 12%, 139 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Mar 2007

Posts: 222

Location: Kingsport, TN

JonathanSA is a jewel in the roughJonathanSA is a jewel in the roughJonathanSA is a jewel in the rough
Send a message via AIM to JonathanSA  
 
Depending on the size of your SQL Backup, you may want to look into off-site backup solutions.

Off-Site backups generally use RSYNC and you will be able to incremental backups instead of having to do full backups each time around (i.e. backup only the changes instead of everything).
Reply With Quote
Old 06-08-2007, 11:07 PM   #4

Ryan's Avatar

Title: Administrator

Points: 47,649, Level: 67Points: 47,649, Level: 67Points: 47,649, Level: 67
Level up: 68%, 701 Points neededLevel up: 68%, 701 Points neededLevel up: 68%, 701 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Sep 2005

Posts: 10,246

Location: Athens, GA

Ryan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond repute
 
 
Or you can also make your own off-site backups for free by doing this
__________________
...some super-sweet signature
Reply With Quote
Old 06-09-2007, 08:04 AM   #5

Title: Apprentice

Points: 1,711, Level: 11Points: 1,711, Level: 11Points: 1,711, Level: 11
Level up: 12%, 139 Points neededLevel up: 12%, 139 Points neededLevel up: 12%, 139 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Mar 2007

Posts: 222

Location: Kingsport, TN

JonathanSA is a jewel in the roughJonathanSA is a jewel in the roughJonathanSA is a jewel in the rough
Send a message via AIM to JonathanSA  
 
Of course, Ryan, however, RYSNC is much easier to work with. You set one cron job and forget about it for the most part . Nothing to install, nothing to really configure (except a single cron job that is).

Nothing against using third party software to manage backups, however, RSYNC is much more reliable and that program will not be of much use unless it is running (i.e. hard drive crashes, PC crashes etc will prevent such).

Do correct me if I am wrong though, I am speaking from a very quick look at it .

Off-Site Backup Solution + RSYNC is one of the better options, especially if your data is mission critical. If you're only backing up a few images here and there, then you probably do not need this type of setup.
Reply With Quote
Old 06-09-2007, 10:06 AM   #6

Ryan's Avatar

Title: Administrator

Points: 47,649, Level: 67Points: 47,649, Level: 67Points: 47,649, Level: 67
Level up: 68%, 701 Points neededLevel up: 68%, 701 Points neededLevel up: 68%, 701 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Sep 2005

Posts: 10,246

Location: Athens, GA

Ryan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond repute
 
 
Mission critical, yes, it is probably better to find a paid solution, but how many forums are mission critical?

I am 110% comfortable having on-site and local PC (my PC) backups of AdminFusion, and I would imagine that most forum owners are the same way. A lot of forum owners don't even make any backups as is...on-site or off-site...So to make on-site backups and then mirror them to your own PC would be a huge step for a lot of people.
__________________
...some super-sweet signature
Reply With Quote
Old 06-10-2007, 06:55 PM   #7

Title: Apprentice

Points: 1,711, Level: 11Points: 1,711, Level: 11Points: 1,711, Level: 11
Level up: 12%, 139 Points neededLevel up: 12%, 139 Points neededLevel up: 12%, 139 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Mar 2007

Posts: 222

Location: Kingsport, TN

JonathanSA is a jewel in the roughJonathanSA is a jewel in the roughJonathanSA is a jewel in the rough
Send a message via AIM to JonathanSA  
 
I'm not saying that backups made to your computer will not or could not be used as a reliable source, however, hard drives crash and I'd feel more comfortable having my data on a RAID5 setup so that the data is replicated over multiple drives.

The chances of a single hard drive failing is much higher than 5 hard drives failing at once .

If you can afford web hosting at $10-$20 per month, then another $5 to $10 a month for secured backups should not be an issue. If you're paying $30/year for web hosting, the data probably isn't overly important in the first place.
Reply With Quote
Old 06-10-2007, 07:01 PM   #8

Soliloquy's Avatar

Title: Member

Points: 3,107, Level: 16Points: 3,107, Level: 16Points: 3,107, Level: 16
Level up: 17%, 343 Points neededLevel up: 17%, 343 Points neededLevel up: 17%, 343 Points needed
Activity: 8%Activity: 8%Activity: 8%

Join Date: Nov 2005

Posts: 146

Soliloquy will become famous soon enough
 
 
Well, after poking around more on the web looking for similar experiences, the general consensus seems to be that doing it through the shell is the way to go. The site owner agreed to learn how to do so after I told her I would write up a tutorial with the exact commands, so she could just copy and paste.
Reply With Quote
Old 06-16-2007, 01:42 PM   #9

Ryan's Avatar

Title: Administrator

Points: 47,649, Level: 67Points: 47,649, Level: 67Points: 47,649, Level: 67
Level up: 68%, 701 Points neededLevel up: 68%, 701 Points neededLevel up: 68%, 701 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Sep 2005

Posts: 10,246

Location: Athens, GA

Ryan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond reputeRyan has a reputation beyond repute
 
 
Quote:
Originally Posted by JonathanSA View Post
The chances of a single hard drive failing is much higher than 5 hard drives failing at once .
Yes, but right now I have AF being backup up on 3 separate hard drives using a combination of shell backups + syncback. The odds of 3 separate hard drives all failing at the same time are extremely rare, and stepping it up to 5 hard drives is really not going to improve reliability all that much, definitely not $5 - $10/month worth of increased reliability.

Paying for a backup solution is definitely safer and more reliable. I'm not arguing that...however, I think that for my purposes (and for many other forum owners' purposes), using a combination of shell backups + syncback is a very effective solution. It's free and it works...the little bit of added benefit I get from paying for a third party to do this for me is not worth the cost.
__________________
...some super-sweet signature
Reply With Quote
Old 06-16-2007, 09:08 PM   #10

Title: Apprentice

Points: 1,711, Level: 11Points: 1,711, Level: 11Points: 1,711, Level: 11
Level up: 12%, 139 Points neededLevel up: 12%, 139 Points neededLevel up: 12%, 139 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Mar 2007

Posts: 222

Location: Kingsport, TN

JonathanSA is a jewel in the roughJonathanSA is a jewel in the roughJonathanSA is a jewel in the rough
Send a message via AIM to JonathanSA  
 
For some, safer and more reliable is the only option, for others, it's not. If the hard drives are setup on a RAID array, then yes, you're probably better off than most.

If they are not on a RAID array, even if it's only mirroring to another drive, then the chances of failure are much greater as is erasure of data in the event the server's security is breached.

Again, it really depends on the type of community or website you're running and if you are pulling profit from it or just doing it for fun.

I've always been very picky about my data, whether it's a profitable venture or not. Data is data and since I do 99% of the programming work myself, I do not consider backups on a PC to be as reliable.

It takes far too long to upload from a PC to a Server, even with a T1 dedicated line, far much more time than I'd be willing to allow my website to be down due to me simply making backups to my PC.

As above, RAID is a much more reliable setup. This is not to say you have to utilize a third party, however, if I am already paying $100-$600/month for a server, $10.00 more isn't going to be an overkill for my budget.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

 
Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup Your Forums Daily Ryan Tutorials 213 09-14-2008 04:35 PM
[PR2] PERMANENT ROTATIONAL 75 CENT TEXT LINKS & BANNERS csquare016 Buy and Sell 0 05-19-2007 04:59 PM
Backup InvisionFree Forums Weekly. Thomas Invision Power Board 0 11-04-2006 06:13 AM
Make guest and members feel welcome and keep them coming back demojames Articles 1 10-11-2006 02:46 PM

AdminFusion

All times are GMT +1. The time now is 05:32 AM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0 © 2005-2008 AdminFusion - All Rights Reserved



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15