Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

 

  1. Database Backups

Install backup manager to take regular backups of the Mifos databases onto Amazon S3 buckets

Commands:

 

//Install Backup Manager

sudo apt-get install backup-manager

sudo apt-get install libnet-amazon-s3-perl 


//Modify Backup manager configuration file

sudo nano /etc/backup-manager.conf


//Locate and change the following properties with you actual S3 credentials

Make the following changes to it

export BM_ARCHIVE_METHOD=”mysql”

export BM_MYSQL_DATABASES=”mifos“

export BM_MYSQL_ADMINLOGIN="root"

export BM_MYSQL_ADMINPASS=”password“

export BM_UPLOAD_METHOD=”s3"

export BM_UPLOAD_S3_DESTINATION=”s3bucketname

export BM_UPLOAD_S3_ACCESS_KEY=”s3accesskey

export BM_UPLOAD_S3_SECRET_KEY=”s3secretkey

 

 

 

  1. Cron Job for backups

Next, schedule a cron job for taking periodic backups

Command:

 

sudo crontab -e


//select nano editor (easiest to work with)

//Schedule the job to run daily at 4 am in the morning

4 2 * * * /usr/sbin/backup-manager

 

 

 

 

 

 

Filter by label

There are no items with the selected labels at this time.

  • No labels