Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Chris Fore 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

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 Leaders.
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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events