No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.project
README.md
countly-backup.sh

README.md

Count.ly Server Backup Script

Countly is an innovative, real-time, open source mobile analytics application. It collects data from mobile phones, and visualizes this information to analyze mobile application usage and end-user behavior. There are two parts of Countly: the server that collects and analyzes data, and mobile SDK that sends this data (for iOS & Android).

Countly:

Countly Server;

Titanium Countly Messaging Modules

Other Countly SDK repositories;

Countly SDK Guides;

Countly Backup Guide;

This is a Linux Backup Script to Backup all the nessasary Count.ly Settings and Databases of your Count.ly Server

It supports both Local and Remote Backups as well as backup Rotation

Please note that this is still a beta script

Any pull requests and suggestion welcome!

Author: Dieskim

Installation

  1. Log in to you server via SSH as root

  2. Create a folder where you would like to place the script and move into the folder

mkdir countly-backup-script

cd countly-backup-script

  1. wget the backup script

wget https://github.com/dieskim/countly-server-backup-script/blob/master/countly-backup.sh

  1. Set the script to be executable

chmod a+x countly-backup.sh

  1. For remote backups set up Linux SSH KEY Password Free Automatic Config Authentication

  2. Edit all the setting in the top of the script.

  3. Test the script via sh -x countly-backup.sh 2>&1 | tee debug.txt

  4. Add Script to Crontab to run daily

crontab -e

  • Choose your editor and add the below to the crontab to run script every night at midnight - save file

00 00 * * * /path/to/countly-backup-script/countly-backup.sh

Author

Author: Dieskim

License

MIT