Category Archives: Learn SQL

MySQL DBMS – /bin/sh: 1: /usr/bin/mysql: not found

If you get one of the following error messages during the setting up of SqlBak on Linux or during the execution of a backup job:

MySQL DBMS – /bin/sh: 1:/usr/bin/mysql: not found
or
MySQL DBMS – /bin/sh: 1:/usr/bin/mysqldump: not found

it means that the SqlBak app could not find the path to the MySQL executables. By default, SqlBak searches for MySQL files in the /usr/bin/mysql directory. Continue reading MySQL DBMS – /bin/sh: 1: /usr/bin/mysql: not found

MS SQL Server DBMS – /bin/sh: 1: /opt/mssql-tools/bin/sqlcmd

If you get the following error message during SqlBak set up on Linux or during a backup job:

MS SQL Server DBMS – /bin/sh: 1: /opt/mssql-tools/bin/sqlcmd

it means that SqlBak app could not find the path to the msql executables. By default, SqlBak searches for mssql files in the /opt/mssql-tools/bin/sqlcmd directory. Continue reading MS SQL Server DBMS – /bin/sh: 1: /opt/mssql-tools/bin/sqlcmd

PostgreSQL DBMS – /bin/sh: 1: /usr/bin/psql: not found

If during setting up of SqlBak on Linux or during a backup job one of the following errors occurs:

PostgreSQL DBMS – /bin/sh: 1: /usr/bin/psql: not found
or
PostgreSQL DBMS – /bin/sh: 1: /usr/bin/pgdump: not found

it means that SqlBak app could not find the path to postgresql executables. By default, SqlBak looks for postgresql files in the /usr/bin/psql directory.  Continue reading PostgreSQL DBMS – /bin/sh: 1: /usr/bin/psql: not found

How to Automate MySQL Database Backups in Linux

Automated backup of MySQL databases can be a serious task. The proper way to automate backups involves the following steps:

  1. Create a database backup
  2. Zip the backup
  3. Encrypt the compressed file
  4. Send the backup to storage over the Internet, FTP, Dropbox, AWS, Google Drive, etc.
  5. Receive email notifications concerning backup results
  6. Create a backup schedule
  7. Delete old backups

Continue reading How to Automate MySQL Database Backups in Linux

How to Backup SQL Server to FTP Server

Copy of Destinations (3)One of the most popular ways how to create SQL Server database backup is to use SSMS or T-SQL Commands. But  what if your backup plan is full backups twice a day, differential backups every 4 hours and transaction log backups every 30 minutes and you prefer to store all SQL Server database backup on FTP Server. How much time will you spend each day to complete such scenarios? You can simple tune SqlBak backup job just in few minutes, which will make SQL Server database backups according to your schedule and send them to FTP Server. Continue reading How to Backup SQL Server to FTP Server

How to Backup SQL Server to Local or Network Folder

How to Backup SQL Server to Local or Network Folder (logo)Do you make your SQL Server database backups with the help of SSMS or by using T-SQL Commands, or in any other way? How much time do you usually spend every day to make backups and store them to Local or Network Folder? With the help of SqlBak,  you can  create a backup job which will make SQL Server backup on a regular basis and store them to your local or network folder. Continue reading How to Backup SQL Server to Local or Network Folder

How to Backup SQL Server to Amazon S3

How to Backup SQL Server to Amazon S3 (logo)There are many ways of making SQL Server database backups and there are as many methods as to how and where to store them. But are you sure that your method really convenient for you? What if you database backup plan is: a full backup twice a day, differential every four hours and transaction log backups every 30 minutes, and all these backups you need to send to Amazon S3. How much time will you spend every day to make all these backup? Fortunately, you can create a backup job with the help of SqlBak in a few minutes, which will make all backups according to your schedule and send them to Amazon S3. Continue reading How to Backup SQL Server to Amazon S3

How to Backup SQL Server to OneDrive

How to backup SQL Server to OneDriveYou can make SQL Server database backups with the help of T-SQL Commands or with the help of SSMS and then move them to OneDrive. But how much time it will take you to do it? Use SqlBak and spend 5 minutes to create a backup job which will make schedule backups and send them to OneDrive.  Continue reading How to Backup SQL Server to OneDrive