Unattended copying from a netatalk share

Hi everyone,
I’m currently migrating 3 Linux file servers to a new Mac OS X Server. The Linux servers use netatalk to provide AFP shares. I now need to copy all data (many TB) to the Mac server. If I try to copy everything at once using Finder it will often stop with an error message when a file cannot be copied without letting me continue with the next file. I then need to see where exactly it left off and manually continue from there until the next error message. This would take ages so I wanted to find a better way to do this.
I tried using scp using both the shell and Transmit from panic. They work fine, but I cannot go that route since there are some older files (QuarkXPress, etc.) on the shares which would get stripped off their Resource Forks when copied that way.
Does anyone know of a way to just copy everything without needing user interaction? The method should inhibit a log to see what could not be copied for later inspection.
Thanks a lot!
Björn

Solution: Mount the AFP shares via Finder as you would normally, then use Mike Bombich’s rsync (more up to date than the one provided with 10.6.7) and issue
rsync -arvhq --log-file=/path/to/logfile.log /sourcepath /destinationpath

Similar Messages

  • Using robocopy to copy files from a network share over a WinRS command line session

    Hello,
    Preface: Using server 2008 enterprise.
    I can't seem to get robocopy to function over WinRS and I'm not sure where the problem actually lies.  Running robocopy locally on the computer does work fine, but as soon as I try to run it through a remote command prompt through the WinRS client or directly with the WinRS client I get an access denied message (error 5).
    I've tried using runas while logged into the remote command prompt as well, thinking that it could have been some sort of permissions inheritence issue.
    I've checked the permissions on the remote file share, I've even given 'Everyone', 'Anonymous Logon' and the computer's active directory account full control over the folder and the file I'm trying to copy, but still get the access denied error.
    I've tried using /COPY:DT since I read that usually resolved error 5 issues.
    None of these things have worked.
    I'm kind of out of ideas, I've read some blogs of people who have written powershell scripts which use winrm/robocopy so I figure I'm missing something stupid.  Or maybe I've stumbled upon a bug?
    C:\>robocopy \\192.168.100.1\share c:\test example.exe
       ROBOCOPY     ::     Robust File Copy for Windows
      Started : Mon Feb 09 17:35:32 2009
    2009/02/09 17:35:32 ERROR 5 (0x00000005) Getting File System Type of Source \\192.168.100.1\share\
    Access is denied.
       Source - \\192.168.100.1\share\
         Dest : c:\test\
        Files : example.exe
      Options : /COPY:DAT /R:1000000 /W:30
    2009/02/09 17:35:32 ERROR 5 (0x00000005) Accessing Source Directory \\192.168.100.1\share\
    Access is denied.

    Yep, I verified permissions on them all :(
    To maybe complicate the issue, I looked at the environment variables for myself while logged in locally to the computer and through WinRS and they look to be the same.   
    EDIT: Out of pure frustration I wrote a quick console application which impersonates the currently logged in user and copies a file from the network share I'm trying to access to the local computer.  The application properly impersonates the user - but does not copy the files while it's run through WinRM.  When you run the application as a locally logged in user it works just fine.
    WinRM must be behaving goofy :(
     This is the output of the following application:
    C:\Windows\System32>test.exe 
    Name: domain\loggedinuser 
    IsAuthenticated: True 
    User: {GUID} 
    AuthenticationType: Kerberos 
    Destination directory doesn't exist, creating new directory.. 
    Undoing impersonation.. 
    No exceptions, no nothing :(
    Imports System.IO 
    Imports System.IO.File 
    Module Module1 
       Dim impersonationContext As System.Security.Principal.WindowsImpersonationContext 
       Dim currentWindowsIdentity As System.Security.Principal.WindowsIdentity 
       Dim cpr As New copyProgress(AddressOf FileCopyProgress) 
       Dim destinationDir As DirectoryInfo = New DirectoryInfo("c:\destination\") 
       Private Delegate Function copyProgress(ByVal totalFileSize As Int64, ByVal totalBytesTransferred As Int64, ByVal streamSize As Int64, ByVal streamBytesTransferred As Int64, ByVal dwStreamNumber As Int32, ByVal dwCallbackReason As Int32, ByVal hSourceFile As Int32, ByVal hDestinationFile As Int32, ByVal lpData As Int32) As Int32 
       Private Declare Auto Function CopyFile Lib "kernel32.dll" (ByVal lpExistingFileName As String, ByVal lpNewFileName As String, ByVal lpProgressRoutine As copyProgress, ByVal lpData As Int32, ByVal lpBool As Int32, ByVal dwCopyFlags As Int32) As Int32 
       Private Function FileCopyProgress(ByVal totalFileSize As Int64, ByVal totalBytesTransferred As Int64, ByVal streamSize As Int64, ByVal streamBytesTransferred As Int64, ByVal dwStreamNumber As Int32, ByVal dwCallbackReason As Int32, ByVal hSourceFile As Int32, ByVal hDestinationFile As Int32, ByVal lpData As Int32) As Int32 
       End Function 
       Private Function FileCopyProgress2(ByVal totalFileSize As Int64, ByVal totalBytesTransferred As Int64, ByVal streamSize As Int64, ByVal streamBytesTransferred As Int64, ByVal dwStreamNumber As Int32, ByVal dwCallbackReason As Int32, ByVal hSourceFile As Int32, ByVal hDestinationFile As Int32, ByVal lpData As Int32) As Int32 
       End Function 
       Sub Main() 
          Try 
             currentWindowsIdentity = CType(System.Security.Principal.WindowsIdentity.GetCurrent, System.Security.Principal.WindowsIdentity) 
             impersonationContext = currentWindowsIdentity.Impersonate() 
             Console.WriteLine("Name: " & currentWindowsIdentity.Name) 
             Console.WriteLine("IsAuthenticated: " & currentWindowsIdentity.IsAuthenticated) 
             Console.WriteLine("User: " & currentWindowsIdentity.User.ToString) 
             Console.WriteLine("AuthenticationType: " & currentWindowsIdentity.AuthenticationType) 
             If Not destinationDir.Exists Then 
                Console.WriteLine("Destination directory doesn't exist, creating new directory..") 
                destinationDir.Create() 
             End If 
             CopyFile(Path.Combine("\\192.168.100.1\share\", "example.exe"), Path.Combine("c:\destination\", "example.exe"), cpr, 0, 0, 0) 
          Catch ex As Exception 
             Console.WriteLine(ex.ToString) 
          Finally 
             Console.WriteLine("Undoing impersonation..") 
             impersonationContext.Undo() 
          End Try 
          Console.ReadKey() 
       End Sub 
    End Module 

  • Error Message When Importing Bookmarks From A Network Share

    An error message is generated whenever I try to import bookmarks.html from a network share on kubuntu. This same operation is sucessful on the windows version of firefox.
    To replicate:
    The bookmarks.html is created by Firefox 3.68 on windows 7. And is saved to a network share location. When trying to import this file into firefox 3.6.8 on my kubuntu 10.04 machine, I get the error message/window titled: remote files not accepted. The message states: You can only select local files.
    If I copy bookmarks.html local to the kubuntu machine, it imports without error.
    On windows, I can import bookmarks.html from the network share without error.
    Does anyone know why I can't import across the network on the kubuntu version?
    browser being run on windows 7:
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
    browser being run on kubuntu 10.04:
    Firefox 3.6.8 Mozilla Firefox for Ubuntu canonical - 1.0.

    It appears to be any remote file, not just the bookmarks file. When trying to upload a file to a website, firefox threw up the same error:
    error message/window titled: remote files not accepted. The message states: You can only select local files.
    So what is it about files that are sitting on a server, firefox and kubuntu that causes this? I don't get the error message when using win7 on the same files.

  • Can I send a link to a photo book so family members can choose to order a copy from Apple?

    I woud like to share the photo book that I created so that family members in other states can consider purchasing a copy from I Photo.  Is there a way they can view it?

    Before ordering your book preview it using this method - http://support.apple.com/kb/HT1040 - and save the resulting PDF for reference - the delivered book will match it.
    you can share the PDF via drobbok or other file sharing service
    LN

  • Is there any way to use copy from function in cProject Project creation.

    Hi,
    Kinldy suggest if any one have idea to use copy from function in cProject while creating Project in cProject.
    We have copy from function in our material creation and BOM, Is there any way to copy the old project and we can take the same for new project as a Paste entire structure.
    Please share with me if you have any ideas for the same.
    Thanls in advance for your help.
    Thanks & Regards.
    Raj

    Hi,
    please see
    [http://help.sap.com/saphelp_ppm50/helpdata/en/4a/6431a343946ba2e10000000a421937/frameset.htm|http://help.sap.com/saphelp_ppm50/helpdata/en/4a/6431a343946ba2e10000000a421937/frameset.htm]
    there the third case ("Based on an operational project ...")
    Kind regards,
       Florian

  • Can't copy files to network share using migrated account

    Man this is so bizarre. I got a new MacBook Pro and used the Migration Assistant to copy over everything from the old MacBook Pro. Everything seems to work except I can't copy files to my desktop via a network share.
    What's totally bizarre about this is that I can delete and rename files from the network share! I can also drop into the command line and try copying - at first, I get "Operation not permitted", but if execute the command again, it works!
    In the Finder, when I try to copy a file, I get a window that says:
    "You may need to enter the name and password for an administrator on this computer to change the item named "xxx". If I click stop at this point, a zero-byte file is created on the target machine.
    If I click Continue, I get another window that says "The item "xxx" contains one or more items you do not have permissions to read. Do you want to copy the items you are allowed to read?
    If I click Continue, I get a final window that says "The operation cannot be completed because you do not have sufficient privileges for some of the items".
    Note that this also happens in the opposite direction when I connect to my notebook from my desktop.
    Also note that this only happens with the account that was migrated. I can successfully copy files if I setup a new account.
    I've repaired permission on both machines. My old account on the old MacBook Pro still works fine, btw.
    I've seen other posts with people having this problem, but I've yet to see a good solution.

    I had the same problem, but I managed to fix it.
    In WGM check that the sharepoint of your users Home Folder is set to owner root with Read and Write permissions.
    I also created an ard_admin group in WGM and enabled open directory management on the client Macs. (Page 62 of the ARD admin Guide.)

  • Best way to copy from an External HD to TimeCapsule's internal HD?

    Hi, I have a USB 2.0 connectable external drive (powered) that's full of files I'd like to copy over to my TimeCapsule's internal drive. If I connect the USB to my Mac and copy the files by selecting them all and dragging them to the mounted share on the TC it takes forever. Will it make a difference if I connect the external drive directly to the TC and mount both shares on my Mac's desktop and copy from one share to the other?
    I was wondering if the data transfer will then be directly from drive to drive or still comes over the WiFi network to the Mac (as cache for the process), since the Mac is running the copy command.
    Can someone with insight in these matters clarify ? Thanks!

    sjogro wrote:
    Hi, I have a USB 2.0 connectable external drive (powered) that's full of files I'd like to copy over to my TimeCapsule's internal drive. If I connect the USB to my Mac and copy the files by selecting them all and dragging them to the mounted share on the TC it takes forever. Will it make a difference if I connect the external drive directly to the TC and mount both shares on my Mac's desktop and copy from one share to the other?
    No, that will take even longer. The data must go from the USB drive, through the TC, to your Mac, then back to the TC.
    The only way you can transfer directly between the TC and an attached USB drive is to "archive" the TC's entire disk to the USB. The TC doesn't have the software to do anything else directly.
    If you can connect your Mac to the TC via Ethernet, that will be 2-3 times faster than even a good WIFI connection.

  • Customisation settings for VC Configuration copy from Purchase order to GRN(Goods Receipt note)

    Hi Experts
    I was looking for Customisation settings for VC Configuration copy from Purchase order to GRN(Goods Receipt note),
    Please share.
    Regards
    Sandeep

    Hi Ritesh
    Thanks for your reply,
    I checked  both of these transaction  we need to select 3 option Characetrstics frm configuration(prio) and classification. I will check that, I had one more question
    In PO VC configuration is called for class type-300  and  in GRN VC configuration  is called for class type -023. How it will fetch the variant class configuration to Batch class configuration?
    Once we had faced some issues the copy from PO to GRN was happening for some batches & some batches it was not happening.
    yes we have activated Mill Functions in our ERP box.
    Regards
    Sandeep

  • Can I use a different mail client to "Send a Copy" from Pages?

    One of my favorite Pages features is its ability to send someone a copy of your document in Pages, Word, PDF, or ePub format via email with only a couple clicks in the "Share" button. But this feature only works if Mail, Apple's email client, is set as the default email client for your Mac. Because I use Unibox as my email client, I'm unable to take advantage of the "Send a Copy" feature in Pages. Is there a work around for this or a settings file within the system I can tweak to allow me to use a mail client other than Apple Mail to "Send a Copy" from Pages? Thank you!

    No, I haven't heard that. YOu have to do it the old fashion way and attach a document in your mail client before sending the mail.

  • VPRS copied from Sales Order to invoice is different

    Hi experts,
    I have a query in VPRS costs.  Below is the setting for VPRS.
    In MM03 “Acctg view” the Price Control is “S” & Std. Price is $10
    In item category TAN 'determine costs' is ticked
    In the cond type VPRS cond cat is g (cost)
    In Pricing Procedure below is selected for VPRS,
    statistical value :- checked
    subtotal :- B
    an requirement :- 4
    In Sales Order the VPRS copies correctly the std price $10. But when creating invoice VPRS shows $21.
    Is there some setting in the copy control?  Pls share your ideas.
    Thanks,
    Anne

    Hello,
    To achieve that the actual costs of the business transaction are included in the VPRS condition, the condition category must be 'G' - Cost. Only in this case, the costs may be taken from the goods issue (or the invoice verification, goods receipt or purchase order). Settings 'S' or 'T' take the value from the valuation segment of the material master only.
    Go to the detail display of the VPRS condition. If the condition control (KSTEU) is set to 'H', the cost was taken from the goods issue. If it set to 'A', it was redetermined from the valuation segment of the material master, in case of 'D' or 'E' it was copied from the preceding document.
    Reward points pls.
    Regards,
    Govind.

  • Streaming video from a Samba share in KDE

    When I try to open a video from a remote share with SMPlayer, KDE starts downloading it locally, and that is cleanly not what I want.
    How to make it behave normally (say, like GNOME)?

    I can't solve your problem entirely but it appears to be something to do with how SMPlayer handles streaming - it's downloading a cached copy first before it plays it on my system.  If I remove SMPlayer (I don't use it, I just installed it to test what you were seeing as I'd never seen that behaviour) and let either Dragon Player or VLC open the file, the "correct" method of streaming the video happens.
    Hope that at leasts sets you off on working out how to make SMPlayer do what you want, if not just make the easy switch of player to get the functionality you want.

  • I'm not sure I know how to use numbers 09 after iworks has left. I emailed a copy from my ipad to my pc, saved it  but, it won't open on my pc desktop.  Also, how do I move an excell spread sheet now from my pc to my ipad?

    I'm not sure I know how to use numbers 09 now that iworks has departed. I emailed a copy from my ipad to my pc,saved it to my desktop but it won't open. Also, how do I now move an excel spreadsheet from my pc to my ipad?

    iWork (no 's') for iOS & iWork for Mac have not gone away.
    iWork.com (beta) (also no 's') is going away the end of July. iWork.com (beta) is/was an online method of sharing iWork files with other users & never moved out of beta in 3+ years. It is a completely different entity than the iWork apps & is not & never has been necessary for the iWork apps to function.
    A Numbers document, as well as Pages or Keynote documents, cannot be opened on a PC. You must first export them to a file that a PC can use. For Numbers that is generally Excel. In Numbers on your iPad tap the wrench & then tap Share & Print & choose Excel as the file type.
    As for transfering a file from a PC to an iPad, I'm not sure as I don't use a PC.

  • Exchange Server Online 2013 Email Reports & Unattended Emails from reciever

    Hello All,
    I am very new in exchange server, i there any way to get these following requirements 
    emails reports - to include info like no. of emails received by a particular user, unattended emails, response time to an email etc?
      to check & implement if we can call back an unattended email from receiver's end. For eg. if an email is lying unattended in receiver's inbox for 7 days, same is automatically reverted & the sender is notified along with a copy of that email?
      to check & implement if there is any system under which a user cannnot delete any email either incoming or outgoing?
    Expecting your valuable suggestion to fulfill above points, thanks in advance
    Mahendra

    Hello,
    Hopefully I can answer some of your questions below:
    1.  Email reports, here's a good script that can tell how many emails a user has sent/received in a particular time frame, take a look at this:  http://www.msexchange.org/kbase/ExchangeServerTips/ExchangeServer2010/Powershell/NumberofE-mailsSentandReceivedbyoneUser.html
    As far as unattended (I'm assuming you mean unread) emails and response time to emails, there is no automated function that can tell you that.  You would have to search message tracking logs to see when one email is received by a user, and then see
    if/when they replied to it.
    2.  To have any type of automation on unread emails and a notification back to the sender, I doubt that's possible.  Also, that could potentially generate a ton of unnecessary email traffic on your network (for example, I get TONS of alert/notification
    emails daily, and don't always read them, having Exchange try to track all of that, and notify the sender of unread messages after 7 days would be a lot to put on exchange).  I would look into read and delivery receipts that users can use to track this
    type of thing.
    3.  If you want to put a user's mailbox in a state that they cannot delete anything, either implement Journaling for your entire Exchange Org (http://technet.microsoft.com/en-us/library/aa998649(v=exchg.150).aspx) or if you're interested in doing this
    type of thing per mailbox, I would use the:
    Set-Mailbox -Identity <userID> -litigationholdenabled $true
    http://blogs.technet.com/b/exchange/archive/2013/12/11/litigation-hold-and-in-place-hold-in-exchange-2013-and-exchange-online.aspx
    Hope this helps!
    Statik

  • After update to 10.6.3 copy to a Samba share fails

    I have just upgraded to 10.6.3. Since then whenever I copy a file from my iMac to a Samba share on a Linux server I get the error:
    The operation can't be completed because you don't have permission to access some of the items.
    No changes were made on the server before this update.
    If I create a file using any program or create/delete a folder on the share works fine, but I cannot copy files. The error occurs at the end of the copy, not a the beginning....
    Anyone has had this problem? My best guess is something is not right with this latest patch.

    Hi,
    I have noticed the error occurs when I copy files from my Mac to any samba server (I run OpenSuSE on a Phenom-X4 and Ubuntu PPC on an old iBook-G3). However when I copy to a file share on a PC running Windows Server 2003 I do not get any file copy problems.
    Reading and executing files from mounted samba shares or windows shares did not seem to have any issues.
    For the moment I have relegated myself to copying files to a Windows OS running on a virtual machine in my Phenom-X4 and then logging into the VM and copying the files a second time to the samba share but I would appreciate anyone posting further on this issue. Because of my experiences I believe the issue is an incompatibility with the Samba servers after upgrading to 10.6.3.

  • The float in windows option is grey and not accessable ? How can I copy from one image to another ? Elements 11

    The float all in windows option is grey and not accessible ? How can I copy from one image to another ? Elements 11

    You really are not getting this.
    "I guess I am still completely shocked that as a parent we can't download something for everyone to use."
    Why do you continue to think this although we keep telling you that this is not the case.
    You do NOT have to purchase anything twice.  You can share the music with as many ipods as you like in your household.
    The ipods are designed to sync with your computer regularly.  You should have been syncing these other ipods with your computer all along, thus transferring the purchases to your computer where that music can be synced to as many ipods as you like.
    Take on of the ipods with the music in it.  Open itunes on your computer.  Plug in the ipod.  Do not sync.  Click File>Transfer Purchases  This will transfer the purchases from the ipod to the computer.  Make sure that you have authorized your account on the computer:  here are directions for that. http://support.apple.com/kb/HT1420
    Unplug the ipod.
    Plug in the other ipod with purchased music.  Do not sync.  Click File>Transfer Purchases  This will transfer purchases from the ipod to the computer.
    You can now plug in any of the ipods, select what you want to sync and sync.
    Have a look at the manual for the ipod.  http://manuals.info.apple.com/en_US/iPod_touch_iOS4_User_Guide.pdf

Maybe you are looking for

  • Since performing the latest update I can no longer use more than three displays.

    Does anyone know of a fix for the problem where you can only run 3 monitors?  I was running 4 displays before the update but now only three can run.  Apple support recognizes the problem but does not have a answer.  Anybody else haveing this problem?

  • Compare SQL file tables as a file content VS Documentum or Alfresco

    Hello - Documentum & Alfresco are 2 examples of Document Content Management (file repository, workflows, notifications, etc), I am interesting in the file content management where system provides file repository and some extra features like check in

  • Explain Price qty variance account postings...

    Hello Could anyone explain the price quantity variance and its account postings. What will happen when: 1. PO for 100 pcs @ 2.0 2. IR for 50 pcs @ 2.2 3.  GR For 80 pcs 4. IR again for rest 50 pcs @ 2.2 What will the GR take as a price and what will

  • Will this sync with outlook and is it easy?

    Will this sync with outlook and is it easy to do?  I run a PC and not a MAC-based computer, does it matter or make it more difficult?

  • KeyBoard Problem HP Notebook 2000 PC

    Im not quite sure where to put this but hopefully someone can help. Last night I was on my Hp notebook 2000 laptop pc and it was working perfectly fine but today I hadent gone on it all day and wanted to go on it. So everything loads up correctly and