# Saving all server-side scripts to file

**URL:** <https://community.dreamfactory.com/t/saving-all-server-side-scripts-to-file/2674>\
**Category:** REST API\
**Created:** [May 10, 2016, 11:32am UTC](https://community.dreamfactory.com/t/saving-all-server-side-scripts-to-file/2674 "2016-05-10T11:32:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbarriuso](https://avatars.discourse-cdn.com/v4/letter/r/e99b99/32.png) [@rbarriuso](https://community.dreamfactory.com/u/rbarriuso)\
**Post date:** [May 10, 2016, 11:32am UTC](https://community.dreamfactory.com/t/saving-all-server-side-scripts-to-file/2674/1 "2016-05-10T11:32:48Z")

</div>

Hi,

Is it possible to save all the server side-scritps to a file, in order to backup or re-use them?  
I think it would be useful that the admin UI provided a button to dump all the scripts configured for all events and services (if possible).

Thanks & regards.

---

<div class="post-metadata">

**Author:** ![benbusse](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/benbusse/32/4_2.png) [@benbusse](https://community.dreamfactory.com/u/benbusse)\
**Post date:** [May 10, 2016, 6:45pm UTC](https://community.dreamfactory.com/t/saving-all-server-side-scripts-to-file/2674/2 "2016-05-10T18:45:46Z")

</div>

Event scripts are stored in a table called ‘event\_script’ and custom scripts are stored in a table called ‘script\_config’. You can back them up and export them out of the database.

The packages tab allows you to export scripts as a zip file and there’s an API for package import/ export as well. This is very useful for back up and moving apps, schema, scripts, APIs etc. between DreamFactory instances. More info here [https://wiki.dreamfactory.com/DreamFactory/Tutorials/Packaging](https://wiki.dreamfactory.com/DreamFactory/Tutorials/Packaging).

---

<div class="post-metadata">

**Author:** ![Sandi\_Truthluvver](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/sandi_truthluvver/32/1261_2.png) [@Sandi\_Truthluvver](https://community.dreamfactory.com/u/Sandi_Truthluvver)\
**Post date:** [May 11, 2017, 12:36pm UTC](https://community.dreamfactory.com/t/saving-all-server-side-scripts-to-file/2674/3 "2017-05-11T12:36:14Z")

</div>

QUICK QUESTION - how do you access that table - where is that database located?

---

<div class="post-metadata">

**Author:** ![rbarriuso](https://avatars.discourse-cdn.com/v4/letter/r/e99b99/32.png) [@rbarriuso](https://community.dreamfactory.com/u/rbarriuso)\
**Post date:** [May 11, 2017, 12:51pm UTC](https://community.dreamfactory.com/t/saving-all-server-side-scripts-to-file/2674/4 "2017-05-11T12:51:05Z")

</div>

Probably in the MySQL DB that comes with DF

---

<div class="post-metadata">

**Author:** ![LuchoRod](https://avatars.discourse-cdn.com/v4/letter/l/50afbb/32.png) [@LuchoRod](https://community.dreamfactory.com/u/LuchoRod)\
**Post date:** [December 6, 2019, 6:57pm UTC](https://community.dreamfactory.com/t/saving-all-server-side-scripts-to-file/2674/5 "2019-12-06T18:57:45Z")

</div>

greetings, I’ve set the event body to NULL and the is\_active value to ‘0’ but the event still triggers. What can i do prevent that, maybe delete the event’s row? how can i clean the cache without being logeed in?
