FusionBB
FusionBB Review (large)
Recent Members
Welcome them to our community!
FusionBB SWAG!

FusionBB golf shirts, t-shirts, mousepads and more.

Recent Topics
Tagging
FusionBBDev Recent Topics
FusionBB hosting
provided by VertexHost.com
Username Post: neat backup script I found is        (Topic#5864)
White and Nerdy
FusionBB Fanatic
Total Posts: 1677
*
Birthday: 09-21 
Location: Fort Wayne
Average Post Ranks%:                       
06-28-07 03:16 PM - Post#46473    



This is kinda neat.

http://www.kyusl.com/scr.php?mod=01

I don't know how well it works on webhosts that run under centOS/Fedora though? regarding mail I mean, but still, would be cool to have backups of your site sent thru email everyday

whats neat about it, it sends just changed files, not the whole thing everyday.

although I wish the script could be modified to backup just the user accounts on the server, and not the rest of the stuff.
www.tcoburn.com an archive of my ramblings for those who miss reading them. hehe!
My Facebook Profile


 
greg
FusionBB Fanatic
Total Posts: 4956
*
Location: Tombstone, AZ
Average Post Ranks%:                       
 
06-30-07 04:02 PM - Post#46526    


    In response to White and Nerdy

Personally, I don't think I'd like this thing running after reading the notes. Sounds more like it's only good if you're on a dedicated box, then it may be something to look into.

  • Quote:
TES:

1. The script creates files in the /tmp directory, which is readable (and writeable) by anyone who can access the server. You should use it only if you are "alone" on the server, which is the case if you have a VPS hosting account and you in turn don't host anyone else. If your server is shared, you have to take care and use another directory, which is completely "private".

2. The script assumes that running any MySQL client commands won't require typing user name and password. Normally this can be done by using MySQL configuration files, or running the script as root. Check MySQL documentation.

3. Files backup is incremental, but MySQL is not. You can do an incremental dump and backup if each table in your database will have a column to save the modification date. You can find examples of doing that on the Internet.

4. Obviously, you can do such backups only if the MySQL database has a reasonable size (when dumped and compressed) and incremental file backups are not heavy as well.





The Gunfighters Corral

Tombstone Pictures


 
White and Nerdy
FusionBB Fanatic
Total Posts: 1677
*
Birthday: 09-21 
Location: Fort Wayne
Average Post Ranks%:                       
07-04-07 10:38 PM - Post#46687    


    In response to greg

well, I have a VPS hosting account, so I thought it was neat. Besides, I would think the tmp directory could be modified to work with a shared hosting account. I would think it would work ok with large databases too, except large databases may be limited on email disk space. like if u sent it to gmail for instance it might be ok.

I am just guessing though, I really have no idea, just thought the concept was neat, something neat to play with.
www.tcoburn.com an archive of my ramblings for those who miss reading them. hehe!
My Facebook Profile


 
greg
FusionBB Fanatic
Total Posts: 4956
*
Location: Tombstone, AZ
Average Post Ranks%:                       
 
07-05-07 05:54 AM - Post#46702    


    In response to White and Nerdy

In your case it might be worthwhile playing around with. For me, it probably wouldn't be a good idea, since I share a server with others. Plus, Vertex seems to do an excellent job of backing up and I do periodic back ups as needed.


The Gunfighters Corral

Tombstone Pictures


 
JoshPet
FusionBB Developer
Total Posts: 6722
*
Birthday: 02-08 
Location: Charlotte, NC
Average Post Ranks%:                       
 
07-07-07 01:23 PM - Post#46745    


    In response to greg

Yeah, anybody and anything can get to the /tmp directory - that's usually where all the spam scripts get uploaded to on servers. Also the email limitation could be problematic for a normal sized site. Some ISPs will limit the size of email attachments allowed.



Feel Better, Feel Younger, Sleep Better - Trans-D Tropin
Visit www.BuyTransD.com - use coupon code 1004 to save $20


 
White and Nerdy
FusionBB Fanatic
Total Posts: 1677
*
Birthday: 09-21 
Location: Fort Wayne
Average Post Ranks%:                       
07-11-07 01:22 PM - Post#46894    


    In response to JoshPet

yeah, but its nice to have automated user account backups, in case the worst should happen. I'm not just talking about file rollbacks, talking about mysql rollbacks as well.

Seems like whenever something goes wrong, I never seem to have an updated backup lying around, hehe..

sure, the hosting provider could do it for me, but whats the fun in that? hehe
www.tcoburn.com an archive of my ramblings for those who miss reading them. hehe!
My Facebook Profile


 
JoshPet
FusionBB Developer
Total Posts: 6722
*
Birthday: 02-08 
Location: Charlotte, NC
Average Post Ranks%:                       
 
07-11-07 08:56 PM - Post#46917    


    In response to White and Nerdy

The hosting provider should do it for you.



Feel Better, Feel Younger, Sleep Better - Trans-D Tropin
Visit www.BuyTransD.com - use coupon code 1004 to save $20


 
greg
FusionBB Fanatic
Total Posts: 4956
*
Location: Tombstone, AZ
Average Post Ranks%:                       
 
07-11-07 10:40 PM - Post#46930    


    In response to JoshPet

  • JoshPet Said:
The hosting provider should do it for you.



I agree, for the nightly/weekly/monthly stuff. But, when modifying things, then you need to do the backup of your critical files so you can restore if there is an oopsie. Not that any of us have ever had one of those...


The Gunfighters Corral

Tombstone Pictures


 
JoshPet
FusionBB Developer
Total Posts: 6722
*
Birthday: 02-08 
Location: Charlotte, NC
Average Post Ranks%:                       
 
07-11-07 11:26 PM - Post#46933    


    In response to greg

Well and the host should retain their own backups - because you could have a server situation - bad drive etc... where you've got to reload stuff, and if the host isn't keeping a backup then you'll end up with empty webspace and have to restore everything yourself.

Stuff happens, hard drives die, gosh a server could go poof, but a good host would be able to replace the hardware or restore the site on a different box and minimize the downtime. If you're the only one in possession of your backups that could happen.

That said, you should also download your own backups periodically - no matter how good your hosts backup procedures are. Even vertex As things do happen, you having your own copy of your backup from time to time, is just one more layer of protection against data loss.



Feel Better, Feel Younger, Sleep Better - Trans-D Tropin
Visit www.BuyTransD.com - use coupon code 1004 to save $20


 
White and Nerdy
FusionBB Fanatic
Total Posts: 1677
*
Birthday: 09-21 
Location: Fort Wayne
Average Post Ranks%:                       
07-12-07 10:10 AM - Post#46945    


    In response to JoshPet

yeah thats true. Mine comes with a backup account that I can download backups from, its a softlayer account. WHM is set to send nightly/weekly/monthly backups to that account, which I can download at my leasure. They also do server wide backups, but the hosting provider has access to those, they just allow me softlayer space, so that I always have a place to download a backup. The host could do all that for me if I paid for that type of account, I just chose not to, because I signed up for an unmanaged account, so I could learn how to setup accounts myself. What I have isn't much different then a dedicated server, its just cheaper for me, hehe.

but I know what you mean, there are still times where I forget to download a nightly backup for several days, or even weeks, but its never been a problem so far, knock on wood, except for when I upgrade Fusion, then I always forget what mod's I installed and have to go back in my backups just to have a "look see" at what mods from the dev site I did. haha

I agree the script how it is, is not useful to me at all, but parts of it might be useful, like archiving files into a tar.gz file, cuz sometimes I don't like to download a 50mb file all the time with "everything" in it, sometimes u just want the "public_html" directory, mysql, and thats it, so I thought that part of the script was kinda useful to know how to script. I also thought sending an email thru a script was kinda neat, I didn't know u could do that, and on one line no less. I used the code from that, to have them send me an email whenever someone tries to login as root, unlikely to happen with changing the SSH port number, but still could happen.
www.tcoburn.com an archive of my ramblings for those who miss reading them. hehe!
My Facebook Profile


 
Icon Legend Permissions & Sharing Options Topic Options
Print Topic


3029 Views
Calendar
SMTWTFS
 1234
567891011
12131415161718
19202122232425
262728293031 
Current Quote
"I am liking what I see very much. Things are easy to use and figure out."
~ MissDaisy
FusionBB™ Version 3.2 | ©2003-2013 InteractivePHP, Inc.
Execution time: 0.147 seconds.   Total Queries: 196   Zlib Compression is on.
All times are (GMT-4). Current time is 10:01 AM
Top