Automated Database Backups

Hey there,

We added direct backup download support to our API. Check our docs for more information at https://api.gearhost.com

If you are windows user you can benefit from this utility https://github.com/gearhost/gearhost-db-backup or https://github.com/GearHost/gearhost-db-backup/releases/download/v.1.3/ghbackup-v1.3.zip which can be scheduled using Windows Scheduler or similar.

2 Likes

hi,I downloaded ghbackup on Windows 2008 r2, stored in the disk C: , but I run after the results appear the following error, please advise:

C:\ghbackup-v1.1>ghbackup.exe -apiKey=xxxxxxxxxxxx -db=xxxxxxx -path=c:\ghbackup-v1.1\Downloads
Database found. Executing backup…

Unhandled Exception: System.Net.WebException: The operation has timed out
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
at System.Net.WebClient.DownloadFile(String address, String fileName)
at GearHost.Database.Backup.Program.ExecBackup()
at GearHost.Database.Backup.Program.Main(String[] args)

C:\ghbackup-v1.1>

It seems your database file is big enough while your download speed is pretty slow and this causing download timeout (which is 60 minutes right now). I will publish patched version (v.1.3) with extended timeout later today and will post github download link in this thread.

Serhiy.

Please try again using updated version https://github.com/GearHost/gearhost-db-backup/releases/download/v.1.3/ghbackup-v1.3.zip