Quick Login   
 
Register AdminFusion Tutorials Post Fusion Forum Matrix
 
Go Back AdminFusion » Software & Tech » Software » alternative way to make a regular backup?
Reply
 
LinkBack
Old 06-08-2007, 09:07 PM   #1
Apprentice
 
Soliloquy's Avatar
 
Join Date: Nov 2005
Posts: 157
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?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Soliloquy is offline   Reply With Quote
Old 06-08-2007, 09:44 PM   #2
Forum Addict

 
Join Date: Jul 2006
Location: Baton Rouge, LA
Posts: 1,435
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
I use this and haven't had any problems with it.

http://www.adminfusion.com/forums/t2127/
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Get Shorty is offline   Reply With Quote
Old 06-08-2007, 09:58 PM   #3
Apprentice
 
Join Date: Mar 2007
Location: Kingsport, TN
Posts: 222
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).
__________________
»
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

»
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

»
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
JonathanSA is offline   Reply With Quote
Old 06-08-2007, 10:07 PM   #4
Forum Guru
 
Ryan's Avatar
 
Join Date: Sep 2005
Location: Athens, GA
Posts: 10,256
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
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Professional vBulletin Skins
Ryan is offline   Reply With Quote
Old 06-09-2007, 07:04 AM   #5
Apprentice
 
Join Date: Mar 2007
Location: Kingsport, TN
Posts: 222
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.
__________________
»
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

»
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

»
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
JonathanSA is offline   Reply With Quote
Old 06-09-2007, 09:06 AM   #6
Forum Guru
 
Ryan's Avatar
 
Join Date: Sep 2005
Location: Athens, GA
Posts: 10,256
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.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Professional vBulletin Skins
Ryan is offline   Reply With Quote
Old 06-10-2007, 05:55 PM   #7
Apprentice
 
Join Date: Mar 2007
Location: Kingsport, TN
Posts: 222
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.
__________________
»
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

»
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

»
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
JonathanSA is offline   Reply With Quote
Old 06-10-2007, 06:01 PM   #8
Apprentice
 
Soliloquy's Avatar
 
Join Date: Nov 2005
Posts: 157
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.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Soliloquy is offline   Reply With Quote
Old 06-16-2007, 12:42 PM   #9
Forum Guru
 
Ryan's Avatar
 
Join Date: Sep 2005
Location: Athens, GA
Posts: 10,256
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.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Professional vBulletin Skins
Ryan is offline   Reply With Quote
Old 06-16-2007, 08:08 PM   #10
Apprentice
 
Join Date: Mar 2007
Location: Kingsport, TN
Posts: 222
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.
__________________
»
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

»
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

»
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
JonathanSA is offline   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 03:35 PM
Backup InvisionFree Forums Weekly. Thomas Invision Power Board 0 11-04-2006 05:13 AM
Make guest and members feel welcome and keep them coming back demojames Articles 1 10-11-2006 01:46 PM

AdminFusion

All times are GMT +1. The time now is 08:51 AM. Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

© 2009 AdminFusion | Advertising Opportunities | Legal | A member of the Crowdgather Forum Community
 
From:
Title:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77