Forum Discussion

Jonathon_T_2987's avatar
Jonathon_T_2987
Icon for Nimbostratus rankNimbostratus
Nov 22, 2016

Downloading iFiles from LTM 11.4

I need to download iFiles from one LTM to another LTM for a data center migration. Is there anyway to accomplish this?

 

1 Reply

  • Hi Jonathon,

    if an UCS restore is not an option for you, then you can try the following...

    1.) Export the files either via UCS or SCP from the old device

    UCS Path: \var\tmp\filestore_temp\files_d\Common_d\ifile_d
    SCP Path: /config/filestore/files_d/Common_d/ifile_d/
    

    2.) Rename the exported files to their original name

    _Common_MyiFile_132828_11 = MyiFile
    

    3.) SCP the files to the new device (e.g. /var/tmp/import_MyiFiles/)

    4.) SSH to the new device and navigate to the ifiles directory of step 3

    5.) Use the command-line below to batch-import your iFiles into the new configuration...

    for MyiFile in *; do tmsh -c "create sys file ifile $MyiFile source-path file:`readlink -f $MyiFile`; create ltm ifile $MyiFile file-name $MyiFile"; done
    

    6.) Verify the creation of your iFiles using the GUI

    Cheers, Kai