Quick Login   
 
Register AdminFusion Tutorials Post Fusion Forum Matrix
 
Go Back AdminFusion » Front Desk » Admin Resources » Tutorials » Backup Your Forums Daily
Comment
 
LinkBack
Old 02-25-2006, 07:50 PM  
Ryan
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
Backup Your Forums Daily

<div align="center"><b><font size="4">Introduction<br />
<br />
</font></b><div align="left"><font size="2">This tutorial will show you an easy and
Ryan is offline   Reply With Quote
  #20  
By markblair on 02-27-2006, 06:42 AM
Quote:
Originally Posted by Ryan
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?

...

Would like to get some feedback here before creating the scripts and rewriting the tutorial though.
I'd say that 7 days should be more than enough. I do have a script that runs now which backs up my forum database every morning at 5:00am. It saves the files in the root of the site (i.e. /home/username/). I usually login every few days and download them. As you said, it might be a good idea to run this along with the script I currently run.
Reply With Quote
  #21  
By dazzlindonna on 02-27-2006, 07:03 AM
Didn't work. Darn.
Reply With Quote
  #22  
By Ryan on 02-27-2006, 07:08 AM
Have you checked everything twice?

Proper backupscript.sh configuration? Proper file extension? CHMOD the backup file to 755? Backup directory exists? Cron set up to run at the correct times?

If you have done all of this and can't locate the problem, feel free to PM me with FTP and cPanel access...If you'd rather not give that out, I can understand that as well...although in this situation, with no error reports, that's really the only way I can help out.
Reply With Quote
  #23  
By dazzlindonna on 02-27-2006, 01:53 PM
Email I got from cron says:

/bin/sh: line 1: home/myusername/backupfolder/backupscript.sh: No such file or directory

I checked everything several times. Directory there and spelled right. Check. Path correct. Check. Script there and spelled right. Check. chmod is 755. check.

I'll start over today with a fresh mind and see if there's anything I missed or misunderstood.
Reply With Quote
  #24  
By Ryan on 02-27-2006, 03:02 PM
Did you rename backupscript.sh.txt to backupscript.sh?
Reply With Quote
  #25  
By dazzlindonna on 02-27-2006, 03:55 PM
Yes, I did.
Reply With Quote
  #26  
By LarryB on 02-28-2006, 01:55 AM
I notice in the message you posted there is no slash before the home. In order to access home by absolute pathes it would need /home/myusername/backupfolder/...
Reply With Quote
  #27  
By dazzlindonna on 02-28-2006, 03:00 AM
Right, and despite the fact that the error message doesn't show the / before home, the / does exist in the file before the word home.
Reply With Quote
  #28  
By LarryB on 02-28-2006, 03:07 AM
interesting. that is very strange. Wonder what user the cron is executing as. If the cron is executing as a jail'd user it won't be able to find the folder.
Reply With Quote
  #29  
By dazzlindonna on 02-28-2006, 03:11 AM
I don't know exactly what that means, but it sounds like a reasonable explanation. Ah well, back to manual backups for me.
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
Why most forums fail within first year of their existence bcmtouring Forums General 24 08-04-2009 10:52 PM
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
Chat Daily Forums Joy Forum Review 12 06-27-2007 11:38 AM
Backup InvisionFree Forums Weekly. Thomas Invision Power Board 0 11-04-2006 05:13 AM

AdminFusion

All times are GMT +1. The time now is 01:15 AM. Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Tutorial powered by GARS 2.1.9 ©2005-2006

© 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