3

OK, I'm warming up to Git and DropBox for version control. I'm creating DNN sites and I'm in the process of using Git/DropBox.

I would also like to use Git on the SQL Server backing database.

Is there some sort of best practice that could be employed here? I'm currently getting an access denied error when I attempt to create a repository in the SQL Server DATA directory.

1
  • I wouldnt backup data directory since it is not version agnostic, and not a good idea for distributed development. Commented Jan 19, 2014 at 17:35

2 Answers 2

2

You probably don't have permissions to make a .git folder in there. I would use the sql server tools to create the backup files elsewhere. I would then back those up. You should have no problem putting those in a git repo.

Hope this helps.

Sign up to request clarification or add additional context in comments.

Comments

0

I set my database file location to a custom directory, then stopped the database service and added read/full rights for all users in the system to the file. After that, git had no problem adding the file to version control.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.