The BACKUP DATABASE command syntax allows performing backups by specifying a drive, a network folder, or azure storage as the destination. Unfortunately, it is not possible to set an Amazon S3 bucket as a backup savepoint. However, it is possible to transfer the file to S3 using a batch script or a third-party utility. Continue reading Automated SQL Server Backups to Amazon S3 on Windows
For the MySQL database to work quickly and without interruptions, it is necessary to perform maintenance jobs from time to time. This mostly just means running a few commands, but let’s address first things first. Continue reading MySQL Maintenance Automation
One of the primary responsibilities of the DBA is to create regular backups. However, maintenance of the database is not limited to this.
The mechanisms that enable a relational database to run fast are based on a complex storage system that degrades over time. It leads to a general database slowdown. Continue reading PostgreSQL Maintenance Automation
The first thing a DBA should do after deploying a database is to ensure that backups are created regularly.
But storing a backup file on the same server where the MySQL server is located would be a big mistake. Therefore, you should create a backup and put it out of the server on which MySQL is located. The simplest solution would be to transfer it to another server via FTP. Continue reading How to automatically upload MySQL backup to FTP on Linux
The average lifespan of an SD card on a Raspberry Pi is two years. It is impossible to predict the date of failure of an SD card accurately. However, if you perform a regular backup of data on the card, its potential failure ceases to be an issue.
Continue reading Automatic backup of Raspberry PI to any cloud
The main console utilities for working with MySQL are located in the directory where MySQL Server is installed. However, after installing MySQL Server, it is often difficult to find this directory. The best way is to add this path to your PATH environment variable, and then you can use MySQL and mysqldump utilities directly. Continue reading How to Find the Path to the MySQL Installation Directory on Windows and Add it to PATH Environment Variable
No matter what IT project you are creating, you will always need a sandbox for testing and development. If your product has a MySQL database, then you will need to create a database in a development environment. Continue reading Prod and Dev: Sync Two MySQL databases – Easy!
If you have an important database, then you need to make sure to back it up regularly. Preferably, you will make sure this happens automatically. But performing regular backups is only half the battle — you also have to consider where to store them. Saving the backups on the same server where the MySQL Server is installed isn’t safe, because if it crashes, you will lose everything. Continue reading How to Automate MySQL Database Backups to S3
The solutions that are mentioned in this article work for any Linux distribution: Ubuntu, Red Hat, Open SUSE, CentOS, Debian, Oracle Linux etc. Note, the package installation commands may differ slightly.
A question of regular backup sooner or later comes up for any DBMS. PostgreSQL is no exception. As a rule, the pg_dump utility, which is part of the PostgreSQL client, is used to create a hot backup.
Continue reading How to Automate PostgreSQL Database Backups in Linux