Quick Login   
 
Register AdminFusion Tutorials
 
Featured Sponsors


One.com Domain and Hosting


vBulletin, phpBB, & IPB Skins vBulletin Skins

Register
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,660 Members
164,255 Posts
33 Users Online

Please welcome our newest member, jaafomar!

Affiliates
Go Back AdminFusion » Front Desk » Admin Resources » Tutorials » Backup Your Forums Daily
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
<!-- google_ad_section_start -->Backup Your Forums Daily<!-- google_ad_section_end -->
Backup Your Forums Daily
Published by Ryan
02-25-2006
Page 1

Introduction

This tutorial will show you an easy and reliable way to backup your forums however often you want, whether 10 times per day or once per month. This will also maintain a copy of the 3 latest backups so that you can always skip a recent backup or two if they have been corrupted. If you do not backup your forums regularly, I strongly suggest you do so as soon as possible. Data can be lost at any moment and once it is lost, it will never come back.



What you will need:
  • Notepad, Wordpad, or other simple text editor
  • Access to cPanel and/or the ability to set up cron jobs
  • FTP or File Manager

© AdminFusion.com 2005-2006

==================

This tutorial may not be republished under any circumstances.
Tutorial Tools

Attached Files
File Type: txt backupscript.sh.txt (1.8 KB, 259 views)
<< <    Next Page: Preparing the Script (Page 1 of 4)    >  >>
 
By Ashley on 02-25-2006, 08:45 PM
Thanks!

Just set my backup script up now

Now, to wait and see it in action...
Reply With Quote
  #1  
By Adam on 02-25-2006, 08:55 PM
Added mine, been meaning to do something like this for a while. Can't wait to see it in action. Great article Ryan!
Reply With Quote
  #2  
By Ryan on 02-25-2006, 09:01 PM
Glad you like it - would love to hear how it works out for you...There are a lot of touchy and important settings, so it's easy to make a mistake somewhere. Nothing that is going to break anything, but stuff that will prevent the backups from running...

So come back and let us know when it does or does not work out
Reply With Quote
  #3  
By Adam on 02-26-2006, 03:24 AM
Where will the backup be put? And should the backup file be in the public_html or before it?
Reply With Quote
  #4  
By Ryan on 02-26-2006, 03:28 AM
The backup will be stored in the folder that you created in Step 2 ...This is also where you should have uploaded backupscript.sh and in the same location as backup_path= in your settings.

Also, it should definitely be before the public_html folder...as stated in the tutorial, having it in the public_html folder can pose a security risk.
Reply With Quote
  #5  
By Adam on 02-26-2006, 03:36 AM
Thanks, I was wondering why it wasn't working, I forgot to edit the path in the config file. Can't wait for the end of the hour to see if it works.
Reply With Quote
  #6  
By markblair on 02-26-2006, 06:07 AM
You mentioned it would store the last three backups. What happens when a forth backup is completed? Is one of the previous three automatically deleted? This might be a problem if you go on vacation and don't have access to FTP the backups off of the server and onto your local machine, like I tend to do.
Reply With Quote
  #7  
By Ryan on 02-26-2006, 06:33 AM
Right, when a fourth backup is made, the third oldest is deleted. You only have 3 backups at any given time. This does give me an idea, though. I can create more scripts which will maintain a different number of backups...ie: 5, 7, 10, 15, 20, 25, more? Realize that these will start to take up quite a bit of diskspace. The other option is to have this script running and having another script running in addition to it. The second script would provide a daily backup - for 7 days, possibly. This would mean that you would have 7 daily backups in addition to 3 recent backups.

Would like to get some feedback here before creating the scripts and rewriting the tutorial though.
Reply With Quote
  #8  
By Adam on 02-26-2006, 05:05 PM
Finnally got it too work!
Reply With Quote
Comment



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

 
Posting Rules

Similar Threads
Tutorial Tutorial Starter Category Comments Last Post
Unwritten Rules of Forums Ryan Handling Problem Members 3 08-17-2008 02:17 AM
Extremely Angry and Depressed Rocket 442 Security and Legal Issues 12 01-09-2008 10:02 PM
Backup InvisionFree Forums Weekly. Thomas Invision Power Board 0 11-04-2006 05:13 AM
May 2006 - The Nextel Forums Ryan 2006 Winners Archive 0 06-01-2006 05:00 AM

AdminFusion

All times are GMT +1. The time now is 02:02 PM. 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
Tutorial powered by GARS 2.1.9 ©2005-2006



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