Activity Stream
48,167 MEMBERS
6763 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 9 of 9
  1.     
    #1
    Member

    Default Backup cron jobs

    I need help setting up a cron job to backup the db at 00:00 and 12:00 everyday and e-mails it to me. Just like how you back it up through the Maintenance tab in the AdminCP
    FancyPants Reviewed by FancyPants on . Backup cron jobs I need help setting up a cron job to backup the db at 00:00 and 12:00 everyday and e-mails it to me. Just like how you back it up through the Maintenance tab in the AdminCP Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    wuploadlinks.net fileserve-movies.net fsdown.org
    There is one mod that backs up once every 24 hours...

    You can take a look at it and modify it at your desires...

    Please click the image above!

  4.     
    #3
    Member
    Website's:
    getandshare.org thekhabari.com a3legacy.getandshare.org babestube.net mp3lookout.com stumblenow.com
    I can write a sh script if you want,
    to automatically backup the database,
    Compress it
    than remote upload it to any ftp of your choice.. @ $5.

    Ofcourse, you shall have ssh access to the server for that...

  5.     
    #4
    Member
    Website's:
    solidservers.ca
    Try something along these lines:

    http://www.theblog.ca/mysql-email-backup

    This can be done without ssh access, all you need to do is set your cron job up to call it at whatever time you want.

  6.     
    #5
    Member
    Code: 
    crontab -e
    will open the crontab file.


    syntax of it

    * * * * * this is my command
    - - - - -
    | | | | |
    | | | | ----- Day of week (0 - 7) (Sunday=0 or 7)
    | | | ------- Month (1 - 12)
    | | --------- Day of month (1 - 31)
    | ----------- Hour (0 - 23)
    ------------- Minute (0 - 59)

    and alternatively you can use

    @daily /path/to/backup/foo.sh

    which will call the scrript foo.sh daily ( donn't forget to give the script executable permissions )
    Coding Horror Fan
    I don't read PM's frequently .

  7.     
    #6
    Member
    I will try it out ss-chris, thanks

  8.     
    #7
    Member
    Website's:
    wuploadlinks.net fileserve-movies.net fsdown.org
    Here is the mod i was talking about...

    http://www.lithiumstudios.org/forum/...php?f=31&t=794

    Please click the image above!

  9.     
    #8
    Member
    Gempis: It doesn't e-mail it to me

  10.     
    #9
    Member
    Website's:
    wuploadlinks.net fileserve-movies.net fsdown.org
    Oh, didn't see you wanted that...

    Sorry

    Please click the image above!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to Set Cron jobs for ABK software?
    By Areon in forum Server Management
    Replies: 0
    Last Post: 20th Mar 2014, 01:19 PM
  2. Cron jobs
    By Areon in forum Server Management
    Replies: 0
    Last Post: 20th Mar 2014, 01:15 PM
  3. Cron Jobs
    By Dviper27 in forum Server Management
    Replies: 4
    Last Post: 30th Sep 2012, 07:39 PM
  4. Cron Jobs - How to configure??
    By Ashleyuk1984 in forum Technical Help Desk Support
    Replies: 4
    Last Post: 3rd Jul 2011, 10:21 AM
  5. cron jobs
    By GeeZus in forum vBulletin
    Replies: 7
    Last Post: 4th Oct 2009, 07:31 PM

Tags for this Thread

BE SOCIAL