AnsweredAssumed Answered

Backup creates duplicates

Question asked by Tonyalmeida on May 17, 2013
Latest reply on May 20, 2013 by Tonyalmeida
I have created a Geodatabase backup script for my sql geodatabase. Everything runs fine, except for it creates duplicates and adds a 1, 2 ,3 onto the end and i just want it to replace over it. What am I missing?

Here is my current code

import arcpy from arcpy import env   arcpy.env.overwriteOutput = True env.workspace = "C:\Temp\CCAP.gdb"   CCAP = r'Database Servers\DSD15_SQLEXPRESS.gds\TonyTwoWay (VERSION:dbo.DEFAULT)\TonyTwoWay.DBO.CCAP' CCAP2 = "C:\Temp\CCAP.gdb"   arcpy.FeatureClassToGeodatabase_conversion(CCAP, CCAP2)