vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   How to properly backup? (https://vborg.vbsupport.ru/showthread.php?t=177347)

janneke 04-27-2008 08:55 PM

How to properly backup?
 
Don't laugh at me cause I am a real Noob when it comes to that sorta things. I would like to know where I can fully back my site up (no zipfile please) and store the file on my computer(a special thingy I have for backups)

Can anybody please explain me step by step for a full backup? Incl templates and all.

Jase2 04-27-2008 10:13 PM

Backing up via a command line is more reliable than using something like PHPMyAdmin. :)

If you have SSH or Telnet access, then I would recommend backing up via a command line. If not, you may have PHPMyAdmin, if that's the case -- take a look here. However, this is only recommend with small databases, as time outs can occur.

You may also be interested in taking a look at this hack, which does an automatic (cron) backup of your database :)

SEOvB 04-27-2008 10:17 PM

Templates are included in the database backup.

The only reliable method of backing up your data is to use SSH a free SSH client would be Putty

After that login to your server via SSH with your account information, and enter commands like

tar -cvvf backup.tar /home/account/public_html/*

and

mysqldump -u USERNAME -p database_name > /home/account/database_backup.sql

Then download the backup.tar and database_backup.sql files to your computer.

Dismounted 04-28-2008 05:43 AM

The only reliable method of backing up and restoring a database is with shell access via telnet or ssh. This is because backing up with a PHP script like that in the Admin CP or phpMyAdmin can result in PHP timeouts errors and an incomplete backup file. Please see the instructions here:

Backup:
http://www.vbulletin.com/docs/html/m...nce_ssh_backup

Restore:
http://www.vbulletin.com/docs/html/m...ce_ssh_restore

P.S. If you don't have shell access, some people have also reported success with these scripts:

MySQLDumper:
http://www.mysqldumper.de/en/index.php

MySQLHotxcopy:
http://www.vbulletin.com/forum/showt...t=mysqlhotcopy

Bigdump:
http://www.ozerov.de/bigdump.php

Shriz 04-28-2008 07:16 AM

If you have cPanel for your control panel go to backup and then after 5 minutes go into backup again download the backup file it backs up all your mySQL Databases all your ROOT Dictories everything! :)

SEOvB 04-28-2008 08:14 AM

Quote:

Originally Posted by Shriz (Post 1501274)
If you have cPanel for your control panel go to backup and then after 5 minutes go into backup again download the backup file it backs up all your mySQL Databases all your ROOT Dictories everything! :)

I seriously wouldn't rely on that

Boofo 04-28-2008 08:55 AM

Why? CPanel is excellent for things like that.

Dismounted 04-28-2008 11:03 AM

Ask TECK :rolleyes:.

Boofo 04-28-2008 01:29 PM

What am I missing here? ;)

Lynne 04-28-2008 02:18 PM

Quote:

Originally Posted by Boofo (Post 1501460)
What am I missing here? ;)

I've seen some posts where people have said that cPanel can create corrupted backups.


All times are GMT. The time now is 10:27 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01015 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete