Results 1 to 9 of 9
Like Tree2Likes
  • 1 Post By taha116
  • 1 Post By gomarc

Thread: Cron daily backup script

  1. #1
    taha116's Avatar
    taha116 is offline x10 Lieutenant
    Join Date
    Nov 2007
    Posts
    497

    Cron daily backup script

    Does anyone know of a simple script i could use that would use cron jobs to create daily/weekly backups of my home directory and maybe my databases.

    Anything related is welcome
    Edit:
    * Bump
    No 1 has a suggestion? I really would find 1 useful.
    Last edited by taha116; 06-27-2009 at 06:06 PM. Reason: Automerged Doublepost


    Need help with starting up your website? No problemo PM if you need help, if you want help with scripts like WordPress, SMF and so on dont be afraid to PM for that too.


  2. #2
    gomarc's Avatar
    gomarc is offline x10 Elder
    Join Date
    Oct 2007
    Location
    USA
    Posts
    513

    Re: Cron daily backup script

    Not long ago I found this application. It’s called phpMyBackupPro. Very easy to use, free, licensed under the GNU GPL.

    I just finished testing on my free account and it works really great.

    You’ll be happy to see that you can backup your databases on a regular schedule.

    Link to application: phpMyBackupPro

  3. #3
    Livewire's Avatar
    Livewire is offline Abuse Compliance Officer
    Join Date
    Jun 2005
    Location
    Behind a keyboard.
    Posts
    9,201

    Re: Cron daily backup script

    Only worry I'd have is with high-resource usage possibly being an issue.

    The alternative to backing up the home directory is some sort of locally based (read: on your pc, not x10) that FTP's to x10 every week and recursively downloads everything it finds.


    That won't cover databases, but that should be okay to do with php without triggering high-resource usage.

    I'd just be worried about zipping the entire root, particularly if you've got big files anywhere on there.
    Customer Service Team Associate

  4. #4
    taha116's Avatar
    taha116 is offline x10 Lieutenant
    Join Date
    Nov 2007
    Posts
    497

    Re: Cron daily backup script

    Well i understand what livewires talking about but i think gomarcs solution is better as i have no idea how to pull that off with ftp automaticly


    Need help with starting up your website? No problemo PM if you need help, if you want help with scripts like WordPress, SMF and so on dont be afraid to PM for that too.


  5. #5
    gomarc's Avatar
    gomarc is offline x10 Elder
    Join Date
    Oct 2007
    Location
    USA
    Posts
    513

    Re: Cron daily backup script

    Please note that the suggested application only targets your MySQL databases.

    I haven’t found a similar application for the website yet.

  6. #6
    taha116's Avatar
    taha116 is offline x10 Lieutenant
    Join Date
    Nov 2007
    Posts
    497

    Re: Cron daily backup script

    I went to thier site but i didnt realise that. So if i understand correctly it wont backup my public_html files?
    Last edited by taha116; 06-29-2009 at 10:21 AM.
    karimirt47 likes this.


    Need help with starting up your website? No problemo PM if you need help, if you want help with scripts like WordPress, SMF and so on dont be afraid to PM for that too.


  7. #7
    gomarc's Avatar
    gomarc is offline x10 Elder
    Join Date
    Oct 2007
    Location
    USA
    Posts
    513

    Re: Cron daily backup script

    You understood correctly, taha116.

    The application mentioned above will only generate backups of your MySQL databases, which is in fact a pretty big task all by itself.
    dinomirt96 likes this.

  8. #8
    leafypiggy's Avatar
    leafypiggy is offline Community Advocate
    Join Date
    Aug 2007
    Location
    Massachusetts
    Posts
    2,247

    Re: Cron daily backup script

    It's not hard to backup sql databases.

    PHPmyAdmin -> export -> save as .sql.

    Repeat for every database, should really only take a few minutes.
    Neil Hanlon | x10Hosting Support Representative
    Neil[at]x10hosting.com
    █ I'm always happy to help. Just ask a question in Free Hosting
    Terms of Service IRC

  9. #9
    taha116's Avatar
    taha116 is offline x10 Lieutenant
    Join Date
    Nov 2007
    Posts
    497

    Re: Cron daily backup script

    Well yeah, lol but autmated is usefull, when your focused on some code or modification you want to preform manually you know there is always a risk, i hate it when i have to backtrack like a week of changes and do em again


    Need help with starting up your website? No problemo PM if you need help, if you want help with scripts like WordPress, SMF and so on dont be afraid to PM for that too.


Similar Threads

  1. CRON job : script timeout ?
    By webtomata in forum Free Hosting
    Replies: 4
    Last Post: 09-12-2008, 04:23 PM
  2. Cron Tutorial (Crontab Tutorial)
    By sunils in forum Tutorials
    Replies: 3
    Last Post: 06-14-2008, 10:34 PM
  3. Access to 300+ PHP scripts (2500 credits)
    By jonathanyaniv in forum Classifieds
    Replies: 11
    Last Post: 06-03-2008, 10:58 PM
  4. Replies: 8
    Last Post: 12-03-2007, 04:12 PM
  5. Point Lottery Wins
    By SEÑOR in forum Feedback and Suggestions
    Replies: 8
    Last Post: 06-11-2006, 12:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
dedicated servers