Godaddy Backup Script

Automatically Backup GoDaddy Files and Databases
Alternatives To Godaddy Backup Script
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Awesome Postgres8,451
9 days ago63cc0-1.0
A curated list of awesome PostgreSQL software, libraries, tools and resources, inspired by awesome-mysql
Laravel Backup5,1466991302 months ago268August 04, 20227mitPHP
A package to backup your Laravel app
Backup4,7592072010 days ago117June 05, 202010mitRuby
Easy full stack backup operations on UNIX-like systems.
Search Replace Db3,6222462 years ago6May 12, 20202gpl-3.0PHP
This script was made to aid the process of migrating PHP and MySQL based websites. Works with most common CMSes.
Replibyte3,512
20 days ago82gpl-3.0Rust
Seed your development database with real data ⚡️
Gmvault3,429
a year ago133agpl-3.0Python
gmail backup software
Postgres Operator3,212115 days ago247August 04, 2022146apache-2.0Go
Production PostgreSQL for Kubernetes, from high availability Postgres clusters to full-scale database-as-a-service.
Changelog.com2,525
8 hours ago10otherElixir
Changelog is news and podcast for developers. This is our open source platform.
Dbatools2,109
5 days ago199mitPowerShell
🚀 SQL Server automation and instance migrations have never been safer, faster or freer
Vscode Database Client2,009
2 months ago7November 22, 202118mitTypeScript
Database Client For Visual Studio Code
Alternatives To Godaddy Backup Script
Select To Compare


Alternative Project Comparisons
Readme

godaddy-backup-script

Automatically Backup Files and Databases

The script was initially built for godaddy shared hosting. However, as of 2014-12-26, the script will now work on any host that can run bash scripts, including VPS and dedicated servers.

Make sure to fill in config.sh with your settings and to create the relevant database .cnf files before running the script.

In order to run the script automatically, a cron job needs to be setup. To setup a Cron job, go to your Web Hosting Panel (CPanel, Plesk, etc...), and search for "Cron Job Manager". Create a new cron job, and choose how often do you want the backup to occur.

More info on how to install and run can be found on: http://www.tech-and-dev.com/2013/10/backup-godaddy-files-and-databases.html

Manual Restore Files and Databases

restore.sh now lets you restore a previously made backup.

Run ./restore.sh path/to/backup/folder/date_of_backup

BE CAREFUL WITH THIS. Make sure you have at least one good backup stored off the server first, just in case. I have tested this on my own setup and it works, but there are no guarantees that it is bug free.

It moves existing files that would be replaced by the backup to $HOME/tmp_replaced_on_DATE_HERE allowing you to manually restore them if the restore fails. This folder should be deleted manually when everything is confirmed OK

Additionally $HOME/tmp_restore_dir_$Date is created. It should only consist of empty directories (if any) after a successfull restore. You should delete this manually once you are sure the restore was successfull

2017/12/14 Update:

Moved configuration to config.sh

Create backups relative to $HOME instead of /

Use database credential files (*.cnf) for mysqldump so you don't have to pass the password over the cmdline

Added a restore script to let you restore a backup

2014/12/26 Update:

With the correct configurations the script will now work on any host that can run bash scripts, including VPS and dedicated servers.

Added ability to delete backups from the backup FTP after X days.

Added ability to delete local files after the transfer to the backup FTP is completed successfully.

Users can now define the home directory.

Fixed a bug that weren't copying all the files successfully to the FTP

Added Passive mode while connecting to FTP

NOTE: The date format that is stored on the backup FTP has been changed from MM-DD-YYYY to YYYY-MM-DD

Popular Database Projects
Popular Backup Projects
Popular Data Storage Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Shell
Databases
Script
Backup
Cron
Ftp
Restore