Steps to backup and restore Pentaho repository

- Pentaho

Move Database repository using exportimport for Pentaho Business Analytics

1. Exporting From DB repository:

a. Open a cmd window and point the directory to the install location of your running BA server.
b. Use the import-export script with your arguments for backing up the repository.
c. Press Enter.

Windows:

import-export.bat --backup --url=http://ip:8080/pentaho --username=admin --password=password --file-path=c:/home/Downloads/backup.zip --logfile=c:/temp/logfile.log

Linux:

./import-export.sh --backup --url=http://ip:8080/pentaho --username=admin --password=password --file-path=/home/Downloads/backup.zip --logfile=/temp/logfile.log

2. Importing to DB Repository

a. Open a terminal window and change the directory to the install location of your running BA server.
b. Use the import-export script with your arguments for restoring the repository.
c. Press Enter.

Windows:

import-export.bat --restore --url=http://ip:8080/pentaho --username=admin --password=password --file-path=c:/home/Downloads/backup.zip --overwrite=true --logfile=c:/temp/logfile.log

Linux:

./import-export.sh --restore --url=http://192.168.0.140:8080/pentaho --username=admin --password=password --file-path=/home/Downloads/backup.zip --overwrite=true --logfile=/temp/logfile.log

Move Database repository using exportimport for Pentaho data integration

1. Exporting from DB Repository

a. Open a cmd window and point the directory to the install location of your running DI server.
b. Use the import-export script with your arguments for backing up the repository.
c. Press Enter.

Windows:

import-export.bat --backup --url=http://ip:port/pentaho-di --username=admin --password=password --file-path=c:/home/Downloads/backup.zip --logfile=c:/temp/logfile.log

Linux:

./import-export.sh --backup --url=http://ip:port/pentaho-di --username=admin --password=password --file-path=/home/Downloads/backup.zip --logfile=/temp/logfile.log

2. Importing to DB Repository

a. Open a terminal window and change the directory to the install location of your running DI server.
b. Use the import-export script with your arguments for restoring the repository.
c. Press Enter.

Windows:

import-export.bat --restore --url=http://ip:port/pentaho-di --username=admin --password=password --file-path=c:/home/Downloads/backup.zip --overwrite=true --logfile=c:/temp/logfile.log

Linux:

./import-export.sh --restore --url=http://ip:port/pentaho-di --username=admin --password=password --file-path=/home/Downloads/backup.zip --overwrite=true --logfile=/temp/logfile.log

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>