Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

Best way to Move User's Content

New post

Comments

5 comments

  • halbot

    So we did this during a data migration, using the powershell module I just posted in this forum.

    Basically the script did this:

    - Created a folder in an archive folder, which was owned by an admin account

    - Added the admin account to the source folder you want to move as co-owner

    - Move the box folder. Yes this will time out with large amounts of data, but the process will continue regardless i.e. once you have told Box to do it, it will carry on and may take several hours. At this point you may have to stop your script and run it again.

    - Remove all collaborations on the folder, including the original user so they no longer have access

    So this all worked fine, we moved about 4TB doing it this way. The only annoying thing were the timeouts, but you won't lose data and it will eventually all move anyway.

    0
    Comment actions Permalink
  • dharmesh_amity

    This is exactly what I am currently doing. But after the transfer is complete, I have to run make the add the original user as viewonly collaborator to the transferred content. The folders are locked until the Move is complete and there is no way to know when it is complete. With this approach, I may have to develop another polling process to keep checking. 

    I am hoping if there is a better way. 

    0
    Comment actions Permalink
  • halbot

    I see, yes as far as I know there is no way to know when it finishes, and it can take an incredibly long time as you know. What happens if you add the user before it has finished moving?

    0
    Comment actions Permalink
  • dharmesh_amity

    Get conflict error or a 404 Not Found. I guess, I will just need to implement retry logic until it is successful. It would be great if there was a way to definitely find out if the processing is complete. Like a check Status API.

    0
    Comment actions Permalink
  • halbot

    What you could do is create a group, make the group a collaborator, add the user to the group, and then move it. That way they will be a collaborator the whole time.

    0
    Comment actions Permalink

Post is closed for comments.