Move images from one instance to another
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2017 08:00 AM
Hi All,
I found a way to move images from one instance to another. I am using below script to do that ;
var rec = new GlideRecord('db_image');
rec.addEncodedQuery('category=kb^nameLIKEKB0010714');
rec.query();
while(rec.next()){
//Push the record into the current update set
var um = new GlideUpdateManager2();
um.saveRecord(rec);
}
The problem is, I have more than 4000 images in the table. It is taking lot more time to push all images in the single update set. Is there a way I can do this through slots for 300 images at a time?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2017 08:02 AM
Hi Varun,
There are several methods for moving data from one instance to another.
The system offers the following processes to move data from one instance to another.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2017 08:08 AM
I don't think so you can move images by using any of the methods.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2017 08:13 AM
Hi Varun,
You can export the XML file for the required images and load that file in image table.
Also, refer to this blog for your reference. This should help.