ports/141846: [NEW PORT] databases/autobackupmysql: Make daily, weekly and monthly backups of your MySQL databases

Frank Wall fw at moov.de
Mon Dec 21 15:40:02 UTC 2009


>Number:         141846
>Category:       ports
>Synopsis:       [NEW PORT] databases/autobackupmysql: Make daily, weekly and monthly backups of your MySQL databases
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 21 15:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Frank Wall
>Release:        FreeBSD 7.1-RELEASE-p4 amd64
>Organization:
>Environment:
System: FreeBSD 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #0: Sun Mar 22 09:43:46 UTC 2009
>Description:
A script to take daily, weekly and monthly backups of your MySQL
databases using mysqldump. 

Features:
- Backup mutiple databases
- Single backup file or to a seperate file for each DB
- Compress backup files
- Backup remote servers
- E-mail logs

WWW:	https://sourceforge.net/projects/autobackupmysql

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- autobackupmysql-1.1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	autobackupmysql
#	autobackupmysql/files
#	autobackupmysql/files/patch-autobackupmysql.sh
#	autobackupmysql/Makefile
#	autobackupmysql/distinfo
#	autobackupmysql/pkg-descr
#
echo c - autobackupmysql
mkdir -p autobackupmysql > /dev/null 2>&1
echo c - autobackupmysql/files
mkdir -p autobackupmysql/files > /dev/null 2>&1
echo x - autobackupmysql/files/patch-autobackupmysql.sh
sed 's/^X//' >autobackupmysql/files/patch-autobackupmysql.sh << '0db64bc9c44ae18eb5ab4e1a16dbb691'
X--- autobackupmysql.sh.orig	2009-12-21 15:25:29.000000000 +0100
X+++ autobackupmysql.sh	2009-12-21 16:07:01.000000000 +0100
X@@ -1,4 +1,4 @@
X-#!/bin/bash
X+#!/usr/local/bin/bash
X #
X # Automatic MySQL Backup Script
X # VER. 1.1 - http://sourceforge.net/projects/autobackupmysql/
X@@ -30,8 +30,8 @@
X # Check configuration files
X if [ -f "autobackupmysql.conf" ] ; then
X 	source "autobackupmysql.conf"
X-elif [ - f "/etc/autobackupmysql.conf" ] ; then
X-	source "/etc/autobackupmysql.conf"
X+elif [ -f "/usr/local/etc/autobackupmysql.conf" ] ; then
X+	source "/usr/local/etc/autobackupmysql.conf"
X else
X # Username to access the MySQL server e.g. dbuser
X USERNAME='dbuser'
X
0db64bc9c44ae18eb5ab4e1a16dbb691
echo x - autobackupmysql/Makefile
sed 's/^X//' >autobackupmysql/Makefile << '34e2dad9a8cabf3213c97041db43dac7'
X# New ports collection makefile for:	autobackupmysql
X# Date created:		2009-12-21
X# Whom:			Frank Wall <fw at moov.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	autobackupmysql
XPORTVERSION=	1.1
XCATEGORIES=	databases
XMASTER_SITES=	SF/${PORTNAME}
XDISTNAME=	${PORTNAME}
XEXTRACT_SUFX=	.sh
X
XMAINTAINER=	fw at moov.de
XCOMMENT=	Make daily, weekly and monthly backups of your MySQL databases
X
XRUN_DEPENDS=	${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
X
X.if defined(WITH_OLDBASH)
XRUN_DEPENDS=	${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash3
X.endif
X
XNO_BUILD=	yes
XPLIST_FILES=	sbin/autobackupmysql.sh
X
Xdo-extract:
X	${MKDIR} ${WRKSRC}
X	${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh ${PREFIX}/sbin
X
X.include <bsd.port.mk>
34e2dad9a8cabf3213c97041db43dac7
echo x - autobackupmysql/distinfo
sed 's/^X//' >autobackupmysql/distinfo << '817116a39b5d935b61265cf5c1a14c01'
XMD5 (autobackupmysql.sh) = 290cc0c7c1bf28d97ad2f29245f5c57d
XSHA256 (autobackupmysql.sh) = 986b5dad34f47a04e1ddb3d03eab3a830e27f3bfb7245ec2154d168a25f375ce
XSIZE (autobackupmysql.sh) = 22011
817116a39b5d935b61265cf5c1a14c01
echo x - autobackupmysql/pkg-descr
sed 's/^X//' >autobackupmysql/pkg-descr << 'c82f4a9120b8b3094947fd57b558ee82'
XA script to take daily, weekly and monthly backups of your MySQL
Xdatabases using mysqldump. 
X
XFeatures:
X- Backup mutiple databases
X- Single backup file or to a seperate file for each DB
X- Compress backup files
X- Backup remote servers
X- E-mail logs
X
XWWW:	https://sourceforge.net/projects/autobackupmysql
c82f4a9120b8b3094947fd57b558ee82
exit
--- autobackupmysql-1.1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list