Author Topic: DB backup size  (Read 3404 times)

0 Members and 1 Guest are viewing this topic.

Offline djavet

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
DB backup size
« on: January 06, 2003, 09:40:42 PM »
Hello,

I've a problem with my DB [http://www.john-howe.com].
My actual size is:

Quote
Database:
Total: 724.1 KB / 4images: 641.2 KB


And when i make a DB backup, the size is:

Quote

backup200301062127.sql  06.01.2003 21:27 1.2 MB


... a previous backup (wich is similar as above, just without a few error in text!) give this:
Quote
backup200301061703.sql 06.01.2003 17:03 374.8 KB



And then when I try to restore my DB, I receive this error:

Quote

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2519829 bytes) in /home/virtual/site84/fst/var/www/html/portfolio/gallery/includes/db_utils.php on line 30



My PHPMyAdmin give me that size:
Quote
4images_categories   Afficher  Sélectionner  Insérer  Propriétés  Supprimer  Vider  36     6,4 Ko  
4images_comments   Afficher  Sélectionner  Insérer  Propriétés  Supprimer  Vider  0     1,0 Ko  
4images_groupaccess   Afficher  Sélectionner  Insérer  Propriétés  Supprimer  Vider  0     1,0 Ko  
4images_groupmatch   Afficher  Sélectionner  Insérer  Propriétés  Supprimer  Vider  2     3,0 Ko  
4images_groups   Afficher  Sélectionner  Insérer  Propriétés  Supprimer  Vider  2     2,0 Ko  
4images_images   Afficher  Sélectionner  Insérer  Propriétés  Supprimer  Vider  297     114,2 Ko  
4images_images_temp   Afficher  Sélectionner  Insérer  Propriétés  Supprimer  Vider  0     1,0 Ko  
4images_lightboxes   Afficher  Sélectionner  Insérer  Propriétés  Supprimer  Vider  2     3,1 Ko  
4images_postcards   Afficher  Sélectionner  Insérer  Propriétés  Supprimer  Vider  5     2,9 Ko  
4images_sessions   Afficher  Sélectionner  Insérer  Propriétés  Supprimer  Vider  10     219,5 Ko  
4images_sessionvars   Afficher  Sélectionner  Insérer  Propriétés  Supprimer  Vider  6     2,7 Ko  
4images_settings   Afficher  Sélectionner  Insérer  Propriétés  Supprimer  Vider  60     4,7 Ko  
4images_users   Afficher  Sélectionner  Insérer  Propriétés  Supprimer  Vider  3     5,4 Ko  
4images_wordlist   Afficher  Sélectionner  Insérer  Propriétés  Supprimer  Vider  2 750     115,6 Ko  
4images_wordmatch   Afficher  Sélectionner  Insérer  Propriétés  Supprimer  Vider  7 134     158,7 Ko



Is that correct for the size of my DB, and what is the error message?

Many thanks for your help.
Regards, Dominique

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
DB backup size
« Reply #1 on: January 07, 2003, 09:51:28 AM »
You cannot compare the databse size and the size of the textfile-dump with the exported data.

The error message means, that the texfile is to bog and cannot be handled because ther is not enough server memory size.

If you have phpMyAdmin installed, it's better to use it for backuping/retsoring you database. The backup-function of 4images does exactly the same but is not such as stable as phpMyAdmin.

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline djavet

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
DB backup size
« Reply #2 on: January 07, 2003, 10:18:04 AM »
I see.... ok thanks you!
I thinked that  4images use a external file to save the indexed words.
So it will fall me into a trouble ;o)

Regards, Dom