This is a migrated thread and some comments may be shown as answers.

Backup of Cloud Code Functions?

3 Answers 12 Views
Cloud Code
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
ptw
Top achievements
Rank 1
ptw asked on 26 Apr 2016, 05:13 PM

Hi,

Is there a nice way to backup a Platform app's cloud code functions? Something other than a manual approach?

They don't seem to be included with the Git export - or with the "export code to zip" option on the Platform Apps page.

Thanks

 

 

 

3 Answers, 1 is accepted

Sort by
0
Accepted
Anton Dobrev
Telerik team
answered on 28 Apr 2016, 11:14 AM
Hello,

At the current stage you may consider the following approaches:

- Save the cloud functions code locally and include them in source control. Subsequently you can manage the code of the functions in the backend project programmatically as explained here.
- Duplicate the Backend Services project as explained here. The cloud functions will be available in the separate project

On the same subject we have a feature request which you can see - http://feedback.telerik.com/Project/129/Feedback/Details/185715-version-control-for-cloud-code-and-cloud-functions

Please consider to share your comments or considerations in the feedback item or in this forum thread.

Regards,
Anton Dobrev
Telerik
 
Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
 
0
ptw
Top achievements
Rank 1
answered on 05 May 2016, 01:07 AM

Many thanks Anton.

I've added a comment to that feature request. In essence: 

"A really nice thing about Platform is that can streamline 'whole-of-app' development (code on the phone + server-side/cloud code). Including cloud code in version control and backups would be another important improvement in this direction"

And thanks also for your hint on handling cloud functions programmatically. Looks interesting.

0
Anton Dobrev
Telerik team
answered on 05 May 2016, 02:24 PM
Hello,

Thanks for sharing your feedback, much appreciated. Let us know should you have further questions or suggestions.

Regards,
Anton Dobrev
Telerik
 
Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
 
Tags
Cloud Code
Asked by
ptw
Top achievements
Rank 1
Answers by
Anton Dobrev
Telerik team
ptw
Top achievements
Rank 1
Share this question
or