Announcement

Collapse
No announcement yet.

Data back-up via CP

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

  • Data back-up via CP

    This is the error I get:


    Warning: fopen("./forumbackup-09-19-2001.sql","w") - Permission denied in /home/ironmag/public_html/forums/admin/backup.php on line 245

    Warning: Supplied argument is not a valid File-Handle resource in /home/ironmag/public_html/forums/admin/backup.php on line 248

    Dumping access

    Warning: Supplied argument is not a valid File-Handle resource in /home/ironmag/public_html/forums/admin/backup.php on line 248

    Dumping adminlog

    etc....
    http://www.ironmagazine.com - blog
    http://www.ironmagazineforums.com - forums
    http://www.ironmaglabs.com - supplements

  • #2
    Create a new directory in your admin folder. and name it something no one could guess! (or use .htaccess to protect it)

    Now, CHMOD that folder 0777 (all permissions).

    Now set the dump file path to "./NEWFOLDER/forumbackup-09-19-2001.sql".
    Chen Avinadav
    Better to remain silent and be thought a fool than to speak out and remove all doubt.

    גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

    Comment


    • #3
      Okay, I did that and it worked.

      A few more questions:

      Is that all I need to back-up? Can I recreate my entire site with the database back-up? Or do I need to also back-up the VB php files?

      And what would I do with this back-up file if I needed to restore the site? Is there a utility to rebuild the database using that file?


      Thanks!
      http://www.ironmagazine.com - blog
      http://www.ironmagazineforums.com - forums
      http://www.ironmaglabs.com - supplements

      Comment


      • #4
        Basically backing up using vBulletin's contol panel isn't very good.
        You might have troubles with attachments and custom avatars when trying to restore the database.

        If you have Telnet access, the best thing is to use mysqldump.

        And about the files.
        You only need them if you have any hacks installed, or if you changed anything in the files. Otherwise, you can always extract them again from the zip file.
        Chen Avinadav
        Better to remain silent and be thought a fool than to speak out and remove all doubt.

        גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

        Comment


        • #5
          Isn't that what the back-up does in the CP?

          Here is what it reads:

          From here, you can back up your vBulletin database.

          SQL Dump of data:
          http://www.ironmagazine.com - blog
          http://www.ironmagazineforums.com - forums
          http://www.ironmaglabs.com - supplements

          Comment


          • #6
            Yes, but like I said, I know that for me and some others I know this creates problems when restoring the database. (because of attachments and custom avatars)
            Chen Avinadav
            Better to remain silent and be thought a fool than to speak out and remove all doubt.

            גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

            Comment

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