[英]How to take database backup form WSO2 Stratoes Live Data Services Server
I have created database on the Stratoes live server and my databse URL is this. 我已经在Stratoes实时服务器上创建了数据库,而我的数据库URL就是这个。 jdbc:mysql://rss1.stratoslive.wso2.com/karshamarkuptool_karsha_opensource_lk
的jdbc:mysql://rss1.stratoslive.wso2.com/karshamarkuptool_karsha_opensource_lk
I tried Database Console> Tools> Back Up
and it asking me these credentials 我尝试了
Database Console> Tools> Back Up
,它询问我这些凭据
Target file name:~/backup.zip Source directory: jdbc:mysql://rss1.stratoslive.wso2.com/karshamarkuptool_karsha_opensource_lk
目标文件名:〜/ backup.zip源目录:jdbc:mysql://rss1.stratoslive.wso2.com/karshamarkuptool_karsha_opensource_lk
Source database name: karshamarkuptool_karsha_opensource_lk源数据库名称:karshamarkuptool_karsha_opensource_lk
Are my credentials right? 我的凭证正确吗? it says there is no database found on the source directory.
它说在源目录上找不到数据库。
If not what is the way to get a backup from Stratoes database? 如果不是,从Stratoes数据库获取备份的方法是什么? How can I configure it to get automatic weekly backup?
如何配置它以获得每周自动备份?
If you have mysql installed in your local setup, you can get a backup as just as the same way that you would take a backup of a database that resides in your local database server. 如果在本地安装程序中安装了mysql,则可以像备份本地数据库服务器中的数据库一样获得备份。 For example, the following command would get you a backup of your database that you created under the RSS manager of StratosLive Data Service Server.
例如,以下命令将为您提供在StratosLive Data Service Server的RSS管理器下创建的数据库的备份。
mysqldump -u your_username -pyour_password -h rss1.stratoslive.wso2.com extracted_host_name_from_the_JDBC_url_given_to_you database_name > local_file_system_path/backup.sql
mysqldump -u your_username -pyour_password -h rss1.stratoslive.wso2.com extract_host_name_from_the_JDBC_url_given_to_you数据库名称> local_file_system_path / backup.sql
Cheers, Prabath 干杯,干杯
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.