REMINDER
SOLVED Import project after Export
-
Hello,
I feel like the answer will be obvious but :
I followed these steps to export my project : https://community.appdrag.com/topic/938/downloading-files-folders-as-zip
It uses this package : https://www.npmjs.com/package/appdragLet's say I exported it to delete it to free a licence and a year later I want to import it back.... how does it work ?
I create a new project and.... there is no import command ?
I have to pull the FS (LOCAL public in SERVER root), API then Database ?It looks like it's working EXCEPT :
Little inversion in the help here between push and pull for the API :
The file I had from exporting my APIs is a .sql (is it normal ?)
When I try to import it (or just the folder without specifying the file since the optional parameter is a function_id) :
Either there is a better way to import, either I just need to know how to import back the API please
Thanks,
Best regards, -
@pierre-sulpice if you used the export command it's ejected from the system and you cannot reimport (but you can run it outside of Appdrag)
FYI if your apis are visual sql endpoints or raw sql endpoints yes they will be exported as .sql that's normal.
If you plan to export then import back later use instead the pull fs,db,api commands
You will then be able to use the push commandsFinally from the Cloudbackend UI you can export/import the api and db as zip files easily
-
@jbenguira Understood thanks a lot I'll give a try this weekend !