HT201250 Time machine backup permission issue

Hi,
We setup time machine backups in an office environment which is managed by a mac OS X Lion server.
Each device on the network (all mac minis) is configured to take hourly backups to the drive on our server.
On some occasions, a device requests an admin username and password whilst time machine is backing up.
We believe this may be caused by backupd attempting to access parts of the file system it is not authorized to as each device has application restrictions set in profile manager. Computers that do not have application/directory restrictions do not get the admin prompt.
Here is a dump of the backupd daemon (and other possibly related processes) whilst a user was prompted for a password:
Feb  1 10:00:25 pc-205 com.apple.backupd[436]: Starting standard backup
Feb  1 10:00:25 pc-205 com.apple.backupd[436]: Attempting to mount network destination URL: afp://[email protected]/Backups
Feb  1 10:00:47 pc-205 com.apple.backupd[436]: Mounted network destination at mountpoint: /Volumes/Backups using URL: afp://[email protected]/Backups
Feb  1 10:01:16 pc-205 diskarbitrationd[15]: SystemUIServer [206]:24835 not responding.
Feb  1 10:01:33 pc-205 diskarbitrationd[15]: SystemUIServer [206]:24067 not responding.
Feb  1 10:01:34 pc-205 com.apple.backupd[436]: QUICKCHECK ONLY; FILESYSTEM CLEAN
Feb  1 10:01:41 pc-205 com.apple.backupd[436]: Disk image /Volumes/Backups/PC-205.sparsebundle mounted at: /Volumes/Time Machine Backups
Feb  1 10:01:41 pc-205 com.apple.backupd[436]: Backing up to: /Volumes/Time Machine Backups/Backups.backupdb
Feb  1 10:03:45 pc-205 com.apple.backupd[436]: 100.0 MB required (including padding), 38.86 GB available
Feb  1 10:05:59 pc-205 com.apple.backupd[436]: Copied 1381 files (5.7 MB) from volume Macintosh HD.
Feb  1 10:06:00 pc-205 com.apple.backupd[436]: 100.0 MB required (including padding), 38.77 GB available
Feb  1 10:06:15 pc-205 sandboxd[513] ([61]): mds(61) deny file-write-data /dev/dtracehelper
Feb  1 10:07:12 pc-205 com.apple.backupd[436]: Copied 718 files (2.7 MB) from volume Macintosh HD.
Feb  1 10:07:16 pc-205 mds[61]: (Error) Volume: Could not find requested backup type:2 for volume
Feb  1 10:07:17 pc-205 com.apple.backupd[436]: Starting post-backup thinning
Feb  1 10:07:36 pc-205 com.apple.backupd[436]: Deleted /Volumes/Time Machine Backups/Backups.backupdb/PC-205/2012-01-30-184609 (4.8 MB)
Feb  1 10:07:36 pc-205 com.apple.backupd[436]: Post-back up thinning complete: 1 expired backups removed
Feb  1 10:07:37 pc-205 com.apple.backupd[436]: Backup completed successfully.
Feb  1 10:07:39 pc-205 com.apple.backupd[436]: Ejected Time Machine disk image.
Feb  1 10:07:40 pc-205 com.apple.backupd[436]: Ejected Time Machine network volume.
The backup seems to finish successfully even if the user doesn't enter the username/password. Any ideas why this would be happening and how to avoid it? Could this be fixed by running a full backup as admin so that time machine doesn't have to backup these inaccessible files (to normal users) anymore?
Thanks for your help

mickleroy wrote:
We setup time machine backups in an office environment which is managed by a mac OS X Lion server.
I'm not familiar with the server product, but the actual backup process should be the same as on the client version.
On some occasions, a device requests an admin username and password whilst time machine is backing up.
Does it say Admin password, or could it be a password for the backup device?  
Feb  1 10:01:16 pc-205 diskarbitrationd[15]: SystemUIServer [206]:24835 not responding.
Feb  1 10:01:33 pc-205 diskarbitrationd[15]: SystemUIServer [206]:24067 not responding.
Not related to Time Machine.
Feb  1 10:06:15 pc-205 sandboxd[513] ([61]): mds(61) deny file-write-data /dev/dtracehelperThat's not coming from Time Machine.  Looks to be related to Spotlght (mds) trying to index something. 
Feb  1 10:07:16 pc-205 mds[61]: (Error) Volume: Could not find requested backup type:2 for volume
We see that occasionally.  It seems to be spurious, or at least not a significant problem.
Feb  1 10:07:37 pc-205 com.apple.backupd[436]: Backup completed successfully.
Feb  1 10:07:39 pc-205 com.apple.backupd[436]: Ejected Time Machine disk image.
Feb  1 10:07:40 pc-205 com.apple.backupd[436]: Ejected Time Machine network volume.
Yes, that's the "bottom line." 
Could this be fixed by running a full backup as admin so that time machine doesn't have to backup these inaccessible files (to normal users) anymore?
No.  However a backup runs, it runs as the root user, so has access to everything.

Similar Messages

  • HT201250 Time Machine backup disk not found

    I recently reconfigured my external disks, creating a 500GB oartition for Time Machine backup. thefirst time I set up Time machine to use that partition all went well. Seconed time it failed "cannot find backup disk." 
    This is a 24 inch, mid 2007 iMac OS X 10.8.2.  I am using two external backup drives - 1T LaCie with 4 partitions and a BlackX removable adaptor with a WD 1T drive plugged in.  Both are formatted Mac OS Extended (Journaled)  In the view below the top "Time Machine" drive at the top is a duplicate of the last drive in the list.
    If I select the top drive - I have the option to "Remove Disk" - NOT to "Use this Disk." So I have to select the bottom "Time Machine" drive.  The backup will then run once but on the second try I get "Time Machine couldn't complete the backup to "Time Machine". Unable to complete backup. An error occured while creating backup folder."  Whether I remove the top listed disk or not doesn't seem to matter, sometimes it finds the drive, sometimes not!
    The BlackX is a USB connected directly to the iMac.  The other partition on that drive contains movie clips and they run fine.
    There is a backup folder on the Time Machine drive with six backups - however I have to "reset" the Time Machine each time to get it to backup.  It craps out on the second try every time.  Got me buffaloed!  Any ideas?

    Assuming you have nothing on your Time Machine volume that you need, erase that volume and Verify it from Disk Utilities. Repair if necessary. Then, go into the Time Machine Preferences and Remove the selected drive to use. Now, reselect it and try a backup.

  • Time Machine Backup failured (Issue 1426)

    Hello at all,
    well i have got a big problem with my macbook.
    I reinstalled it today (incl. formatting the HD). Now i tried to backup my data (I did all updates) 10.5.8 and it failured.
    Its horrible. I need all my data.
    I hope there´s somebody who can help me, because i have to learn for my Bachelor.
    Here some more data:
    Mac OS X, 10.5.8
    4 GB 667 MHz DDR2
    The time Machine:
    WD Ext HDD 1021 Media
    1 TB
    Mac OS x Extended journaled
    And i have to say it was the first time ever i had to reinstall the system since february 2008 i bought my MacBook.
    Please help me...
    Christin

    mickleroy wrote:
    We setup time machine backups in an office environment which is managed by a mac OS X Lion server.
    I'm not familiar with the server product, but the actual backup process should be the same as on the client version.
    On some occasions, a device requests an admin username and password whilst time machine is backing up.
    Does it say Admin password, or could it be a password for the backup device?  
    Feb  1 10:01:16 pc-205 diskarbitrationd[15]: SystemUIServer [206]:24835 not responding.
    Feb  1 10:01:33 pc-205 diskarbitrationd[15]: SystemUIServer [206]:24067 not responding.
    Not related to Time Machine.
    Feb  1 10:06:15 pc-205 sandboxd[513] ([61]): mds(61) deny file-write-data /dev/dtracehelperThat's not coming from Time Machine.  Looks to be related to Spotlght (mds) trying to index something. 
    Feb  1 10:07:16 pc-205 mds[61]: (Error) Volume: Could not find requested backup type:2 for volume
    We see that occasionally.  It seems to be spurious, or at least not a significant problem.
    Feb  1 10:07:37 pc-205 com.apple.backupd[436]: Backup completed successfully.
    Feb  1 10:07:39 pc-205 com.apple.backupd[436]: Ejected Time Machine disk image.
    Feb  1 10:07:40 pc-205 com.apple.backupd[436]: Ejected Time Machine network volume.
    Yes, that's the "bottom line." 
    Could this be fixed by running a full backup as admin so that time machine doesn't have to backup these inaccessible files (to normal users) anymore?
    No.  However a backup runs, it runs as the root user, so has access to everything.

  • More on the Time Machine backup folder issue

    R C-R has a couple recent posts related to identifying the volume on which the current backup folder for Time Machine is located -- so other volumes can be safely unmounted. He developed a script that may be the best of all possible approaches and has asked forum members to test it in "Does this script work for you? (10.5 users only)". To date the responses have been positive.
    I don't use 10.5 but figure that eventually I might. After R C-R's first post I wondered if the most recently modified backup folder might actually be the one he is looking for. Short of forcing Time Machine to do a backup just before running a script (I don't know how), there's no way (for me) to know whether the most recently modified backup folder is of any significance. But I had started fooling around with code to identify that folder and now have a script that seems to work nicely on a 10.4 mock-up of the Time Machine save scheme (or at least I think it is a mock-up). Of course, I find myself without a way to really test it.
    SO: if anyone with 10.5 wants to give it a whirl, the questions are:
    1) Does it run on 10.5?
    2) Does it appear to return the name of the volume containing the most recently modified TM backup folder?
    and
    3) Is there any correlation between the volume name it returns and the result of R C-R's test script? (I won't be surprised if there isn't)
    (BTW, through my own stupidity I encountered a number-comparison problem while writing the code, but other forum members quickly got me straightened out.)
    --BEGIN (for me, the script runs in a fraction of a second)
    set SI_ to system info
    set CN_ to computer name of SI_
    set IntList to {}
    set VtrueList to {}
    set VtrueList_par to "NONE!"
    set minVol to "[Not Applicable]"
    set Vlist to do shell script "ls /Volumes"
    repeat with v_ from 1 to count paragraphs of Vlist
    set VolName_ to paragraph v_ of Vlist
    try
    set SF_ to do shell script "ls /Volumes/'" & VolName_ & "'/Backups.backupdb"
    if SF_ contains CN_ then
    if VtrueList_par is "NONE!" then set VtrueList_par to ""
    set Vtrue to VolName_
    else
    set Vtrue to ""
    end if
    tell application "Finder"
    set IT_ to item ("" & Vtrue & ":Backups.backupdb:" & CN_)
    set MD_ to modification date of IT_
    end tell
    set Interval_ to ((current date) - MD_)
    if Vtrue is not "" then
    set VtrueList to VtrueList & Vtrue as list
    set VtrueList_par to VtrueList_par & Vtrue & return
    end if
    set IntList to IntList & Interval_ as list
    end try
    end repeat
    try
    set CI_ to count items of IntList
    set MinInt_ to item 1 of IntList
    repeat with i_ from 2 to CI_
    set NextInt_ to item i_ of IntList
    if MinInt_ > NextInt_ then set MinInt_ to NextInt_
    end repeat
    end try
    repeat with q_ from 1 to CI_
    set Int_ to (item q_ of IntList)
    if Int_ = MinInt_ then
    try
    set minVol to (item q_ of VtrueList)
    end try
    exit repeat
    end if
    end repeat
    activate
    display dialog "The following connected volumes contain a Time Machine \"Backups.backupdb\" folder at the root level which in turn contains a subfolder with the name of this computer (" & CN_ & "):
    " & VtrueList_par & "
    The most recently modified of the subfolders is on:
    " & minVol & "" buttons {"Unmount all volumes except
    " & minVol & " (and the startup volume)", "Cancel"} default button 1 with title "TIME MACHINE BACKUP FOLDERS ON THIS COMPUTER"
    if button returned of result contains "Unmount all volumes" then
    beep 3 -- (or substitute code for unmounting the appropriate volumes)
    end if
    --END
    Note: this is not a competition -- I'm just curious.

    Hello osimp,
    To distinguish two volumes with same name in plain AppleScript (without denpending upon particular applications such as 'Finder' or 'System Events'), I think you can use either POSIX file object or alias object.
    if I'm not mistaken, POSIX file object has typeFileURL data, which contains mount point information. And alias object contains fertile information to track file system object dynamically not only by its path. (In order to create new alias objects for volumes with the same name, however, you'd have to distinguish them by other means, such as by using POSIX file object.)
    E.g.
    If you have two volumes named "Mac HD" and their mount points are:
    /Volumes/Mac HD
    /Volumes/Mac HD 1
    I think you can distinguish them by:
    set f1 to "/Volumes/Mac HD" as POSIX file
    set f2 to "/Volumes/Mac HD 1" as POSIX file
    or:
    set a1 to "/Volumes/Mac HD" as POSIX file as alias
    set a2 to "/Volumes/Mac HD 1" as POSIX file as alias
    and these references can be used such as:
    set d1 to modification date of (info for f1)
    set d2 to modification date of (info for f2)
    or:
    tell application "Finder"
    set d1a to modification date of a1
    set d2a to modification date of a2
    end tell
    After all, you might write a script as follows:
    --SCRIPT
    set CN_ to computer name of (system info)
    set IntList to {}
    set VtrueList to {}
    set curDate to current date (* get curDate, time origin, once *)
    set Vlist to paragraphs of (do shell script "ls /Volumes")
    repeat with v_ from 1 to count Vlist
    set VolName_ to item v_ of Vlist
    try
    set BkDB_ to ("/Volumes/" & VolName_ & "/Backups.backupdb")
    set SF_ to paragraphs of (do shell script "ls " & quoted form of BkDB_)
    (* get SF_ as string list in order to do exact comparison between each string and CN_ *)
    if SF_ contains CN_ then
    set pf to (BkDB_ & "/" & CN_) as POSIX file
    (* get pf as POSIX file in order to distinguish volumes by mount point. *)
    set end of VtrueList to VolName_ -- mount point name
    set end of IntList to curDate - (modification date of (info for pf))
    end if
    end try
    end repeat
    set CI_ to count IntList
    set MinInt_ to item 1 of IntList
    repeat with i_ from 2 to CI_
    set NextInt_ to item i_ of IntList
    if MinInt_ > NextInt_ then set MinInt_ to NextInt_
    end repeat
    set minVol to "[Not Applicable]"
    repeat with q_ from 1 to CI_
    set Int_ to (item q_ of IntList)
    if Int_ = MinInt_ then
    set minVol to (item q_ of VtrueList)
    exit repeat
    end if
    end repeat
    if CI_ = 0 then
    set VtrueList_par to "NONE!"
    else
    try
    set AppleScript's text item delimiters to {return}
    set VtrueList_par to VtrueList as Unicode text
    set AppleScript's text item delimiters to {""}
    on error errs number errn
    set AppleScript's text item delimiters to {""}
    error errs number errn
    end try
    end if
    return {CN_, minVol, VtrueList, VtrueList_par} -- # for test
    (* Rest omitted *)
    --END OF SCRIPT
    Hope this may be of some help,
    H

  • HT201250 time machine backups?

    Hi, I bought a new mac so I took all the information of the old one and made a back up on time machine BUT the thing is I had snow leopard in the old one and well the new in the new one and i can't open many files or apps how can I enter in time machine of the old one?

    You should have Migrated from the Time Machine backup. That's the easiest way.
    You can still do so, but if you set up the new Mac with the same username as the old one, it may be more difficult.
    To Migrate the old data, open Migration Assistant from the Utilities folder and follow the prompts.
    You can also Option-click the Time Machine icon and choose "Browse Other Backup Disks" and restore files that way.

  • HT201250 Time Machine backups are extremely slow

    Time Machine backups filled an older, smaller external HD, began deleting oldest files.  TM backups began to be very slow, I assumed because of the deletion of older files.  I replaced external HD with a new LaCie 3.0TB external HD (p9233).  Backups are still very slow, take a very long time.  It appears TM is backing up all files each time it runs - literally hundreds of thousands of files each backup when only a few files should have changed from one hour to the next.  I have tried on and off as well as setting up TM anew, nothing seems to affect time and speed.  Any help? 

    Sunnyside77 wrote:
    ... Any help? 
    See Pondini’s excellent Information Here...
    http://pondini.org/TM/Troubleshooting.htm

  • HT201250 time machine - no Permission  to restore

    HI,
    I HAD A POWER FAILURE AND I HAD TO RESTART MY IMAC AND THEN I NOTICE THAT
    THE CABINET FOR NEAT WORKS WAS MISSING. SO I WENT INTO TIME MACHINE AND
    TRIED TO RESTORE, BUT INSTEAD I GOT THIS MESSAGE: " The operation can’t be
    completed because you don’t have permission to access “Neat Library
    2012.nrmlib”. THERE IS NO PASSWORD NEEDED AND I CAN RESTORE OTHER FILES.
    THIS NEAT WORKS CABINET (LIBRARY) HAS 300 PLUS MEGABITS OF INFO, SO HOW DO
    I GET IT BACK?
    I TALK TO NEAT WORKS PEOPLE AND TRIED, THEY SAID THE PROBLEM IS TIME
    MACHINE. SO WHAT IS ONE TO DO?
    JIM SCOTT
    [email protected]

    It sounds like it's not finding any destination drive(s), as that's the next selection (see #14 in the Frequently Asked Questions *User Tip* at the top of this forum).
    Your backups are most likely fine; if it showed you a list, then they're there (and the "magic" of TM is, every backup is, in effect, a full one, even if many old ones have been deleted).
    Select Utilities from the menubar again, then +Disk Utility+ and be sure the new drive appears and is set up properly. On the first line (with the name and size) it must have the GUID *Partition Map Scheme* for an Intel Mac; or the +Apple Partition Map+ for a PPC Mac.
    On the second line, indented, it should have the +Mac OS Extended (Journaled)+ Format.

  • HT201250 Time Machine backup error message.

    I am unable to back up my computer as I get this message -
    "This backup is to large for the back up disk.  The backup requires 138.28 GB but only 124.10 GB are available. TIme Machine needs work spave on the backup disk in addition to the space required to store backups.  Open Time Machiine prefences to select a larger ackup disk or make the back up smaller by exluding files."
    I would appreciate any help as I am lost.  I opened TM and was unable to adjust the file size.
    Thank you for your help!

    Take a look here
    https://discussions.apple.com/thread/2142747?threadID=2142747&messageID=10782279 #10782279

  • HT201250 Time Machine Drive Capacity Issue

    Following this process of deleting files from TM backup, how do I clear the drive space. The drive capacity does not reflect the new deletions.

    What process did you use to delete files? Keep in mind that the TM drive has many "hard links" to files, meaning that common data on it is represented as a file for each backup instance that includes that data. Therefore if you access one backup and remove it, only changed files that are only represented in that backup will be removed. All other files that are represented in more than one backup will remain.
    It is best to allow Time Machine to manage files on the drive, and not manually remove them. While such actions usually do not cause problems, there is a chance that they could. Time Machine will automatically memove old or expired backups to make room for new data.

  • HT201250 Time machine backup to external drive

    I have left my backup drive plugged in overnight after not using it for quite a while.  Time Machine has not updated my backup drive.  Do I need to do more than plug it into the USB port?

    Be sure Time Machine and the drive are both ON.  Try a Back Up Now from the TM icon in your menubar, and see what happens.

  • HT201250 Time machine backup to new macbook

    I am purchasing a new macbook.
    If I use time machine and want to incorporate its backup into a new macbook, does it back up my itunes backup information of my iphone as well?

    Welcome to Apple Support Communities
    Time Machine makes a backup of everything on your OS X partition except you want to exclude some data. Also, if you want to restore files, you can choose what you want to restore, so the answer is that your iPhone backups will also be backed up

  • HT201250 Time Machine backup of internal AND external hard drive

    I have an iMac with an internal hard drive for everything BUT photos and music and an external hard drive for only photos and music. If I hook up a second external hard drive will Time MAchine back up both my external (music/photos) hard drive AND my internal hard drive?

    You will be able to back up the external drive, but you will have to modify settings. Time Machine only makes backups of your OS X partition by default.
    Open System Preferences > Time Machine > Options, and remove the external drive from excluded items, so it will be backed up. I recommend ot have your external drive formatted in "Mac OS Extended (Journaled)"

  • HT201250 Time Machine backup then install new SSD HD + Pulling files from Time Machine from 'old' HD

    Hi Guys,
    I currently have a mid 2009 Macbook pro and I decided to upgrade the current HD in it to an Intel 330 SSD. Which might I add was a *gongshow*.
    Anyways before I did the switch I used Time Machine to back up all my information, and to be double redundant I backed up the REALLY important information on a 8gig flashdrive.
    The removal and reinstall of the new drive went smooth, and once lion was installed I did all the usual system updates.
    Once it came to importing files from Time Machine is when my hassle started.
    The last backup I did on Time Machine with the old HD still installed was at 10:00 this morning.
    I had the new SSD up and running and a new backup of that created by 1:00 (3 hours later).
    When I loaded up Time Machine to grab some files off of my 10:00 backup, it would not let me. The current backups have a Grey/Silver snapshot, and the backups from the OLD HD were blacked out and I could not click on them. What can I do to get these files off my Time Machine from the old HD?
    Thanks

    Quick followup question,
    If I do a migrate with the time machine will the system be updated to the version I had when I made it (10.8.6 I think) or will I have to do the system updates afterwards. If so, will that cause any clashes when applying the time machine migration?

  • HT201250 Time machine backup fail

    I get this message "/Volumes/Data/Toni Martin’s MacBook Pro.sparsebundle" on backup and backup fails. What does it mean?

    Is the rest of the message ". . .sparsebundle ... is already in use"?  If so, see #C12 in Time Machine - Troubleshooting.
    If not, see if you find it in the "C" section of that link.
    If not, see #C2 there to display it again, and either post it all or a screenshot.

  • Permissions issue with Time Machine backup store

    I am struggling with a Time Machine permissions issue on an iMac running OS X 10.10.2 + OS X Server 4.0.3, and backing itself up to an external USB disk.
    Backups complete successfully, but I am unable to carry out any user-level operations such as accessing the "time travel" interface via Enter Time Machine from the menu bar. Invoking Enter Time Machine fails with the error Can't connect to a current Time Machine backup disk. Likewise, although tmutil will correctly list the backup destination, tmutil listbackups produces an error:
    $ tmutil listbackups
    2015-02-05 16:53:19.413 tmutil[29181:2324148] Error enumerating (null): The file “Backups.backupdb” couldn’t be opened because you don’t have permission to view it.
    No machine directory found for host.
    My system logs are full of similar error messages from Finder.
    On the back volume, the permisisons to the store are set to owner root and group wheel, and there is an access control list applied to the directory and Backups.backupdb:
    $ ls -lae
    total 2688
    drwxrwxr-x  12 root  wheel      476 Feb  4 22:29 .
    drwxrwxrwt@  9 root  admin      306 Feb  4 11:57 ..
    0: group:everyone deny add_file,add_subdirectory,directory_inherit,only_inherit
    drwxrwx---+  6 root  wheel      204 Jan 30 13:49 Backups.backupdb
    0: group:everyone deny add_file,delete,add_subdirectory,delete_child,writeattr,writeextattr,chown
    -rwxr-xr-x@  1 root  wheel   115716 Nov 13 02:43 tmbootpicker.ef
    The problem is clearly the drwxrwx--- permissions applied to the store. I can temporarily revert these with chmod, after which all the user-level operations described above work correctly. But on the next backup, backupd will revert the permissions to give wheel write access and remove rx privileges for everyone else. It doesn't leave anything in the system log to suggest why it is making this change.
    I have a MacBook also running OS X 10.10.2, without the Server pack. This also backs up to a (different) external volume. On this volume the owner, group and access control list for the store are set as above, but the permissions are (and remain) what I would have expected, drwxr-xr-x.
    Is there any obvious reason why backupd should be modifying the permissions in this way — and is there any way to stop it?

    Thanks - I was seeing exact same problem on one of my client's machines (10.10.2 with OS X Server). I could see wrong group of "wheel" but wasn't certain that just changing to "staff" would be enough - but seems to have sorted things out

Maybe you are looking for