简体   繁体   English

备份用户和角色WSO2 API管理器

[英]Backup users and roles WSO2 API Manager

我将wso2 api管理器v2.2.0用于api网关,目前我对备份用户和角色有问题,目前我使用的是api-import-export-2.1.0,但仅备份API,对于我的问题?

Users and roles are in the user database, therefore you need to backup your user database (or any other userstore you use). 用户和角色在用户数据库中,因此您需要备份用户数据库(或您使用的任何其他用户存储)。

By default WSO2AM comes with H2 embedded database which is not really recommended (or suited) for production deployment and you should setup your own databases on any supported DB system. 默认情况下,WSO2AM随附H2嵌入式数据库,实际上不建议(或不建议)将其用于生产部署,因此您应该在任何受支持的DB系统上设置自己的数据库。

If you still use the the embedded H2 database, by default the user database file is located at repository/database/WSO2CARBON_DB.h2.db , however I don't recommend to backup/copy the file while it is open (while wso2am is running). 如果仍然使用嵌入式H2数据库,则默认情况下,用户数据库文件位于repository / database / WSO2CARBON_DB.h2.db,但是我不建议在打开文件时(在wso2am运行时)备份/复制该文件。 )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM