Tag Archives: bash

Jungledisk command line

I had some trouble with the new configuration for jungledisk.

In order to have it play nice with apache some new switches needed to be turned on:

dev:~# jungledisk -d /mnt/s3 -o allow_other -o config=/root/.jungledisk/jungledisk-settings.ini

Similar Posts:

Tagged ,

MySQL Incremental Backups

MySQL incremental backups can be acheived using the --log-bin option. For more information about that and for the original source of the following code, please see the mysql ref. manual.

Now to the code:
I added some logging to the script
[ad#ad-1]
#!/bin/bash
MODE=$1
MYSQLUSER=backup
FTPUSER=ftpuser
FTPPASS=ftppass
BINLOGPATH=/var/lib/mysql
BINLOGNAME=mysql-bin
ARCHIVEPATH=/var/data/backups/mysql/
Continue reading

Similar Posts:

Tagged , , ,