Announcement

Collapse
No announcement yet.

DataBase Schedule BackUp

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DataBase Schedule BackUp

    I want to make a Daily BackUp of my forum DataBase
    I Add a new Schedule Entry

    I found vb_backup.sh, I put under folder /forum/utilities
    Full Path /forum/utilities/vb_backup.sh

    When i run from schedule task with ./utilities/vb_backup.sh backup i take the message :

    Warning: main([path]/./utilities/vb_backup.sh backup) [function.main]: failed to open stream: No such file or directory in [path]/admincp/cronadmin.php on line 113

    Warning: main() [function.include]: Failed opening '[path]/./utilities/vb_backup.sh backup' for inclusion (include_path='.:/usr/lib/php') in [path]/admincp/cronadmin.php on line 113


    Any idea ?

    Thanks In Advance
    Giorgos
    http://www.sorento-ultimateclub.com/...x60/468x60.gif

  • #2
    I cron mine....

    mysqldump --opt -Q -u xxxxx_xxxxxx --password=xxxxxxxxxx xxxxxxxx_forums > /home/xxxxxxxx/backup/fri.sql

    first xxxx=db userername, second xxxxx= DB Password, third xxxx=DB name, forth xxxxxx= home directory..........then where in root is the file going , then the file name.


    Works a treat.

    See HERE
    ttttt

    Comment


    • #3
      i think the problem are the path i put to Filename but i don't know what to do !!!!

      any help on path ???
      http://www.sorento-ultimateclub.com/...x60/468x60.gif

      Comment


      • #4
        after i check the path with other scheduled jobs is ok

        ./utilities/vb_backup.sh backup

        CHMOD 755

        but still take the messages

        Warning: main([path]/./utilities/vb_backup.sh backup) [function.main]: failed to open stream: No such file or directory in [path]/admincp/cronadmin.php on line 113

        Warning: main() [function.include]: Failed opening '[path]/./utilities/vb_backup.sh backup' for inclusion (include_path='.:/usr/lib/php') in [path]/admincp/cronadmin.php on line 113
        http://www.sorento-ultimateclub.com/...x60/468x60.gif

        Comment


        • #5
          anyone to help ????

          http://www.sorento-ultimateclub.com/...x60/468x60.gif

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X