FILEOPTION options
dylanfinney
Posts: 26
Hello all, I'm having some trouble with my ERASE_FILES and the threads I've found on it don't suit my needs.
Currently we are backing up directly to a UNC network path instead of using the COPYTO option (I know it's not best practice... but it's the only option for us :shock: ). Anyways, our old backup files are not getting deleted and I assume that it's because the Archive bit is still set on them? Is there an overriding option for this behavior, or will it only ever delete files that have been "archived"?
I cannot find any documentation on the FILEOPTION option 3 and am hoping that it will remove the files directly. Thanks!
Currently we are backing up directly to a UNC network path instead of using the COPYTO option (I know it's not best practice... but it's the only option for us :shock: ). Anyways, our old backup files are not getting deleted and I assume that it's because the Archive bit is still set on them? Is there an overriding option for this behavior, or will it only ever delete files that have been "archived"?
I cannot find any documentation on the FILEOPTION option 3 and am hoping that it will remove the files directly. Thanks!
Comments
Does the SQL Backup Agent service startup account have rights to delete files in that folder?
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8