Forum Discussion
Kai_Wilke
Nov 22, 2016MVP
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