Date: Mon, 26 Apr 2010 12:45:30 GMT From: Eitan Adler <eitanadlerlist@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: conf/146064: [patch] allow users to specify location for backups in default cron scripts Message-ID: <201004261245.o3QCjUbu030177@www.freebsd.org> Resent-Message-ID: <201004261250.o3QCo1fw094964@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 146064 >Category: conf >Synopsis: [patch] allow users to specify location for backups in default cron scripts >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Apr 26 12:50:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Eitan Adler >Release: FreeBSD 8.0 >Organization: >Environment: >Description: Discussion starts at http://lists.freebsd.org/pipermail/freebsd-hackers/2010-April/031663.html >How-To-Repeat: >Fix: Index: 200.backup-passwd =================================================================== --- 200.backup-passwd (revision 207071) +++ 200.backup-passwd (working copy) @@ -24,7 +24,7 @@ "doesn't exist" rc=2 else - bak=/var/backups + bak="$backup_location" rc=0 echo "" Index: 210.backup-aliases =================================================================== --- 210.backup-aliases (revision 207071) +++ 210.backup-aliases (working copy) @@ -19,7 +19,7 @@ "/etc/mail/aliases doesn't exist" rc=2 else - bak=/var/backups + bak="$backup_location" rc=0 echo "" Index: ../../defaults/periodic.conf =================================================================== --- ../../defaults/periodic.conf (revision 207071) +++ ../../defaults/periodic.conf (working copy) @@ -22,6 +22,8 @@ # periodic script dirs local_periodic="/usr/local/etc/periodic" +# General options +backup_location="/var/backups" # Daily options >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004261245.o3QCjUbu030177>