备份Pentaho [英] Taking a backup of Pentaho
问题描述
如何备份Pentaho BA服务器相关文件?备份所需的数据库是什么? 下面提供了答案.
How to take a backup of Pentaho BA server related files? What are the necessary DBs needed to take a backup of? Answer is provided below.
推荐答案
下面将介绍必要的步骤.
1)以对操作系统相关文件具有必要权限的用户身份登录到Pentaho安装的服务器.
2)停止BA服务器.
3)对quartz,hibernate和jackrabbit数据库进行完整的数据库备份.如果您使用的是Postgresql,请使用postgresql bin文件夹中的命令行工具pg_dump
.您将需要作为每个数据库的主要数据库用户进行身份验证(对于Jackrabbit,jcr_user
;对于休眠,hibuser
;对于石英,pentaho_user
).例如(从命令行)–对于jackrabbit数据库:
The necessary steps are mentioned below.
1) Login to the Pentaho installed server with a user who has necessary permission to OS related files.
2) Stop BA server.
3) Take a complete database backup of the quartz, hibernate, and jackrabbit databases. If you’re using Postgresql, use the command‐line tool pg_dump
in the postgresql bin folder. You will need to authenticate as the main database user for each database (jcr_user
for jackrabbit, hibuser
for hibernate, and pentaho_user
for quartz). For example (from the command‐line) – for the jackrabbit database:
C:\Program Files\pentaho\postgresql\bin\pg_dump –U jcr_user jackrabbit > %TEMP%\jackrabbit.dmp
(Windows)
或
postgresql/bin/pg_dump –U jcr_user jackrabbit > /tmp/jackrabbit.dmp (*nix)
4)备份完整的双服务器目录
"C:\Program Files\pentaho\postgresql\bin\pg_dump" –U jcr_user jackrabbit > %TEMP%\jackrabbit.dmp
(Windows)
Or
postgresql/bin/pg_dump –U jcr_user jackrabbit > /tmp/jackrabbit.dmp (*nix)
4) Take a backup of full bi-server directory
NB :您也可以使用import-export实用程序仅备份内容
NB : You can also use the import-export utility to backup content only
按照下面的链接,使用import-export实用程序从BA存储库中上传和下载.下载内容进行备份.
Follow the link below to Upload and Download from the BA Repository, Using the import-export utility Download the content to backup.
这篇关于备份Pentaho的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!