Please enable JavaScript to view this site.

LinMin Snapshot Manager™ 2022 User Guide

Nav: Using LinMin Snapshot Manager > Scripts

Modifying Example RAM Agent Scripts

Scroll Prev Top Next More

Refer to the Scripts topic for how to register scripts

 

User RAM Agent Scripts are located in:

/home/LinMin/service/serviceScripts/User_source_ram_os_Scripts

 

LSM comes with 2 User RAM Agent example Scripts showing how to use the RAM Agent to access and copy files to/from the LSM Server and the system(Windows, Linux, BSD...) disk of the Machine being serviced:

# ll

total 8

-rwxr-xr-x. 1 root root 1062 Jan  8 15:59 User_Example_LinuxProcessingScript.sh

-rwxr-xr-x. 1 root root 1061 Jan  8 16:50 User_Example_WindowsProcessingScript.sh

 

It is recommended the User copy (and modify) these Scripts and Register only the copied Scripts:

# cp -P User_Example_WindowsProcessingScript.sh My_WindowsProcessingScript.sh

# ll

total 12

-rwxr-xr-x. 1 root root 1061 Jan 13 12:45 My_WindowsProcessingScript.sh

-rwxr-xr-x. 1 root root 1062 Jan  8 15:59 User_Example_LinuxProcessingScript.sh

-rwxr-xr-x. 1 root root 1061 Jan  8 16:50 User_Example_WindowsProcessingScript.sh

 

In this example, we Register a copy of the LSM-provided User RAM Agent Script

 

lsm70_gui_tutorial_100_scriptslistb4add_annot

 

 

 

 

lsm70_gui_tutorial_102_scriptsdetailsb4commit_annot

 

 

 

lsm70_gui_tutorial_104_scriptsdetailsaftercommit_annot

 

 

 

lsm70_gui_tutorial_106_scriptslistnewscript_annot

 

 

Your newly Registered User RAM Agent Script now appears as a drop-down selection in Payload Stages:

 

lsm70_gui_tutorial_107_payloadstagesdetailswithmywindowsscript_annot

 

 

Search keyword(s): user_scripts

 

 

© 2007-2022 Laurent Gharda DBA LinMin. All Rights Reserved. User Guide last updated: Thursday, March 17, 2022, at 02:39 PM