[opencms-dev] How to backup/restore?

ark-d at betasystems.com ark-d at betasystems.com
Mon Jun 6 12:16:05 CEST 2005





Hi Anatol,

you can dump and restore your mysql db:

Dump:

mysqldump -u<username> -p<password> <database name> > <output file>

Restore:

mysql -u<username> -p<password> <database name> < <input file>

or use the mysql Administartor to do it for you (with scheduler
functionality)

and also backup the whole opencms webapp context.

That works fine for us.


HTH,

Best Regards,
Arash Kaffamanesh




                                                                           
             Anatol                                                        
             <opencms at recordca                                             
             ster.de>                                                   To 
             Sent by:                  opencms-dev at opencms.org             
             opencms-dev-bounc                                          cc 
             es at opencms.org                                                
                                                                   Subject 
                                       [opencms-dev] How to                
             05.06.2005 23:40          backup/restore?                     
                                                                           
                                                                           
             Please respond to                                             
             opencms-dev at openc                                             
                  ms.org                                                   
                                                                           
                                                                           




Hi all!

How can I backup and restore my opencms? My intention is, saving all the
data like user, groups, modules, content, etc. independent from the
opencms system. So if I 've done a wrong click and destroyed the whole
opencms-system (or parts of it), I can kill the database and all the
tables and setup an new born system. After that I copied the saved files
into the new system and have the last version of my system again. Is
that possible, and how?

I assume, I've to save WEB-INF folder and the mysql-files. I just tried
to copy the 3 mysql files (MYD, MYI, frm) of a table, but this way seems
not to work.

Any idea?

Greetings
Anatol





_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list