(Guide) Navicat and DropBox automatic backup

GodFather

The GodFather ✔
Feb 22, 2013
393
93
HgJO7.png


Hello, thought I would share this smart way to store automatic backups of your database in the cloud. Personally I don't like Navicat or Windows Server but I spent some time learning the basics in Navicat.

What do I need?
- Windows OS
- Navicat Premium
- Dropbox Free(or Pro)

How does it work?
It is very simple, you create a batch job that will take backup and give it a schedule so it will repeat. Now this is where Dropbox comes in, after installing Dropbox on your server you will get a folder that will sync all the files you upload. This means after the files are synced you can access them anywhere even if your server is off.

I will show you how to change destination folder for your backups. All your backups will be compressed in a .PSC file. This is why you don't really need a Pro user at Dropbox. My database is on 2 gb~ but after the backup is compressed and uploaded to Dropbox it's only 180 MB.

Let's start
1. Right-click on your connection and click Connection Properties
2YTVDCq.png


2. Click Advanced, then change "Settings Save Path" to your Dropbox folder.
6tNRDvlO7.png

My Dropbox folder is on my Desktop but you did maybe put your's somewhere else.

3. Go back to Navicat and press "Schedule", then click New Batch Job.


JdRg8.png


4. Double click on "Backup (yourdatabasename)" so it will show up in the field under.


t7CGq.png


5. Now let's save! press CTRL+S and type in a name ex. Backup and then Ok.

6. The backup is now ready but with no function. Press Set Task Schedule and go to "Schedule".

You can now enter when you would like to take automatic backups. I choosed Daily and 8 PM because then it's night where I live so few users are online.


CTM5QBNWD.png


7. After you have set your schedule press Ok and enter your server password.

Pro tips: Create another Batch Job that empty your chatlog 5 minutes before the backup.

You can now access your backups anywhere and through all your devices!

This is also really smart in many ways, let's say your server gets hacked and they wipe your database. You will still have the database from last schedule. Just make sure to store Dropbox another place then your Desktop.

Enjoy!
 

Users who are viewing this thread

Top