db backup db backup
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

db backup

Started by tommytomato, December 20, 2003, 06:43:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tommytomato

can some one tell me a eay way to back the gallery database.

or do i have to do it the hard way.?


please any idea's


cheers TT

mery xmas every one...

Joachim Müller


tommytomato

Ok thanks.

I use a linux OS here, and i only use the CLI.
looks like i'll have to back it up like that.


thanks TT i did read the links thanks..

Joachim Müller

if you're running your own server, you can create a cron job with some simple mySQL-commands. Please refer to the mySQL-manual: http://www.mysql.com/doc/en/Backup.html

GauGau

tommytomato

thanks.

I found the way for Win, and i'm getting the hang of the Linux way now.

thanks again

EG for win is


To back up all databases

C:\mysql\bin\mysqldump.exe --host=localhost --user=username --password=password --all-databases > \path_to_backup_dir\mysql.back

to back up a single database use the command

C:\mysql\bin\mysqldump.exe --host=localhost --user=user_name --password=password dbtest>c:\path_to_backup_dir\dbtest.back

note it dont have to be .back you can name it to dbtest.sql

thanks for your help

TT  8)