Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using pmrep in Script/Batch File to Backup Repository 1

Status
Not open for further replies.

suchit

Programmer
Aug 11, 2006
17
0
0
CA

Hi,

I want to use pmrep and be able to backup and restore repositories from command-line. Can someone give nay pointers?

Also, I have repository (say) REP1 which contains different folders (say) F1, F2 and F3 (as viewed in Rep Mgr tab). Is it possible to backup F1 only in REP1 from command line using any script?

Thanks in advance!
-su
 
There is a seperate pdf document on working with commandline (PC_81_CommandLineReference.pdf, if you're working with version 8)

basically, you create a shell command file that executes the script. (you can even use Powercenter to fire a task that calls the command file)

example:
Code:
c:\PWC\pmrep\pmrep\ connect -r Prod -n Administrator -x
Adminpwd -d Mydomain -h Machine -o 8080
c:\PWC\pmrep\pmrep\ backup -o c:\backup\Prod_backup.rep

AFAIK you cannot create seperate backups for folders.
It is not possible to create backups of part of database tables

Ties Blom

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top