May I know that how can we copy the data from production to development with all permissions?
Kindly assist here, thanks in advance.
Backup and restore is the easiest way to do it and fir permissions you need to script and run on restore. After restore, run sp_change _users_logins with report option.
Check for missing permission and then again run the same SP with option update_one for already available logins and auto_fix for logina which are not available.
You can Take full backup of production DB and restore in dev. Transfer logins using ssis package(Visual studio) from prod to dev. Now run sp_change_users_login cmd to find orphan users. Run update_one to fix orphan users issue. Now your DB is aready in dev with all permissions as in the production.
Sign up for STechies
All the site contents are Copyright © www.stechies.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies. The site www.stechies.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity. Information used on this site is at your own risk.
The content on this site may not be reproduced or redistributed without the express written permission of
www.stechies.com or the content authors.