What are the challenges you face when working across database platforms? Take the survey
Options

setting delete old files for LOGTO option

AlexGAlexG Posts: 24
edited August 12, 2011 11:02AM in SQL Backup Previous Versions
Hi ,
use command line for backups and want set LOGTO location with option to delete old log files after N days

What is the correct option command line option ?
I don't want to set delete option using GUI ->tools->options

goal is submit all params using commnd line

Thank you
Alex

Comments

  • Options
    peteypetey Posts: 2,358 New member
    It isn't possible to set the log file deletion interval without using the GUI, other than creating/editing the value directly in the registry. The reason was because this is a global setting, and is not database nor process specific, and would usually only be modified infrequently.
    Peter Yeoh
    SQL Backup Consultant Developer
    Associate, Yohz Software
    Beyond compression - SQL Backup goodies under the hood, updated for version 8
Sign In or Register to comment.