vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Main Control Panel: Including SSH Backup & Restore Through Your AdminCP! (https://vborg.vbsupport.ru/showthread.php?t=50166)

N9ne 03-15-2003 05:15 PM

I mentioned that it might not work on a windows server. It should work on unix systems though.

AllMadden: Please post the code on and around that line.

Schorsch: What are the details of your server? What is the OS being used? Try executing this command from an SSH window on your server:

mysqldump --opt -uDBUSERNAME -pDBPASSWORD DBNAME > /path/to/backup/file.sql

Tell me if that works.

Derek 03-15-2003 05:22 PM

How can I make it so that I automatically have the folder I want my backups to go in remembered? I tried placing it in the code, but it didn't work... ideas?

N9ne 03-15-2003 05:38 PM

Quote:

Today at 07:22 PM Derek said this in Post #22
How can I make it so that I automatically have the folder I want my backups to go in remembered? I tried placing it in the code, but it didn't work... ideas?

Open maincontrol.php

Find:
PHP Code:

  makeinputcode("Full path to folder where you want to create the backup file (<b>With</b> trailing slash)","dumpfilepath",""); 

Replace with:
PHP Code:

makeinputcode("Full path to folder where you want to create the backup file (<b>With</b> trailing slash)","dumpfilepath","/path/to/backup/folder/"); 

Change the path, and it should work.

Schorsch 03-15-2003 10:48 PM

Quote:

Yesterday at 08:15 PM N9ne said this in Post #21
Schorsch: What are the details of your server? What is the OS being used? Try executing this command from an SSH window on your server:

mysqldump --opt -uDBUSERNAME -pDBPASSWORD DBNAME > /path/to/backup/file.sql

Tell me if that works.

I use SuSE Linux 8.1

the mysqldump command works without problems (used this many times before).

N9ne 03-15-2003 10:51 PM

Well I'm really no expert on SSH/telnet or servers...so I guess the problem is out of my hands, and I suppose that's a feature you won't be able to use, until I somehow figure out a way to make it work. Sorry :(.

alkatraz 03-18-2003 07:06 AM

awesome!!!!!!!!!!! I've been waiting for something like this for a long time
thx!

Areku 03-18-2003 10:21 AM

Any screenie? ;)

Schorsch 03-18-2003 10:24 AM

Quote:

Today at 01:21 PM Areku said this in Post #27
Any screenie? ;)
look in the zip file

N9ne 03-18-2003 02:32 PM

Quote:

Today at 09:06 AM alkatraz said this in Post #26
awesome!!!!!!!!!!! I've been waiting for something like this for a long time
thx!


hehe no problem :). I'm glad there's quite a bit of enthusiasm for this hack, version 1.1 may be on its way soon though, with some fixes.

romanticyao 03-19-2003 11:11 AM

great! many thanx!


All times are GMT. The time now is 05:29 AM.

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.01112 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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