Monday, August 3, 2015

Error opening file '{{path}}/difftar.gpg': Input/output error


While using Ubuntu's built-in backup tool, which uses Duplicity, I recently got the following error:

Backup failed
Error opening file '/media/yoshee/FreeAgent Drive/Backup/duplicity-full.20140514T064948Z.vol2132.difftar.gpg': Input/output error


After some research, I discovered that the best way to fix this on an NTFS drive is to boot into Windows - using either a Windows Live DVD or an actual machine you have with Windows installed - and run the following command in the command prompt:

chkdsk D: /R

Where D is the letter of the drive you want to check. /R asks check disk to fix and resolve any issues it finds.

Make sure you are running Command Prompt as an administrator. 

The process took six hours for me on my external hard drive, but once it had run through, I was able to complete my backup from within Ubuntu with no issues.

Related Posts:

  • Be Careful What You Think In Western culture, it's commonly considered a sign of intellectual freedom and ability to think about and consider several points of view before advocating a certain one. In our world, it makes sense to debate the pros and … Read More
  • Learning Angular | Using a factory to make an API call I was recently building an Angular app in which I had a search page and a search results page. Obviously, the API call would be made after a user hit the search button on the search page, but the question was whether I shoul… Read More
  • Postback not happening on ASP:LinkButton with Adblock Plus I recently had a problem while working on an ASP.NET website where I had a page doing a postback on an ASP LinkButton, except in FireFox with AdBlock enabled, the postback just wasn't happening. Clicking on the button result… Read More
  • A Story about YAGNI - You-Aren't-Going-To-Need-It Recently I was working for a project on a client where they wanted the project to be Live for a certain portion of time during the day - so for example between 9AM and 2PM, or 12PM and 3PM, or so on and so forth. While impl… Read More
  • Takeaways: The Healthy Programmer I recently picked up The Healthy Programmer by Joe Kutner. The 8+ hours of programming are beginning to take their toll on my health with various headaches/eyeaches, so I wanted to see if Joe had any insights into what I can… Read More

0 comments:

Post a Comment