|
|
How to delete time machine backup without formatting hard drive
|
|
|
|
Dedicated MacNNer
Join Date: Aug 2000
Location: Rep. of Ireland
Status:
Offline
|
|
I have a drobo which contains my time machine backup and my itunes library. I want to delete my time machine "Backups.backupdb" from the drobo (I did a new install of OSX and the new account won't let me write to the time machine backup). Obviously because my iTunes library is on the drobo (which is formatted as one big Hard drive called "Drobo") and I haven't the space to put itunes library somewhere else, I was wondering how to delete the "Backups.backupdb" file only. I was told I could do it as root in terminal but I don't want to make a mistake! What command should I use or is there another way? Any help is gratefully appreciated,
Thanks in advance.
|
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Dec 2000
Status:
Offline
|
|
Does dragging it to the Trash, then clicking the "Authenticate" button and entering an admin password when prompted not work?
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Aug 2000
Location: Rep. of Ireland
Status:
Offline
|
|
No. Dragging to the trash took an over day to count the amount of files it had to delete and then refuse. I have an admin account but I was not even asked to authenticate. I suspect it's something to do with the problem I have of not been able to write to the backup in the first place, a permissions problem. When I "get info" on the backup file it says I can read and write...but I can't! Any ideas?
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Jan 2005
Location: New Zealand
Status:
Offline
|
|
How big is the Drobo? How much space are your backups and your iTunes library (plus anything else on there) taking up? How much space is free?
|
MBP 15" C2D 2.2GHz 4.0GB 500GB@5400
iPhone 4 32GB Black
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jan 2001
Status:
Offline
|
|
Try turning Time Machine off first, then deleting the file so that it's not in use.
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
I think the problem is due to the Finder wanting to download each file in order to count what needs to be deleted or something goofy like that. I'd just remove the files using the Terminal:
sudo rm -rfv /Volumes/yourdrive/Backups.backupdb
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Mar 2004
Status:
Offline
|
|
Originally Posted by besson3c
I think the problem is due to the Finder wanting to download each file in order to count what needs to be deleted or something goofy like that. I'd just remove the files using the Terminal: sudo rm -rfv /Volumes/yourdrive/Backups.backupdb
There's that... plus the fact that the ACLs inside Backups.backupdb are almost impenetrable.
The "simplest" way to do anything in Time Machine is to go into its interface (the spacey GUI)
and do all deletions (and authentications) right there. Else, turn off ACLs for the entire backup
disk... because the ACLs are simply too prohibitive.
sudo fsaclctl -p /path/to/the/backup/disk -d # (and restart)
|
-HI-
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Dec 2000
Status:
Offline
|
|
Originally Posted by besson3c
sudo rm -rfv /Volumes/yourdrive/Backups.backupdb
Do not, not, not, not, not do this.
Especially since the OP is concerned with making mistakes in the Terminal... using rm -r on a path that has slashes in it puts you just one typo away from erasing all kinds of stuff you don't want to erase, including potentially the whole hard drive and all attached disks. Do not use rm -r and then anything with slashes in it, and please do not tell users who are uncomfortable using the Terminal to do that.
Here is the proper way to use rm -rf:
cd "/Volumes/<your TM disk's name goes here>"
sudo rm -rf Backups.backupd
Both this and the Finder Trash method worked for me back when Leopard was in beta (and some builds liked to corrupt the contents of this folder, so I ended up doing this a lot), but I haven't had occasion to trash the backups folder since Leopard's release, so I don't know if something may have changed since then.
(
Last edited by CharlesS; Jan 28, 2009 at 03:28 PM.
)
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Aug 2000
Location: Rep. of Ireland
Status:
Offline
|
|
Thanks CharlesS that worked a treat Appreciate it!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|