![]() |
|||||||||||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
#1
|
|||
|
|||
Smart update copying all files each time
I have two external firewire drives - one contains mp3s, the other has a number of partitions, each used for backing up various drives.
Since I upgraded to Tiger it seems like SuperDuper! is copying all files from one disk to another when I do a Backup. eg, a few days ago I did a backup of the MP3 drive to its backup copy - all files were copied (it took nearly two hours). I assumed maybe this was something to do with my recent Tiger install, and that it would be OK next time. But I just did another backup, and again it seems to copy all files - 1h 45m. So I've just tried again, not long after it finished, and it's started to copy everything once more - ten minutes in and it hasn't got far through the files. Maybe I've done something silly to cause this, but I can't think what... Any help appreciated, thanks. |
#2
|
||||
|
||||
Hm. It sounds like the MP3's are all 'floating', which might cause them to be copied more than once.
There's a way to fix this, if you're comfortable with the Terminal... are you?
__________________
--Dave Nanian |
#3
|
|||
|
|||
Yup, fire away!
|
#4
|
||||
|
||||
OK. You need to figure out your default group and short uid (use "whoami" and "groups"). Once done, use the following command on the MP3 volume, after ensuring Ownership is on:
sudo chown -R short-user-name:group /Volumes/the-mp3-volume/* Once done, use SD! two times, and the 2nd time it shouldn't copy so much.
__________________
--Dave Nanian |
#5
|
|||
|
|||
I have the same issue for an external firewire drive that only contains my iTunes music library. When I use SD! to smart update that drive to another external drive, it copies all the files each time (~2hours). Smart updates of my internal hard drive work as expected.
In terminal, the owner, group, and permissions seem to be set identically for files in my ~ folder as they are for the files on my iTunes drive. The group is listed as the same name as my username. Should I chown/chgrp the group to be 'admin' instead? (my primary user account is a member of the admin group) |
#6
|
||||
|
||||
No, that shouldn't be necessary. If you use the following to look at some of the files that you think get copied every time:
sudo ls -l "a folder you're suspicious of" Do you get a different value for the user and group than you do without the sudo?
__________________
--Dave Nanian |
#7
|
|||
|
|||
Quote:
I don't understand what "ensuring Ownership is on" means though - maybe that's the missing ingredient? |
#8
|
||||
|
||||
Ensuring ownership is on means that you need to do a "Get Info" on the drive, and ensure that "Ignore ownership on this volume" is NOT checked.
I'm not sure, at present, why it would be copying these files every time. Could you please provide me with an "ls -l" of one of the files on the source and destination volumes, running the ls -l with and without sudo? In other words, if there's a file in the root that's being copied called "foo.mp3", you'd do: ls -l /foo.mp3 sudo ls -l /foo.mp3 and, on the backup: ls -l /Volumes/my-backup-volume/foo.mp3 sudo -s -l /Volumes/my-backup/volume/foo.mp3 Thanks.
__________________
--Dave Nanian |
#9
|
|||
|
|||
Here you go:
Code:
$ ls -l /Volumes/Music/iTunes/iTunes\ Music/ACO/Unknown\ Album/Creep.mp3 -rw-r--r-- 1 phil staff 6193130 Apr 30 2004 /Volumes/Music/iTunes/iTunes Music/ACO/Unknown Album/Creep.mp3 $ sudo ls -l /Volumes/Music/iTunes/iTunes\ Music/ACO/Unknown\ Album/Creep.mp3 -rw-r--r-- 1 unknown unknown 6193130 Apr 30 2004 /Volumes/Music/iTunes/iTunes Music/ACO/Unknown Album/Creep.mp3 $ ls -l /Volumes/Music\ Backup/iTunes/iTunes\ Music/ACO/Unknown\ Album/Creep.mp3 -rw-r--r-- 1 phil staff 6193130 Apr 30 2004 /Volumes/Music Backup/iTunes/iTunes Music/ACO/Unknown Album/Creep.mp3 $ sudo ls -l /Volumes/Music\ Backup/iTunes/iTunes\ Music/ACO/Unknown\ Album/Creep.mp3 -rw-r--r-- 1 unknown unknown 6193130 Apr 30 2004 /Volumes/Music Backup/iTunes/iTunes Music/ACO/Unknown Album/Creep.mp3 |
#10
|
||||
|
||||
OK, that's what I thought you'd see -- those files are all floating, which is why you're seeing them change ownership when you run with and without sudo.
What's weird is that chowning them didn't chown -- which leads me to believe you didn't do it quite right. So, do the following: sudo chown -R phil:staff /Volumes/Music/iTunes/* sudo chown -R phil:staff /Volumes/Music\ Backup/iTunes/* Then, restart and give the backup another try.
__________________
--Dave Nanian |
#11
|
|||
|
|||
That worked a treat! Thanks so much - super quick!
However, I'm having a similar problem with backing up my main drive - a few files always seem to be copied to the backup drive no matter what. I can do a backup only seconds after the last one finished and it'll still take 12-15 minutes to complete... |
#12
|
||||
|
||||
If you look at your SuperDuper!.log after one of these "seconds after" backups, how many files does it say it has copied? (Look at the number of files, NOT the size.)
__________________
--Dave Nanian |
#13
|
|||
|
|||
Looks like 8,526...?
Code:
|11:45:08 PM|Info| Scanned 481468 items occupying 47.84 GB (85678 directories, 387921 files, 7869 symlinks) |11:45:08 PM|Info| Copied 8526 items totaling 47.77 GB (38 directories, 622 files, 7866 symlinks) |11:45:08 PM|Info| Cloned 47.77 GB of data in 910 seconds at an effective transfer rate of 53.75 MB/s |
#14
|
||||
|
||||
More like 622. (The 7866 symlinks need to be copied every time.)
Is it pretty consistently 622? Those are going to be terribly difficult to find, though they're likely in your Home folder. We can try the same chown trick there, if you'd like...
__________________
--Dave Nanian |
#15
|
|||
|
|||
When I used sudo with ls, the user and group of files on my iTunes partition were listed as 'unknown'... which suprised me as when I ran ls as myself it seemed ok.
So I ran the chown command as listed in a pervious post and now everything works as I expected. Thanks for a quick reply. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
smart update didn't work due to remaining space problems | JohnCoffee | General | 1 | 05-08-2005 09:42 AM |
backing up specific files and folders | winni2 | General | 1 | 05-04-2005 08:41 AM |
Smart Update Deletes Rest of Volume? | Pixx | General | 12 | 04-26-2005 10:04 AM |
Smart Backup Error | bill s | General | 20 | 02-04-2005 09:46 AM |
Smart Updates & Small Changes | cspheres | General | 3 | 01-08-2005 09:16 AM |