Jupyter Notebook is a great tool for data analysis. And one of its greatest features is that you can easily combine runnable code with rich-text annotations. Markdown cells that contain such annotations support both HTML and Markdown syntax. Continue reading Jupyter Notebook Markdown Cheatsheet
With SqlBak you can create a backup job to run scheduled backups of MySQL, send the backups to their destinations, and if needed, restore them. Below is a step-by-step guide on how to automate your MySQL backups if it’s accessible via phpMyAdmin only. Continue reading How to backup MySQL via phpMyAdmin using SqlBak
“There are two types of people: people who do backup, and people who will start doing it.”
If you are not backing up your MySQL databases, you should, and do it before you lose all your precious data.
Making backups is important and necessary. However, if your database is large, then creating a backup will load the server, and the backup itself will consume storage space. In light of these considerations, many make backups once a day at night, or even worse, once a week on weekend! However, a failure can lead to losing data for a period of many hours. What if you want to make backups more often without overloading the server? Incremental backups can help you with this. Continue reading Incremental MySQL Server Backup via Binary Log
Below is the short tutorial on how to enable binary log in Linux. Continue reading How to Enable Binary Log in Linux
No matter what IT project you create, you always need a sandbox to conduct testing and development. If your product has a MySQL database, then you will need to create a database in development environment. Continue reading Prod and Dev: Sync two MySQL databases – easy!
With the help of SqlBak, you can backup your remote SQL Server databases according to your schedule. A standard BACKUP DATABASE command doesn’t work on a remote SQL Server, only scripts can be generated. If there is a choice between scripts generation or performing backups in *.bak files, it is always recommended to run the standard BACKUP DATABASE command to get *.bak files. Scripts have some drawbacks: they are larger and do not support differential and transaction log backups. A more detailed explanation about remote backups can be found in the following blog post.
Amazon RDS SQL Server is a cloud database from Amazon. The way RDS SQL Server performs backups is the main difference between this and classic SQL Server. It offers the following: snapshots, restore point-in-time, Export Data-tier Application, and native backup to S3, instead of native T-SQL BACKUP DATABASE construction.
Continue reading How to backup and restore Amazon RDS SQL Server
After Microsoft has launched SQL Server for Linux, even if your main tech stack is tied to Windows Server you may need to copy the database to another SQL Server located on a Linux computer.
For example, this can come in handy if you want to provide developers with a database for testing without buying a Windows Server license.
There are a few ways to tackle this task. This article examines the following methods to copy SQL Server database from Windows to Linux:
- Using T-SQL’s BACKUP DATABASE and RESTORE DATABASE commands;
- Generation of T-SQL database script (such as mysqldump);
- Creating BACPAC;
- SqlBak service.
If you have a database, then you need to back it up regularly, and preferably not manually. To perform regular backups is only half the battle, you also have to consider where to store them. Saving the backups on the same server where MySQL Server is installed isn’t safe, because if it crashes, you will lose everything. Continue reading How to automate MySQL databases backups to S3