{"id":128,"date":"2012-10-09T10:00:00","date_gmt":"2012-10-09T08:00:00","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/lost-your-files-rm-rf-no-problem-you-have-backup\/"},"modified":"2012-10-09T10:00:00","modified_gmt":"2012-10-09T08:00:00","slug":"lost-your-files-rm-rf-no-problem-you-have-backup","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/pt\/lost-your-files-rm-rf-no-problem-you-have-backup\/","title":{"rendered":"Lost your files from rm -rf * ? No problem, you have a backup"},"content":{"rendered":"<p class=\"wp-block-paragraph\">I recently came across video that describes how someone had accidentally typed the \u2018rm *\u2019 linux command during production of the Toy Story 2 movie and all the graphics, the art work, the scripts \u201cvanished\u201d. Luckily, they had a backup of the data and the files were restored back. If you watch the video below, you\u2019ll find a few takeaways from this story (which happens to be real). But the most important one that I want to talk about is \u201cTAKE BACKUPS of your data\u201d.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.youtube.com\/watch?v=EL_g0tyaIeE\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.couchbase.com\/blog\/sites\/default\/files\/uploads\/all\/images\/star1.png\"><\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Click the picture above to watch the video !<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Like many of you, I have lost data a couple of times as a result of accidentally misplaced command or worse circumstances. In this blog, I want to show how you can use online backup and restore (cbbackup and cbrestore) in Couchbase Server so that you do not lose information in the event of a serious hardware, installation failure or due to an accidental \u2018oops\u2019 scenario.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><font class=\"Apple-style-span\" face=\"Arial\">cbbackup<\/font><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><font class=\"Apple-style-span\" face=\"Arial\">The cbbackup command enables you to backup the entire Couchbase cluster, a single node or a single bucket, into a file that you can restore from when needed into a Couchbase cluster. The backup and restore operations can be performed on a live Couchbase cluster.<\/font><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><font class=\"Apple-style-span\" face=\"Arial\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.couchbase.com\/blog\/sites\/default\/files\/uploads\/all\/images\/star2.png\"><\/font><\/p>\n\n\n\n<font class=\"Apple-style-span\" face=\"Arial\">Backing up data to a file using cbbackup tool<\/font>\n\n\n\n<p class=\"wp-block-paragraph\">\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>To backup an entire cluster, consisting of all the buckets and all the node data:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shell&gt; cbbackup https:\/\/HOST:8091 ~\/backups <br>-u Administrator -p password<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2018~\/backups\u2019 is the backup path, \u2018Administrator\u2019 and \u2018Password\u2019 are the server credentials.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Assuming you have 3 buckets in your Couchbase Cluster &#8211; Default, gamesim-sample and beer-sample, the output of the cbbackup would look like the following :<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.couchbase.com\/blog\/sites\/default\/files\/uploads\/all\/images\/star3.png\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The folder structure inside the backups root folder would look like the following :<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.couchbase.com\/blog\/sites\/default\/files\/uploads\/all\/images\/star4.png\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There is a folder corresponding to each Couchbase Server bucket (bucket-beer-sample, bucket-default, bucket-gamesim-sample). design.json captures the design documents in each couchbase bucket. The .cbb files consists of raw data exported.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>To backup all the data for a single bucket, containing all of the information from the entire cluster:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shell&gt; cbbackup https:\/\/HOST:8091 \/backups\/backup-20120501 <br>\u00a0 -u Administrator -p password <br>\u00a0 -b default<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2018\/backups\/backup-20120501\u2019 is the backup path, \u2018Administrator\u2019 and \u2018Password\u2019 are the server credentials, \u2018default\u2019 is the bucket name.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>To backup all of the data stored on a single node across all of the different buckets:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shell&gt; cbbackup https:\/\/HOST:8091 \/backups\/ <br>\u00a0 -u Administrator -p password <br>\u00a0 &#8211;single-node<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2018\/backups\u2019 is the backup path, \u2018Administrator\u2019 and \u2018Password\u2019 are the server credentials, &#8211;single-node is the flag.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.couchbase.com\/blog\/sites\/default\/files\/uploads\/all\/images\/star5.png\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Using multiple instances of cbbackup to write different backup files in parallel<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you have large datasets, you can parallelize and speed-up your backup by using 1 cbbackup process per couchbase server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>To backup the data from a single bucket on a single node:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shell&gt; cbbackup https:\/\/HOST:8091 \/backups <br>\u00a0 -u Administrator -p password <br>\u00a0 &#8211;single-node <br>\u00a0 -b default<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2018\/backups\u2019 is the backup path, \u2018Administrator\u2019 and \u2018Password\u2019 are the server credentials, \u2018default\u2019 is the bucket name.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now that you have backed up your data, how do you restore it back?<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><font class=\"Apple-style-span\" face=\"Arial\">cbrestore<\/font><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The<em> cbrestore <\/em>command takes the information that was backed up using cbbackup and streams the stored data into the cluster to restore the data back.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>To restore a single bucket of data to a cluster:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shell&gt; cbrestore <br>\u00a0\u00a0\u00a0 ~\/backups <br>\u00a0\u00a0\u00a0 https:\/\/Administrator:password@HOST:8091 <br>\u00a0\u00a0\u00a0 &#8211;bucket-source=XXX <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>To restore the bucket data to a different bucket on the cluster:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shell&gt; cbrestore <br>\u00a0\u00a0\u00a0 ~\/backups <br>\u00a0\u00a0\u00a0 https:\/\/Administrator:password@HOST:8091 <br>\u00a0\u00a0\u00a0 &#8211;bucket-source=XXX <br>\u00a0\u00a0\u00a0 &#8211;bucket-destination=YYY<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u2018\/backups\u2019 is the backup path, \u2018Administrator\u2019 and \u2018Password\u2019 are the server credentials. bucket-source and bucket-destination are the source and destination bucket names.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.couchbase.com\/blog\/sites\/default\/files\/uploads\/all\/images\/star6.png\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Using multiple instances of cbrestore to restore multiple files in Couchbase Server<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Things to keep in mind\u00a0<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Frequently backup your data.<\/li>\n\n\n<li>Use a separate machine for backing up data to reduce the strain on your live couchbase cluster. Even though backup\/restore commands can be run while the system is online, you might consider running these commands during off peak-load times from a separate machine.<\/li>\n\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Why is this important for performance? \u00a0<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Backup is based on TAP protocol. Based on the amount of memory that is available and\u00a0\u00a0 the resident document ratio, it may need to read the entire dataset from disk and add more strain to the system<\/p>\n<\/blockquote>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Finally, don\u2019t forget to test your backup strategy to make sure that your backup\u2019s work when you need them for data recovery.<\/li>\n\n\n<li>Only the design documents are backed up and restored, indexes are not.\u00a0 Indexes are rebuilt incrementally after data is restored back.<\/li>\n\n\n<li>During restore, you can specify the -a option in cbrestore to avoid overwriting existing items. This will insert items only if they don\u2019t already exist.\u00a0<\/li>\n\n\n<li>You can filter the keys that are backed up using the -k backup option.\u00a0For example, to backup information from a bucket where the keys have a prefix of &#8216;object&#8217;:<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">shell&gt; cbbackup https:\/\/HOST:8091 \/backups\/backup-20120501 <br>\u00a0 -u Administrator -p password <br>\u00a0 -b default <br>\u00a0 -k &#8216;^object.*&#8217;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Enjoy!<\/p>","protected":false},"excerpt":{"rendered":"<p>I recently came across video that describes how someone had accidentally typed the \u2018rm *\u2019 linux command during production of the Toy Story 2 movie and all the graphics, the art work, the scripts \u201cvanished\u201d. Luckily, they had a backup of the data and the files were restored back. If you watch the video below, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":18,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"_acf":"","footnotes":""},"categories":[1],"tags":[],"ppma_author":[10],"class_list":["post-128","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.6 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Lost your files from rm -rf * ? No problem, you have a backup - The Couchbase Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/blog\/pt\/lost-your-files-rm-rf-no-problem-you-have-backup\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Lost your files from rm -rf * ? No problem, you have a backup\" \/>\n<meta property=\"og:description\" content=\"I recently came across video that describes how someone had accidentally typed the \u2018rm *\u2019 linux command during production of the Toy Story 2 movie and all the graphics, the art work, the scripts \u201cvanished\u201d. Luckily, they had a backup of the data and the files were restored back. If you watch the video below, [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/pt\/lost-your-files-rm-rf-no-problem-you-have-backup\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2012-10-09T08:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/couchbase-nosql-dbaas.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1800\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"The Couchbase Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"The Couchbase Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/lost-your-files-rm-rf-no-problem-you-have-backup\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/lost-your-files-rm-rf-no-problem-you-have-backup\\\/\"},\"author\":{\"name\":\"The Couchbase Team\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#\\\/schema\\\/person\\\/764f4a6771ee19bc7af70b70a326fb93\"},\"headline\":\"Lost your files from rm -rf * ? No problem, you have a backup\",\"datePublished\":\"2012-10-09T08:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/lost-your-files-rm-rf-no-problem-you-have-backup\\\/\"},\"wordCount\":826,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/lost-your-files-rm-rf-no-problem-you-have-backup\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2026\\\/05\\\/couchbase-nosql-dbaas.png\",\"articleSection\":[\"Uncategorized\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/lost-your-files-rm-rf-no-problem-you-have-backup\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/lost-your-files-rm-rf-no-problem-you-have-backup\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/lost-your-files-rm-rf-no-problem-you-have-backup\\\/\",\"name\":\"Lost your files from rm -rf * ? No problem, you have a backup - The Couchbase Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/lost-your-files-rm-rf-no-problem-you-have-backup\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/lost-your-files-rm-rf-no-problem-you-have-backup\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2026\\\/05\\\/couchbase-nosql-dbaas.png\",\"datePublished\":\"2012-10-09T08:00:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/lost-your-files-rm-rf-no-problem-you-have-backup\\\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/lost-your-files-rm-rf-no-problem-you-have-backup\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/lost-your-files-rm-rf-no-problem-you-have-backup\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2026\\\/05\\\/couchbase-nosql-dbaas.png\",\"contentUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2026\\\/05\\\/couchbase-nosql-dbaas.png\",\"width\":1800,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/lost-your-files-rm-rf-no-problem-you-have-backup\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lost your files from rm -rf * ? No problem, you have a backup\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2026\\\/06\\\/logo.svg\",\"contentUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2026\\\/06\\\/logo.svg\",\"width\":\"1024\",\"height\":\"1024\",\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#\\\/schema\\\/person\\\/764f4a6771ee19bc7af70b70a326fb93\",\"name\":\"The Couchbase Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b4c18c758421903398e84d6c9560f319f39c665798d7d23e6a6f9dff8a8f984e?s=96&d=mm&r=g7befc37d02226b59499817eafdec60c3\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b4c18c758421903398e84d6c9560f319f39c665798d7d23e6a6f9dff8a8f984e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b4c18c758421903398e84d6c9560f319f39c665798d7d23e6a6f9dff8a8f984e?s=96&d=mm&r=g\",\"caption\":\"The Couchbase Team\"},\"description\":\"Jennifer Garcia is a Senior Web Manager at Couchbase Inc. As the website manager, Jennifer has overall responsibility for the website properties including design, implementation, content, and performance.\",\"sameAs\":[\"https:\\\/\\\/www.couchbase.com\"],\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/pt\\\/author\\\/jennifer-garcia\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Lost your files from rm -rf * ? No problem, you have a backup - The Couchbase Blog","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:\/\/www.couchbase.com\/blog\/pt\/lost-your-files-rm-rf-no-problem-you-have-backup\/","og_locale":"pt_BR","og_type":"article","og_title":"Lost your files from rm -rf * ? No problem, you have a backup","og_description":"I recently came across video that describes how someone had accidentally typed the \u2018rm *\u2019 linux command during production of the Toy Story 2 movie and all the graphics, the art work, the scripts \u201cvanished\u201d. Luckily, they had a backup of the data and the files were restored back. If you watch the video below, [&hellip;]","og_url":"https:\/\/www.couchbase.com\/blog\/pt\/lost-your-files-rm-rf-no-problem-you-have-backup\/","og_site_name":"The Couchbase Blog","article_published_time":"2012-10-09T08:00:00+00:00","og_image":[{"width":1800,"height":630,"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/couchbase-nosql-dbaas.png","type":"image\/png"}],"author":"The Couchbase Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"The Couchbase Team","Est. reading time":"4 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/lost-your-files-rm-rf-no-problem-you-have-backup\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/lost-your-files-rm-rf-no-problem-you-have-backup\/"},"author":{"name":"The Couchbase Team","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/764f4a6771ee19bc7af70b70a326fb93"},"headline":"Lost your files from rm -rf * ? No problem, you have a backup","datePublished":"2012-10-09T08:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/lost-your-files-rm-rf-no-problem-you-have-backup\/"},"wordCount":826,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/lost-your-files-rm-rf-no-problem-you-have-backup\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/couchbase-nosql-dbaas.png","articleSection":["Uncategorized"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/lost-your-files-rm-rf-no-problem-you-have-backup\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/lost-your-files-rm-rf-no-problem-you-have-backup\/","url":"https:\/\/www.couchbase.com\/blog\/lost-your-files-rm-rf-no-problem-you-have-backup\/","name":"Lost your files from rm -rf * ? No problem, you have a backup - The Couchbase Blog","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/lost-your-files-rm-rf-no-problem-you-have-backup\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/lost-your-files-rm-rf-no-problem-you-have-backup\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/couchbase-nosql-dbaas.png","datePublished":"2012-10-09T08:00:00+00:00","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/lost-your-files-rm-rf-no-problem-you-have-backup\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/lost-your-files-rm-rf-no-problem-you-have-backup\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/lost-your-files-rm-rf-no-problem-you-have-backup\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/couchbase-nosql-dbaas.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/couchbase-nosql-dbaas.png","width":1800,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/lost-your-files-rm-rf-no-problem-you-have-backup\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Lost your files from rm -rf * ? No problem, you have a backup"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"The Couchbase Blog","description":"Couchbase, the NoSQL Database","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"The Couchbase Blog","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/06\/logo.svg","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/06\/logo.svg","width":"1024","height":"1024","caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/764f4a6771ee19bc7af70b70a326fb93","name":"The Couchbase Team","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/secure.gravatar.com\/avatar\/b4c18c758421903398e84d6c9560f319f39c665798d7d23e6a6f9dff8a8f984e?s=96&d=mm&r=g7befc37d02226b59499817eafdec60c3","url":"https:\/\/secure.gravatar.com\/avatar\/b4c18c758421903398e84d6c9560f319f39c665798d7d23e6a6f9dff8a8f984e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b4c18c758421903398e84d6c9560f319f39c665798d7d23e6a6f9dff8a8f984e?s=96&d=mm&r=g","caption":"The Couchbase Team"},"description":"Jennifer Garcia is a Senior Web Manager at Couchbase Inc. As the website manager, Jennifer has overall responsibility for the website properties including design, implementation, content, and performance.","sameAs":["https:\/\/www.couchbase.com"],"url":"https:\/\/www.couchbase.com\/blog\/pt\/author\/jennifer-garcia\/"}]}},"acf":[],"authors":[{"term_id":10,"user_id":2,"is_guest":0,"slug":"jennifer-garcia","display_name":"The Couchbase Team","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","author_category":"","first_name":"Jennifer","last_name":"Garcia","user_url":"","job_title":"","description":"Jennifer Garcia is a Senior Web Manager at Couchbase Inc. As the website manager, Jennifer has overall responsibility for the website properties including design, implementation, content, and performance."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/128","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/comments?post=128"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/128\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media\/18"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media?parent=128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/categories?post=128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/tags?post=128"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/ppma_author?post=128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}