{"id":772,"date":"2000-06-20T00:00:00","date_gmt":"2000-06-20T00:00:00","guid":{"rendered":"http:\/\/www.sweetwater.com\/sweetcare\/?p=772"},"modified":"2007-04-27T00:00:00","modified_gmt":"2007-04-27T00:00:00","slug":"more-tips-data-backup-archiving","status":"publish","type":"articles","link":"https:\/\/www.sweetwater.com\/sweetcare\/articles\/more-tips-data-backup-archiving\/","title":{"rendered":"More tips on data backup and archiving"},"content":{"rendered":"<p>In response to last week&#8217;s inSync tips on archiving data, one reader brings to light a useful technique for avoiding troubles with corrupt documents. When computers write out most files (i.e. save your work) the operating system first truncates the file to zero length and then writes the data in order, from start to end. If for any reason (power failure, program crash or hang-up) this write is interrupted, or if the program&#8217;s internal data has otherwise become corrupted and it thereby writes garbage, your work since the last backup is gone.To prevent such loss I append a &#8220;rolling&#8221; letter or number to the filename, incremented with each save (e.g. MyProj_000619a, MyProj_000619b, etc.; alternatively MyProj_000619_01, MyProj_000619_02). The first part is the project name and date-code in year, month, day form. Especially useful on file systems supporting long filenames, though a short form of this can be used even on 8.3 names. This technique automatically preserves a revision history if you need to revert to a long-past version.I periodically groom the directory, typically removing all but the last-saved file for a given date. This preserves the ability to revert to a given point and &#8212; if you save at reasonably consistent intervals &#8212; the magnitude of the rolling letter provides a histogram of each day&#8217;s workload, if you care.If you use letters rather than numbers, here&#8217;s one solution to handle the &#8220;z&#8221; problem: keep the z and append yet another rolling letter. That is, after MyProj_000619z, do MyProj_000619za, MyProj_000619zb, etc.By the way, for the software authors in the audience: this could trivially be handled automatically in programs, at the user&#8217;s option. Editor&#8217;s Note: While not a major problem these days, Pro Tools users of years past are well acquainted with the problem of documents becoming corrupt. Often you don&#8217;t know you&#8217;ve got a bad data file until the next time you turn your system on and try to load it. Depending upon your data archiving strategy you may have even written over a good archive file with a bad one. It&#8217;s a good practice when a lot of work is at stake to save copies and use rotating names as suggested above. Back in those days we suggested making a copy of the data file BEFORE beginning work each day. Just copy it to another location. The next day make another, and simply date the names. It only takes a few seconds, but can be a life saver.<\/p>\n","protected":false},"featured_media":0,"template":"","categories":[],"tags":[],"storecat":[],"itemids":[],"manufacturers":[],"class_list":["post-772","articles","type-articles","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>More tips on data backup and archiving | Sweetwater<\/title>\n<meta name=\"description\" content=\"Check out the More tips on data backup and archiving page at Sweetwater \u2014 the world&#039;s leading music technology and instrument retailer!\" \/>\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.sweetwater.com\/sweetcare\/articles\/more-tips-data-backup-archiving\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"More tips on data backup and archiving - SweetCare\" \/>\n<meta property=\"og:description\" content=\"In response to last week&#8217;s inSync tips on archiving data, one reader brings to light a useful technique for avoiding troubles with corrupt documents. When computers write out most files (i.e. save your work) the operating system first truncates the file to zero length and then writes the data in order, from start to end. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sweetwater.com\/sweetcare\/articles\/more-tips-data-backup-archiving\/\" \/>\n<meta property=\"og:site_name\" content=\"SweetCare\" \/>\n<meta property=\"article:modified_time\" content=\"2007-04-27T00:00:00+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sweetwater.com\\\/sweetcare\\\/articles\\\/more-tips-data-backup-archiving\\\/\",\"url\":\"https:\\\/\\\/www.sweetwater.com\\\/sweetcare\\\/articles\\\/more-tips-data-backup-archiving\\\/\",\"name\":\"More tips on data backup and archiving - SweetCare\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sweetwater.com\\\/sweetcare\\\/#website\"},\"datePublished\":\"2000-06-20T00:00:00+00:00\",\"dateModified\":\"2007-04-27T00:00:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sweetwater.com\\\/sweetcare\\\/articles\\\/more-tips-data-backup-archiving\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sweetwater.com\\\/sweetcare\\\/articles\\\/more-tips-data-backup-archiving\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sweetwater.com\\\/sweetcare\\\/articles\\\/more-tips-data-backup-archiving\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sweetwater.com\\\/sweetcare\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\\\/\\\/www.sweetwater.com\\\/sweetcare\\\/articles\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"More tips on data backup and archiving\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sweetwater.com\\\/sweetcare\\\/#website\",\"url\":\"https:\\\/\\\/www.sweetwater.com\\\/sweetcare\\\/\",\"name\":\"SweetCare\",\"description\":\"Service and Support\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sweetwater.com\\\/sweetcare\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"More tips on data backup and archiving | Sweetwater","description":"Check out the More tips on data backup and archiving page at Sweetwater \u2014 the world's leading music technology and instrument retailer!","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.sweetwater.com\/sweetcare\/articles\/more-tips-data-backup-archiving\/","og_locale":"en_US","og_type":"article","og_title":"More tips on data backup and archiving - SweetCare","og_description":"In response to last week&#8217;s inSync tips on archiving data, one reader brings to light a useful technique for avoiding troubles with corrupt documents. When computers write out most files (i.e. save your work) the operating system first truncates the file to zero length and then writes the data in order, from start to end. [&hellip;]","og_url":"https:\/\/www.sweetwater.com\/sweetcare\/articles\/more-tips-data-backup-archiving\/","og_site_name":"SweetCare","article_modified_time":"2007-04-27T00:00:00+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.sweetwater.com\/sweetcare\/articles\/more-tips-data-backup-archiving\/","url":"https:\/\/www.sweetwater.com\/sweetcare\/articles\/more-tips-data-backup-archiving\/","name":"More tips on data backup and archiving - SweetCare","isPartOf":{"@id":"https:\/\/www.sweetwater.com\/sweetcare\/#website"},"datePublished":"2000-06-20T00:00:00+00:00","dateModified":"2007-04-27T00:00:00+00:00","breadcrumb":{"@id":"https:\/\/www.sweetwater.com\/sweetcare\/articles\/more-tips-data-backup-archiving\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sweetwater.com\/sweetcare\/articles\/more-tips-data-backup-archiving\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.sweetwater.com\/sweetcare\/articles\/more-tips-data-backup-archiving\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sweetwater.com\/sweetcare\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/www.sweetwater.com\/sweetcare\/articles\/"},{"@type":"ListItem","position":3,"name":"More tips on data backup and archiving"}]},{"@type":"WebSite","@id":"https:\/\/www.sweetwater.com\/sweetcare\/#website","url":"https:\/\/www.sweetwater.com\/sweetcare\/","name":"SweetCare","description":"Service and Support","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sweetwater.com\/sweetcare\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.sweetwater.com\/sweetcare\/wp-json\/wp\/v2\/articles\/772","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sweetwater.com\/sweetcare\/wp-json\/wp\/v2\/articles"}],"about":[{"href":"https:\/\/www.sweetwater.com\/sweetcare\/wp-json\/wp\/v2\/types\/articles"}],"version-history":[{"count":0,"href":"https:\/\/www.sweetwater.com\/sweetcare\/wp-json\/wp\/v2\/articles\/772\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sweetwater.com\/sweetcare\/wp-json\/wp\/v2\/media?parent=772"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sweetwater.com\/sweetcare\/wp-json\/wp\/v2\/categories?post=772"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sweetwater.com\/sweetcare\/wp-json\/wp\/v2\/tags?post=772"},{"taxonomy":"storecat","embeddable":true,"href":"https:\/\/www.sweetwater.com\/sweetcare\/wp-json\/wp\/v2\/storecat?post=772"},{"taxonomy":"itemids","embeddable":true,"href":"https:\/\/www.sweetwater.com\/sweetcare\/wp-json\/wp\/v2\/itemids?post=772"},{"taxonomy":"manufacturers","embeddable":true,"href":"https:\/\/www.sweetwater.com\/sweetcare\/wp-json\/wp\/v2\/manufacturers?post=772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}