Basically you'd look to use the API to PUT them back again... The scripts that are out there, to enable the process of extracting the setup usually have accompanying script(s) to upload them, if needed.
Get notified when there are additional replies to this discussion.