Forum Discussion
Jonathon_T_2987
Nimbostratus
Nov 22, 2016Downloading 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?
Kai_Wilke
MVP
Nov 22, 2016Hi 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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects