FreeBSD Bugzilla – Attachment 87984 Details for
Bug 124713
[patch] databases/postgresql83-server periodic script minor improvements
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.08 KB, created by
Hywel Mallett
on 2008-06-18 13:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Hywel Mallett
Created:
2008-06-18 13:50:01 UTC
Size:
1.08 KB
patch
obsolete
>--- 502.pgsql 2008-06-18 12:01:48.000000000 +0100 >+++ 502.pgsql.new 2008-06-18 13:17:10.000000000 +0100 >@@ -18,9 +18,6 @@ > # daily_pgsql_backup_enable="YES" # do backup > # daily_pgsql_vacuum_enable="YES" # do vacuum > >-daily_pgsql_vacuum_enable="YES" >-daily_pgsql_backup_enable="NO" >- > daily_pgsql_vacuum_args="-z" > daily_pgsql_pgdump_args="-b -F c" > # backupdir is relative to ~pgsql home directory unless it begins with a slash: >@@ -48,11 +45,11 @@ > # but this might not be where you want the backups... > if [ ! -d ${backupdir} ] ; then > echo Creating ${backupdir} >- mkdir ${backupdir}; chmod 700 ${backupdir}; chown pgsql ${backupdir} >+ mkdir -m 700 ${backupdir}; chown pgsql ${backupdir} > fi > > echo >- echo "PostgreSQL maintenance" >+ echo "PostgreSQL backups" > > # Protect the data > umask 077 >@@ -83,7 +80,7 @@ > [Yy][Ee][Ss]) > > echo >- echo "vacuuming..." >+ echo "PostgreSQL vacuum" > su -l pgsql -c "vacuumdb -a -q ${daily_pgsql_vacuum_args}" > if [ $? -gt 0 ] > then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 124713
: 87984