3 Replies Latest reply: Aug 26, 2010 1:43 PM by Pondini
cglusman Level 1 Level 1 (0 points)
I put my old backup time machine files in the trash. I can't empty it.

I get: The operation can’t be completed because an unexpected error occurred (error code -8003).

Message was edited by: cglusman

Macbook, Mac OS X (10.6.4)
  • 1. Re: Can't empty trash, time machine files into it
    Pondini Level 8 Level 8 (38,720 points)
    Hi, and welcome to the forums.

    Unfortunately, Apple doesn't do a very good job of warning folks: +*never move, change, or delete things from your backups via the Finder.+* It can hopelessly corrupt them. You shouldn't have to delete things, since Time Machine will do that automatically, but you can. See #12 in Time Machine - Frequently Asked Questions (or use the link in *User Tips* at the top of this forum).

    If you're trying to delete all the backups, just erase the disk with Disk Utility (in your Applications/Utilities folder). That will get the trash on that disk, too.

    If not, try holding down the Option key while deleting the trash (but do not use Secure Delete).

    If that doesn't help, try this:

    Open the Terminal app (in your Applications/Utilities folder). Be *very careful* with this app. It's a direct link into UNIX, the underpinnings of OSX, but without the protections of OSX.

    In Terminal, the prompt looks like this: user-xxxxxx:~ <your name>$

    (where <your name> is your short user name). It's followed by a non-blinking block cursor.

    Type the following exactly as shown, placing the name of your Time Machine partition between the quotes, and be sure to place spaces where shown:


    cd /Volumes/"Time Machine Backups"/


    and press Return. The prompt should then change to include the name of your Time Machine drive. Then copy or type:


    sudo rm -rf .Trashes


    and press Return. It should then ask for your Admin password (which won't be displayed). Press Return.

    If there were many items involved, this may take quite a long time. Unless there are problems, once the deletion is complete, you'll see another prompt (there's no completion message).

    Once you get the trash emptied, repair your backups, per #A5 in Time Machine - Troubleshooting (or use the link in *User Tips* at the top of this forum).
  • 2. Re: Can't empty trash, time machine files into it
    S. Sagan Level 1 Level 1 (0 points)
    First Time Machine backup on 7.4.2010 after upgrading from 10.5 to 10.6.x went well. The attempt to backup starting on 8/23 gave red 'Failed' icon with "the backup was not performed because an error occurred while copying files to the backup disk" message after each of several attempts to backup after dish utility drive fixes per Mr. Pondini and reboots.
    TM Buddy kept locking and freezing Dashboard and attempts to use consul to ferret out the errant file(s)left me a bit frustrated.
    Upon opening the backup drive I noticed the 'IN PROGRESS' package file listed in the subdirectory and figured as it was not a Dated backup folder and it did not appear in Time Machine display, I could right click and trash this 'package file' generated by the failed backup and move on to a new backup attempt... WRONG!! File is 'still' in the trash!
    Subsequent backup ran for 7 hours all night and never was completed and now that In Progress file is stuck in the trash. Does the Pondini/Cglusman7/7/10 thread apply here as well??
    What is strange is that the backup drive is showing the dated folders for my backup attempt but they don't show up in the Time Machine display window...!!!?????
  • 3. Re: Can't empty trash, time machine files into it
    Pondini Level 8 Level 8 (38,720 points)
    S. Sagan wrote:
    First Time Machine backup on 7.4.2010 after upgrading from 10.5 to 10.6.x went well. The attempt to backup starting on 8/23 gave red 'Failed' icon with "the backup was not performed because an error occurred while copying files to the backup disk" message after each of several attempts to backup after dish utility drive fixes per Mr. Pondini and reboots.
    TM Buddy kept locking and freezing Dashboard and attempts to use consul to ferret out the errant file(s)left me a bit frustrated.
    Upon opening the backup drive I noticed the 'IN PROGRESS' package file listed in the subdirectory and figured as it was not a Dated backup folder and it did not appear in Time Machine display, I could right click and trash this 'package file' generated by the failed backup and move on to a new backup attempt... WRONG!! File is 'still' in the trash!


    Correct. Deleting that is usually not recommended. Sometimes as a last resort, it's worth a try, because on occasion it can hopelessly corrupt your backups.

    Moving a file to the trash normally just moves it to a hidden folder (on the same drive). You can see it by clicking the trash icon on your desktop, but it's still on the external, and you must empty the trash to get rid of it. (If you eject the drive, the package will disappear from the Trash display, but will return as soon as you re-mount it.)

    And the "in.Progress" package may contain many thousands, tens of thousands, perhaps even hundreds of thousands of files. That's why it may take an extremely long time to empty the trash.

    Subsequent backup ran for 7 hours all night and never was completed and now that In Progress file is stuck in the trash. Does the Pondini/Cglusman7/7/10 thread apply here as well??


    Yes.

    What is strange is that the backup drive is showing the dated folders for my backup attempt but they don't show up in the Time Machine display window...!!!?????


    Once you get the trash emptied, repair your backups, per #A5 in Time Machine - Troubleshooting (or use the link in *User Tips* at the top of this forum).

    If the "Star Wars" display is still behaving badly, see #E4 there.