We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

Chris N.'s avatar
Chris N.
New member | Level 2
8 years ago
Solved

ReSync after time machine restore, doesn't make any sense.

This is the scenario:

 

Dropbox is up to date, the local folder is identical to the remote folder. You perform a time machine backup, and restore to a new disk.

What happens is after restore Dropbox asks for user / pass as it was not installed and then starts resyncing all the thousands of files. What's the sense of this?? Shouldn't it just be aware that nothing has changed and live with that? 

  • Mark's avatar
    Mark
    8 years ago
    You've missed a step between 5 and 6. Before it sync's it index's the files (THIS is what takes the time usually).

    At this point, no, it will know that there is a difference in the data between what is on your machine and what is in the cloud. It will then download the 'newest' versions of the updated files as needed.

    However, even if it doesnt you can still rollback the file online within 30 days - if for example something else also went wrong.... maybe for some unknown reason that file was also corrupted on your local machine before it went flying out of the window :)

9 Replies

Replies have been turned off for this discussion
  • Rich's avatar
    Rich
    Icon for Super User II rankSuper User II
    8 years ago

    Chris N. wrote:

    Shouldn't it just be aware that nothing has changed and live with that? 


    No, it shouldn't, and you've just explained why.

     


    What happens is after restore Dropbox asks for user / pass as it was not installed and then starts resyncing all the thousands of files.

    Dropbox has a local database that it uses to keep track of all your files. When your files are indexed, this database gets populated. If you uninstall and resinstall Dropbox, or if this database otherwise becomes corrupted or deleted for whatever reason, Dropbox needs to index your files to rebuild the database.

     

    Typically, a re-index is very quick when the database is already populated, as it's only comparing your files with what it already has indexed, but when that index doesn't exist, it takes more time to rebuild it.

  • Chris N.'s avatar
    Chris N.
    New member | Level 2
    8 years ago

    Well, the DB should be there as it was just backupped to Time Machine

  • Rich's avatar
    Rich
    Icon for Super User II rankSuper User II
    8 years ago
    Then either Time Machine didn't back it up properly, or it wasn't able to restore Dropbox in a working state. You yourself stated that Dropbox prompted you to connect to an account. If that's the case, then Dropbox didn't have all the needed files to work correctly, and initiated the re-connection. At this point, the database would be rebuilt.

    Simply put, the problem here isn't with Dropbox, but with the process being used to backup/restore it. Dropbox is working as intended.
  • mikezter's avatar
    mikezter
    Helpful | Level 5
    8 years ago

    Your response doesn't make sense. I'm using Time Machine and Carbon Copy Cloner regularly, and regularly i have to re-sync my Dropbox-Library. Both tools apparently don't "back it up properly"?

     

    Somehow all my other apps manage to store their state somwhere, and keep it after a restore. Only Dropbox "forgets" the stored credentials.

  • Mark's avatar
    Mark
    Icon for Super User II rankSuper User II
    8 years ago
    It isnt forgetting the stored credentials it is changing the files that have been changed - i.e. the locally created/modified data has changed, or, in the case of something like Excel where the last highlighted cell was.

    The backup process also does not store the database correctly usually (for safety so that it couldnt be moved to another machine and used to 'clone' your account on to it without any safety credentials).

    The other thing to remember is often different versions / installs of Dropbox require different versions of database so even if the restore goes well it needs to update the database to keep all safe.
  • mikezter's avatar
    mikezter
    Helpful | Level 5
    8 years ago
    Thanks for the quick reply.
    I think both (user and Dropbox) have their case. The worrying thing is this:
    It is not entirely clear to the user what is actually happening to the files. Suppose this scenario:

    1. Make a Backup of your Macbook using Time Machine or CCC
    2. Go to work, edit/create things in your Dropbox
    3. Come home, toddler has thrown your Macbook out the window
    4. Restore to a new Macbook
    5. Dropbox asks for credentials
    6. After login, it says something like "Syncing 10.238 files..."

    Question is: Will the newly linked Dropbox software undo the changes i did at the office (i.e. upload the restored stale files)?

    Thanks a lot for taking the time to answer.
    Greetings, Mike
  • Mark's avatar
    Mark
    Icon for Super User II rankSuper User II
    8 years ago
    You've missed a step between 5 and 6. Before it sync's it index's the files (THIS is what takes the time usually).

    At this point, no, it will know that there is a difference in the data between what is on your machine and what is in the cloud. It will then download the 'newest' versions of the updated files as needed.

    However, even if it doesnt you can still rollback the file online within 30 days - if for example something else also went wrong.... maybe for some unknown reason that file was also corrupted on your local machine before it went flying out of the window :)
  • mikezter's avatar
    mikezter
    Helpful | Level 5
    8 years ago

    Ok, thanks very much.

     

    May i propose to make the difference between syncing and indexing clear in the client. I'm sure you're right and the client indexes first, but it shows "syncing x files". That is what made me nervous, because i surely didn't change 10k files and was not sure what the client is doing. 

  • Jane's avatar
    Jane
    Icon for Dropbox Staff rankDropbox Staff
    8 years ago
     
    Thanks for reaching out on the Community, I’ll make sure to pass your comments up the ladder for future consideration!
     
    If it's not too much trouble for you, would you mind taking a minute of your time to fill out a survey sharing your experience using the Dropbox Community? You can access it here: http://bit.ly/2lNKIxT .
     
    Hope you have a great rest of the day! 
     
    [This thread is now closed. If you're experiencing a similar behavior, feel free to start a new discussion in the Find Answers section here. ]

About Delete, edit, and organize

Solve issues with deleting, editing, and organizing files and folders in your Dropbox account with support from the Dropbox Community.

Need More Support

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!