vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Pruning & post count (https://vborg.vbsupport.ru/showthread.php?t=115678)

kofoid 05-15-2006 05:52 PM

Pruning & post count
 
Is there a hack or a way to prune posts and maintain your current post count?

peterska2 05-15-2006 05:55 PM

Not that I am aware of.

A good way of dealing with these is to simply move them into a hidden forum. This doesn't affect postcounts, they look deleted, and they are still in the database in case you later change your mind.

kofoid 05-15-2006 06:01 PM

That is an excellent idea!! However my problem is that whenever I try to backup my databse, it ALWAYS times out on the "post" table. grrr

peterska2 05-15-2006 06:02 PM

How are you backing up? Via the ACP? Try phpmyadmin instead.

kofoid 05-15-2006 06:12 PM

Yeah I was doing it via the admin CP - I installed that nifty auto-backup hack and it fails almost every night due to sql timeouts. I will see if I can figure out the phpmyadmin way instead. Thanks!

peterska2 05-15-2006 06:14 PM

generally it's click on the database name, export, select all, save

kofoid 05-15-2006 06:17 PM

Thanks Peter! Where does the file go?

peterska2 05-15-2006 06:19 PM

it should download and land somewhere on your PC depending on where you have your downloads set to be recieved.

if the database is rather big, try doing it as a sql.gz file as that compresses it as it goes along.

kofoid 05-15-2006 06:29 PM

Worked like a charm! Thank you!

peterska2 05-15-2006 06:30 PM

no prob. happy to help. :)


All times are GMT. The time now is 01:14 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.01038 seconds
  • Memory Usage 1,715KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete