cancel
Showing results for 
Search instead for 
Did you mean: 

Automate Archive process

Former Member
0 Kudos

Hello Experts:

We are now in production system and I need to bakcup our data every week. I have been doing this manually through by Archiving production repository every week.

Do you know if there is a way to automate this process?

Thank you very much for your help,

Claudia Hardeman

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I have already submitted a white paper for this.

you can do the following things -

1)Create a .bat file with command as -

cd D:\Progra~1\SAP MDM 5.5\CLIX (Your CLIX folder)

😧

CLIX cpyArchive <MDM Server Name>:<MDM Server Password> <Repository Name>:<Database Server Name>:s:<Repository User>:<Repository User Password> -F u2013D

2) Schedule a Windows Task Schedule to execute this batch file as required.

Reply back if any issue.

Regards.

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Claudia,

The command above will work, but I prefer to know what archives I have and not have to copy them away each day. so add the following to your command

FOR /F "TOKENS=1* DELIMS= " %%A IN ('DATE/T') DO SET CDATE=%%B

FOR /F "TOKENS=1,2 eol=/ DELIMS=/ " %%A IN ('DATE/T') DO SET mm=%%B

FOR /F "TOKENS=1,2 DELIMS=/ eol=/" %%A IN ('echo %CDATE%') DO SET dd=%%B

FOR /F "TOKENS=2,3 DELIMS=/ " %%A IN ('echo %CDATE%') DO SET yyyy=%%B

SET thedate=%yyyy% %mm%%dd%

CLIX cpyArchive <Servername>:<Password> <Repository>:<DatabaseServerName>:s:<DBUsername> <REPUsername>:<REPPassword> -A <Archivename>_%thedate% -N

This names the archive with the date that it was created,

Robert

Former Member
0 Kudos

Hi Claudia,

Can you please update your thread?

Regards,

Jitesh Talreja

Former Member
0 Kudos

thank you very much for your help. I was able to automate the backup.

Former Member
0 Kudos

Hi Claudia,

Check the below link. This will give you the entire process you are looking for.

http://wiki.sdn.sap.com/wiki/x/2IrzAQ

Regards,

Jitesh Talreja

Former Member
0 Kudos

Hello Verma:

Where do I find the white paper you have submitted?

Thanks,

Claudia Hardeman

Former Member
0 Kudos

It is still in review process.

But try the options that I have suggested and it will work.

Regards.