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.

Boofo 04-28-2008 02:26 PM

I have never had a problem with CPanel. Direct Admin has given me nightmares, though.

Jase2 04-28-2008 03:19 PM

Personally, I wouldn't backup via cPanel. Much better and more reliable through shell access via telnet or ssh.

theOZer 04-28-2008 04:19 PM

I put together my own worksheet/walkthru where I create a testvb environment then upgrade from vB36x to vB370whatever.
PM me if you would like a copy, it's not a professional write up but it may be of help to you.
~OZ

Rev O 04-28-2008 08:38 PM

The problem is most hosts don't allow SSH or Telnet..what's an Admin to do? There must be more alternatives out there, surely?

Yogesh Sarkar 04-29-2008 02:45 PM

Quote:

Originally Posted by Boofo (Post 1501528)
I have never had a problem with CPanel. Direct Admin has given me nightmares, though.

I agree, I also take backups through Cpanel

Turbe 05-01-2008 12:10 AM

The options (Maintenance/Database Backup, Backup database to a file on the server) in the vBulletin Admin CP are not recommended? What about on XP (NTFS) where I have full access to the server, simply using the option to Save to a path relative to the root and then manually moving the file????

Thanks in advance.

Turbe 05-07-2008 12:03 AM

Quote:

Originally Posted by Turbe (Post 1504006)
The options (Maintenance/Database Backup, Backup database to a file on the server) in the vBulletin Admin CP are not recommended? What about on XP (NTFS) where I have full access to the server, simply using the option to Save to a path relative to the root and then manually moving the file????

Thanks in advance.

Bump

SEOvB 05-07-2008 12:06 AM

No using the vBulletin script is still not recommended.


All times are GMT. The time now is 06:05 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.01368 seconds
  • Memory Usage 1,748KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete