The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

What's the recommended way to keep project's SQL database backup in Bitbucket repository?

Chris Fore
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 6, 2014

We have several repositories for CMS sites, which include files and a database. What's the best keep a SQL Server/MySQL database backup file in the repository? As a download?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
May 6, 2014

That depends on whether you want them versioned or not. If you would like to access old copies of database backups, it would make more sense to add them to a special folder in the repository itself, where they get committed and pushed to Bitbucket.

If you only care about the current version, then uploading them as downloads makes a little more sense, but I would consider storing them somewhere else entirely. Bitbucket is not designed or optimized as backup storage.

My project versions the SQL database definition files, but not backups of production data.

TAGS
AUG Leaders

Atlassian Community Events