Welcome to Geeklog, Anonymous Monday, December 30 2024 @ 12:03 pm EST
Geeklog Forums
DB Backups..
Anonymous
Anonymous
When i try to do a backup DB i get this error:
Warning: OpenDir: No such file or directory (errno 2) in /usr2/hsphere/home/sscentra/black.sscentral.com/admin/database.php on line 73
Database back up was successful.
But it wasn't successful...
Anyone know what i need to do to fix this?
Thanks
9
7
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Hmm, that shouldn't happen ...
Please check that you even have a "backups" directory (it is in the tarball, but it is empty and sometimes isn't extracted or uploaded because of that) and that $_CONF['backup_path'] in config.php points to it.
bye, Dirk
9
10
Quote
Anonymous
Anonymous
Im using 1.3.5sr2
I got the error to go away but now it says " Database back up was successful. " but i still have "No backups in the system"
Thanks again
9
10
Quote
Status: offline
efarmboy
Forum User
Moderator
Registered: 02/26/02
Posts: 147
This is why I was asking which GL version you are using.
GL 1.3.6 has more error checking to catch these errors. In pre 1.3.6, if your path to mysqldump is incorrect, it was not reporting it. the dump was not executing and it was assumed to be sucessful.
Check the setting for: $_DB_mysqldump_path in config.php
Blaine
8
7
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Yeah, 1.3.5 has very poor error handling for backups (this has been improved in 1.3.6). Make sure your backups directory is writeable - chmod it to 775 first and try 777 if that doesn't help.
bye, Dirk
10
8
Quote
All times are EST. The time is now 12:03 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content