vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Backing up and compressing the database (https://vborg.vbsupport.ru/showthread.php?t=141438)

Skavenger 03-07-2007 10:20 PM

Backing up and compressing the database
 
Hi, I'm actually using this command for backingup my database

Code:

mysqldump --opt -Q -u dbusername -p databasename > backupname.sql
But I is a little big for download, so, how can I make a gzip (is that right?)?

Is better to do the gzip after or at the same time I make the backup?

Thank you!

Skavenger 03-15-2007 10:43 PM

Bump

Marco van Herwaarden 03-16-2007 03:10 AM

There is no real best choice. I would prefer if it is done at the same time.

honestdave 03-16-2007 03:23 AM

how does that compare to cpanel backups

PhoneiX 03-16-2007 03:44 AM

tar cvzf file.tar.gz file_name => Compressses file

tar -zxpf file.tar.gz => Uncompresses tar.gz files

tar -xpf file.tar.gz => Uncompresses .tar files

gunzip file => Uncompresses .gz files

I don't now how to compress with gzip format. But you can use tar.gz instead of it.

honestdave 03-16-2007 04:55 AM

damn. just did a cpanel backup and it won't load up our our test server because of vbseo. arrgh

EDIT: got it working. wow. it restored everthing perfectly. impressive work mr. cpanel backup. (we just had to set the site up on a subdomain to get around vbseo)


All times are GMT. The time now is 11:50 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.01163 seconds
  • Memory Usage 1,711KB
  • 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)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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