Navigation

    APPDRAG Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular

    REMINDER

    Please be respectful of all AppDragers! Keep it really civil so that we can make the AppDrag community of builders as embracing, positive and inspiring as possible.

    SOLVED Import project after Export

    Cloud CMS (Pagebuilder, Blog, Shop, Newsletters, Code Editor)
    2
    3
    279
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Pierre SULPICE
      Pierre SULPICE last edited by

      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/appdrag

      Let'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 :
      02913ca2-9069-4262-bcdf-c9ace06203df-image.png

      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) :
      48e16353-75a9-4f4c-b5a7-c7a7fb48aaba-image.png

      Either there is a better way to import, either I just need to know how to import back the API please 🙂

      Thanks,
      Best regards,

      J 1 Reply Last reply Reply Quote 0
      • J
        jbenguira @Pierre SULPICE last edited by

        @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 commands

        Finally from the Cloudbackend UI you can export/import the api and db as zip files easily

        Pierre SULPICE 1 Reply Last reply Reply Quote 0
        • Pierre SULPICE
          Pierre SULPICE @jbenguira last edited by

          @jbenguira Understood thanks a lot I'll give a try this weekend !

          1 Reply Last reply Reply Quote 0
          • First post
            Last post