PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Help with database / image backups (http://www.photopost.com/forum/photopost-pro-how-do-i/126394-help-database-image-backups.html)

satya1234 August 2nd, 2006 11:27 PM

Help with database / image backups
 
Hi All,

Sorry if my two queries are very simple, but this topic has frustrated me a fair amt...

(1) Backing up database - I tried to take a backup of the database by clicking on "backup database" option. Prior to that, I specified a directory for backups as:

/usr/www/users/sacoins/photopost/backups

Then, based on Chuck's advice in a previous thread, I set directory permissions for above directory to 777. However, I still get this error message...

Command being used to execute dumps (specific tables are executed individually):

/usr/bin/mysqldump --opt -h db67a.pair.com -u**** -p**** ****

Results:

Warning: pp_categories.sql is 0 bytes or did not get created.

You should double-check your .sql files to be sure the backup completed successfully.

Can anyone kindly help??

(2) Backing up images - Is the only way to FTP back the "data" directory to some place periodically?

Many thanks in advance for your help!

Chuck S August 3rd, 2006 08:42 AM

1. You can not use the backup utility if your using an external mysql database. mysql needs to be on the same server to use that utility and yours is not.

2. That would depend on some external script or your sites backup features. I use a program called automysqlbackup.sh to backup my mysql databases daily weekly and monthly and then I usually backup my site through my control panel which tar zips my files and downloads it to my home computer

satya1234 August 3rd, 2006 11:37 AM

Follow-up Question...
 
Hi Chuck, many thanks for replying. I am trying to understand your 1) comment better...

I host my website at pair.com. Seems like server for my database is db67.pair.com, and photopost & scripts are located on diaf.pair.com... Are you saying this is what is causing the problem (i.e., database being on a different server)?

Since I am in a webhosting situation, I don't have flexibility of changing this... Is there any workaround or script that you / other members can suggest?? I'd really appreciate it...

Thanks again! :o

satya1234 August 4th, 2006 05:22 PM

I've solved my Backups Issue
 
My host Pair.com provides me a way to backup the database, that I was able to use... Hence didn't need to use the script provided by Photopost software...

Rgds,

Satya

Chuck S August 5th, 2006 09:41 AM

Satya yes if your mysql is on another server you can not use the script to back things up.


All times are GMT -5. The time now is 04:39 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97