﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
247	Support backup file rotation	dmik		"Currently, smb.cmd creates ZIPs for log files (/MPTN/etc/samba/log) and for configuration files (from both /etc and /MPTN/etc). There doesn't seem to be any limit on the total size of the backup files. As a result, it can grow too big after some time of extensive usage. Here it grew up to more than 100MB in total (note that log level is 0).

The log file backups seem to grow too fast when samba crashes and spits out a lot of stuff in the log files. Also, the files in the lock directory are sometimes very big and this may create configuration backups enormously big.

I think there should be a limit on the overall size of the backup files as well as on their age. A month and 50 MB seems like a sane default for me. When reaching any of these limits, the oldest log files should be deleted."	defect	closed	major	Utilities/Scripte 1.0.0	Samba Server Scripts	Server 3.6.x	fixed		
