

{"id":48077,"date":"2019-01-24T15:30:43","date_gmt":"2019-01-24T10:00:43","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=48077"},"modified":"2021-05-09T13:07:24","modified_gmt":"2021-05-09T07:37:24","slug":"mongodb-backup-and-restore","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/mongodb-backup-and-restore\/","title":{"rendered":"MongoDB Backup and Restore Options &amp; MongoDB Deployment"},"content":{"rendered":"<p>In the last tutorial, we had learned about <strong>Indexing in MongoDB<\/strong>. Here, we will explore what are the options available for the &#8220;MongoDB Backup and Restore Data&#8221;. Along with this, we will study MongoDB Deployment.<\/p>\n<h2>MongoDB Backup Option<\/h2>\n<p>In case if you feel that you want to take a backup of your files and folders in MongoDB then it provides an option for the same. For creating a backup you should use the <strong>mongodump command<\/strong>. By using this command, all the data of your server into dump directory.<\/p>\n<p>MongoDB Backup can be done in many ways, by which you can limit the amount of data as per requirement. Also, there are many ways by which you can create a backup of your remote server.<\/p>\n<p>The syntax for the command is as follows:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt;mongodump<\/pre>\n<p>Now we will take an example to understand it better.<\/p>\n<p>For this, we will have to start our server. You should start it on localhost and port number 27017. Now go on your command prompt or terminal and type mongodump.<\/p>\n<div id=\"attachment_48087\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/Craete-mongodb-backup.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-48087\" class=\"size-full wp-image-48087\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/Craete-mongodb-backup.png\" alt=\"Output of MongoDB Backup\" width=\"600\" height=\"256\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/Craete-mongodb-backup.png 600w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/Craete-mongodb-backup-150x64.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/Craete-mongodb-backup-300x128.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/Craete-mongodb-backup-520x222.png 520w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-48087\" class=\"wp-caption-text\">MongoDB Backup &#8211; Output<\/p><\/div>\n<p>You will get to see like this on your screen. This command will connect to a server running at 127.0.0.1 and port 27017 and back all data of the server to directory bin\/dump\/.<\/p>\n<p>There are some options available while using the <strong>mongodump command<\/strong>:<\/p>\n<h4><strong>Command -1\u00a0<\/strong><\/h4>\n<p><strong>Syntax\u00a0<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">mongodump --host HOST_NAME --port PORT_NUMBER\r\n<\/pre>\n<p>It will backup all <strong>databases<\/strong> of specified instance.<\/p>\n<p><strong>Example<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">mongodump --host data-flair.training --port 27017<\/pre>\n<h4><strong>Command &#8211; 2<\/strong><\/h4>\n<p><strong>Syntax &#8211;\u00a0<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">mongodump --dbpath DB_PATH --out BACKUP_DIRECTORY\r\n<\/pre>\n<p>It will backup only specific database at a specific location.<\/p>\n<p><strong>Example<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">mongodump --dbpath \/data\/db\/ --out \/data\/backup\/<\/pre>\n<h4><strong>Command &#8211; 3<\/strong><\/h4>\n<p><strong>Syntax &#8211;<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">mongodump --collection COLLECTION --db DB_NAME\r\n<\/pre>\n<p>It will be used to back up a <strong>collection<\/strong> out of the database.<\/p>\n<p><strong>Example &#8211;<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">mongodump --collection example --db test<\/pre>\n<h2>MongoDB Restore Data<\/h2>\n<p>After taking MongoDB backup, now you want to restore all the data. Here, we can use a <strong>mongorestore command<\/strong>. It will restore all the data from the backup directory.<\/p>\n<p>The syntax for the command is as follows:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt;mongorestore<\/pre>\n<div id=\"attachment_48088\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/output-of-restore-data-in-mongodb.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-48088\" class=\"size-full wp-image-48088\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/output-of-restore-data-in-mongodb.png\" alt=\"Output of MongoDB Restore Data \" width=\"600\" height=\"321\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/output-of-restore-data-in-mongodb.png 600w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/output-of-restore-data-in-mongodb-150x80.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/output-of-restore-data-in-mongodb-300x161.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/output-of-restore-data-in-mongodb-520x278.png 520w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-48088\" class=\"wp-caption-text\">MongoDB Restore Data &#8211; Output<\/p><\/div>\n<p>Once you run\u00a0<strong>mongorestore command,<\/strong>\u00a0an output for the same is being displayed over here.<\/p>\n<h2>MongoDB Deployment<\/h2>\n<p>Before we start MongoDB deployment, you should know how your application is going to hold up in production. It is good to always keep an idea about your deployment environment. So that when you are production phase you don\u2019t get much errors or surprises.<\/p>\n<p>The best approach is to prototype your set up, conduct load test, monitoring key metrics and use that information to scale up your setup.<\/p>\n<p>So to keep an eye on the deployment phase, MongoDB provides some commands for the same.<\/p>\n<ol>\n<li>mongostat<\/li>\n<li>mongotop<\/li>\n<\/ol>\n<h3>i. mongostat<\/h3>\n<p>It is used to check the status of all the running instances. It also returns counters (insert, query, update, delete and cursor) of database operations. This command also shows when you\u2019re hitting page faults and also showcase lock percentage.<\/p>\n<p>To run this command, open mongod instance. Open another command prompt and go to bin of your MongoDB installation and type mongostat.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">D:\\set up\\mongodb\\bin&gt;mongostat<\/pre>\n<p>This will be the output for the following command.<\/p>\n<div id=\"attachment_48089\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/mongostat-deployment-in-monogdb.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-48089\" class=\"size-full wp-image-48089\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/mongostat-deployment-in-monogdb.png\" alt=\"mongostat deployment\" width=\"600\" height=\"461\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/mongostat-deployment-in-monogdb.png 600w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/mongostat-deployment-in-monogdb-150x115.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/mongostat-deployment-in-monogdb-300x231.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/mongostat-deployment-in-monogdb-520x400.png 520w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-48089\" class=\"wp-caption-text\">MongoDB Deployment &#8211; mongostat<\/p><\/div>\n<h3>ii. mongotop<\/h3>\n<p>It keeps tracks and reports of reading and writes activity of MongoDB instance on collection basis. This command returns information every second but it can be changed accordingly.<\/p>\n<p>To run this command, open mongod instance. Open another command prompt and go to bin of your <strong>MongoDB installation<\/strong> and type mongotop.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">D:\\set up\\mongodb\\bin&gt;mongotop<\/pre>\n<div id=\"attachment_48090\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/mongotop-deployment-in-mongodb-2.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-48090\" class=\"size-full wp-image-48090\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/mongotop-deployment-in-mongodb-2.png\" alt=\"mongotop deployment\" width=\"600\" height=\"301\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/mongotop-deployment-in-mongodb-2.png 600w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/mongotop-deployment-in-mongodb-2-150x75.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/mongotop-deployment-in-mongodb-2-300x151.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/mongotop-deployment-in-mongodb-2-520x261.png 520w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-48090\" class=\"wp-caption-text\">MongoDB Deployment &#8211; mongotop<\/p><\/div>\n<p>To change the frequency of information being displayed, type this command as follows<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">D:\\set up\\mongodb\\bin&gt;mongotop 30<\/pre>\n<p>Now, it will return values after completion of every 30 seconds.<\/p>\n<p>So, this was all about MongoDB Backup and Restore Data. Hope you liked our explanation.<\/p>\n<h2>Summary<\/h2>\n<p>Hence, with the help of\u00a0<strong>mongodump\u00a0<\/strong>command, we can take backup of our data in <strong>MongoDB<\/strong>. On the other hand, a<strong> mongorestore <\/strong>command is used for restore the data.<\/p>\n<p>Atlast, we discussed mongostat and mongotop commands for MongoDB deployment. Furthermore, if you have any query, feel free to ask in the comment section.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the last tutorial, we had learned about Indexing in MongoDB. Here, we will explore what are the options available for the &#8220;MongoDB Backup and Restore Data&#8221;. Along with this, we will study MongoDB&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":48086,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[18562,18559,18555,18556,18558,18557,18564,18565,18560,18561,18563],"class_list":["post-48077","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mongodb","tag-create-backup-in-mongodb","tag-deployment-in-mongodb","tag-mongodb-backup","tag-mongodb-backup-and-restore","tag-mongodb-deployment","tag-mongodb-restore-data","tag-mongodump-command","tag-mongorestore-command","tag-mongostat","tag-mongotop","tag-restore-data-in-mongodb"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>MongoDB Backup and Restore Options &amp; MongoDB Deployment - DataFlair<\/title>\n<meta name=\"description\" content=\"MongoDB Backup and restore Data - create Backup in MongoDB, mongodump command, deployment in MongoDB: Mongostat, mongotop with syntax, commands and examples\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/mongodb-backup-and-restore\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MongoDB Backup and Restore Options &amp; MongoDB Deployment - DataFlair\" \/>\n<meta property=\"og:description\" content=\"MongoDB Backup and restore Data - create Backup in MongoDB, mongodump command, deployment in MongoDB: Mongostat, mongotop with syntax, commands and examples\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/mongodb-backup-and-restore\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-01-24T10:00:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-09T07:37:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/MongoDB-01-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MongoDB Backup and Restore Options &amp; MongoDB Deployment - DataFlair","description":"MongoDB Backup and restore Data - create Backup in MongoDB, mongodump command, deployment in MongoDB: Mongostat, mongotop with syntax, commands and examples","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/mongodb-backup-and-restore\/","og_locale":"en_US","og_type":"article","og_title":"MongoDB Backup and Restore Options &amp; MongoDB Deployment - DataFlair","og_description":"MongoDB Backup and restore Data - create Backup in MongoDB, mongodump command, deployment in MongoDB: Mongostat, mongotop with syntax, commands and examples","og_url":"https:\/\/data-flair.training\/blogs\/mongodb-backup-and-restore\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2019-01-24T10:00:43+00:00","article_modified_time":"2021-05-09T07:37:24+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/MongoDB-01-1.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/mongodb-backup-and-restore\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/mongodb-backup-and-restore\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"MongoDB Backup and Restore Options &amp; MongoDB Deployment","datePublished":"2019-01-24T10:00:43+00:00","dateModified":"2021-05-09T07:37:24+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/mongodb-backup-and-restore\/"},"wordCount":673,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/mongodb-backup-and-restore\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/MongoDB-01-1.jpg","keywords":["Create backup in MongoDB","deployment in MongoDB","MongoDB Backup","MongoDB Backup and restore","MongoDB deployment","MongoDB restore Data","mongodump command","mongorestore command","mongostat","mongotop","restore Data in MongoDB"],"articleSection":["MongoDB Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/mongodb-backup-and-restore\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/mongodb-backup-and-restore\/","url":"https:\/\/data-flair.training\/blogs\/mongodb-backup-and-restore\/","name":"MongoDB Backup and Restore Options &amp; MongoDB Deployment - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/mongodb-backup-and-restore\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/mongodb-backup-and-restore\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/MongoDB-01-1.jpg","datePublished":"2019-01-24T10:00:43+00:00","dateModified":"2021-05-09T07:37:24+00:00","description":"MongoDB Backup and restore Data - create Backup in MongoDB, mongodump command, deployment in MongoDB: Mongostat, mongotop with syntax, commands and examples","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/mongodb-backup-and-restore\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/mongodb-backup-and-restore\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/mongodb-backup-and-restore\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/MongoDB-01-1.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2019\/01\/MongoDB-01-1.jpg","width":1200,"height":628,"caption":"MongoDB Backup and Restore Options &amp; MongoDB Deployment"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/mongodb-backup-and-restore\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"MongoDB Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/mongodb\/"},{"@type":"ListItem","position":3,"name":"MongoDB Backup and Restore Options &amp; MongoDB Deployment"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"The DataFlair Team provides industry-driven content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our expert educators focus on delivering value-packed, easy-to-follow resources for tech enthusiasts and professionals.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam2\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/48077","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=48077"}],"version-history":[{"count":6,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/48077\/revisions"}],"predecessor-version":[{"id":93186,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/48077\/revisions\/93186"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/48086"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=48077"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=48077"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=48077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}