I have website on external server and local linux machine.
I prefer working on local version, because it is faster.
After adding new modules, and changing DB content (for example adding node) I wish to upload these changes to external server.
But how to not loose DB changes (and site/files) added by real time users ?
I’m using drush rsync and sql-sync.
Use Features module to create new exportable features for the external website and they will show as modules. For example you can create a feature which contains a new content type and a view. You can also export roles, fields etc.
Use Strongarm module to export system variables and settings. You can export nodes and taxonomy terms by integrating them with features module with UUID Features module or Default content module.