I am trying to install dropbox automatically in my server auto-install script so when I spawn a new VPS instance I'm able to have dropbox installed and have the credentials already inputed via the auto-install script for my VPS instance.
I know dropbox daemon dropboxd, stores profile/credential information in ~/.dropbox, however I've tried zipping/taring the folder and all its contents but it never worked when I would remove the .dropbox folder then unzip or untar the saved profile. When running dropboxd it would say the first-time-install message of 'This computer isn't linked to any Dropbox account...Please visit https://www.dropbox.com/cli_link?host_id=...'
How do I extract the profile information from my system so I can replicate it across new server instances that will be using the same dropbox account for syncing?
Also a note: I have tried dropbox uploader scripts but they don't have the sync feature where they can watch for changes in the background which I need for easy updates. trying to avoid setting up a messy cronjob when I can just use the dropbox daemon that was built for syncing.