Univention Bugzilla – Attachment 9178 Details for
Bug 38554
Limit number of backups in /var/univention-backup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
quoting.patch
quoting.patch (text/plain), 734 bytes, created by
Arvid Requate
on 2017-09-06 19:29:06 CEST
(
hide
)
Description:
quoting.patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2017-09-06 19:29:06 CEST
Size:
734 bytes
patch
obsolete
>Index: ucs-4.2-2/base/univention-lib/shell/backup.sh >=================================================================== >--- ucs-4.2-2/base/univention-lib/shell/backup.sh (Revision 82637) >+++ ucs-4.2-2/base/univention-lib/shell/backup.sh (Arbeitskopie) >@@ -46,7 +46,7 @@ > local max_age="${arg_max_age:-$backup_clean_max_age}" > > if [ -n "$max_age" ]; then >- echo find "$backup_dir" -type f -mtime "+$max_age" -regex "$pattern" >+ echo "find '$backup_dir' -type f -mtime '+$max_age' -regex '$pattern'" > local count=$(find "$backup_dir" -type f -mtime "+$max_age" -regex "$pattern" | wc -l) > if [ "$count" -ge "${backup_clean_min_backups:-10}" ]; then > find "$backup_dir" -type f -mtime "+$max_age" -regex "$pattern" -delete
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 38554
:
7995
|
8291
|
8891
| 9178