To_Ng

updated

7 years ago

T

To_Ng

1 Rookie

63 Posts

0

1170

November 22nd, 2019 10:00

Using pre script with Avamar on Solaris

I have a solaris client that needs to use pre-script & post script. Avamar has been setup to call the script which has been placed in:-

/usr/local/avamar/etc/scripts

Where can I add pre-script & post-script on client or avamar server ? Anyone has sample of pre-script & post-script , can you share it ? Thank you.

  • calvop

    5 Posts

    1018

    0

    Posted November 29th, 2019 02:00

    Spoiler

    Hi, please keep in mind this default install path for solaris: /opt/AVMRclnt

    Script must be copied to /opt/AVMRclnt/etc/scripts folder (client side)

    You can use this sintax to create these scripts.


    #!/usr/bin/ksh

    # Comment
    FOLDER1=/opt/folder1
    export FOLDER1

     

    ...


    Don't forget execution permission on script file.

     
    Hi, please keep in mind this default install path for solaris: /opt/AVMRclntScript must be copied to /opt/AVMRclnt/etc/scripts folder (client side)You can use this sintax to create these scripts.#!/usr/bin/ksh# CommentFOLDER1=/opt/folder1export FOLDER1 ...Don't forget execution permission on script file. 

     

  • To_Ng

    1 Rookie

    63 Posts

    926

    0

    Posted January 13th, 2020 15:00

    thank you

  • To_Ng

    1 Rookie

    63 Posts

    1035

    0

    Posted November 22nd, 2019 15:00

    I found solution and it works well now. Thank you.