# Program files are not saving on the USB

**URL:** <https://forum.universal-robots.com/t/program-files-are-not-saving-on-the-usb/18848>\
**Category:** Technical Questions\
**Created:** [January 23, 2022, 4:19am UTC](https://forum.universal-robots.com/t/program-files-are-not-saving-on-the-usb/18848 "2022-01-23T04:19:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon46237321](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@anon46237321](https://forum.universal-robots.com/u/anon46237321)\
**Post date:** [January 23, 2022, 4:19am UTC](https://forum.universal-robots.com/t/program-files-are-not-saving-on-the-usb/18848/1 "2022-01-23T04:19:23Z")

</div>

Hello there,

I’m trying to copy program files on an imaged USB but after successfully saving the files, they don’t actually get saved. (every time I re-plug the usb and the files I pasted in it don’t show up).

I appreciate your time looking into this!

---

<div class="post-metadata">

**Author:** ![MikeM](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/mikem/32/3114_2.png) [@MikeM](https://forum.universal-robots.com/u/MikeM)\
**Post date:** [January 23, 2022, 2:33pm UTC](https://forum.universal-robots.com/t/program-files-are-not-saving-on-the-usb/18848/2 "2022-01-23T14:33:44Z")

</div>

Try this:

[Program Backups Using Magic Files](https://www.universal-robots.com/download/software-e-series/support/magic-files/magic-file-backup-all-programs/)

You will need an empty **USB stick (8gb will probably work)** following the instructions at bottom of the link. Depending on how many programs you have saved on the UR (if you have a lot it will take some time) this script will pull all **programs, installations, variable and script files** from the robot to a folder on the USB stick.

**Warning: the !USB! notification will disappear from the pendant after some time HOWEVER this does not mean the saving operation is complete WAIT until you see the \<-USB to remove it.**

---

<div class="post-metadata">

**Author:** ![anon46237321](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@anon46237321](https://forum.universal-robots.com/u/anon46237321)\
**Post date:** [January 26, 2022, 1:56am UTC](https://forum.universal-robots.com/t/program-files-are-not-saving-on-the-usb/18848/4 "2022-01-26T01:56:52Z")

</div>

After I was able to paste the magic file in the root folder, I plugged the USB in the controller but there was no signs of !USB! appear on the screen. my usb size is 32GB.

---

<div class="post-metadata">

**Author:** ![cags](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/cags/32/6304_2.png) [@cags](https://forum.universal-robots.com/u/cags)\
**Post date:** [January 26, 2022, 2:31pm UTC](https://forum.universal-robots.com/t/program-files-are-not-saving-on-the-usb/18848/5 "2022-01-26T14:31:10Z")

</div>

Have you checked in the UR controller that the Magic Files option is enabled?

 ![enable_magic](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/5/5d57f100e54cf1b740573184fe75bd7643eea30f.png)

If it is enabled and still does not work, you can try this:

1. Plug an empty USB without the magic file script.
2. Connect to the robot with a computer with Linux.
3. Open a terminal.
4. Connect to the robot and navigate to the usb disk directory:

```auto
ssh root@ROBOT_IP_ADDRESS_HERE
cd /media/urmountpoint_MimTgU

```

1. Copy-paste and run the script of the magic file one by one and see where and why it fails.
