gambrels

Backup via model - name GDB as date/time?

Discussion created by gambrels on Jan 10, 2014
Latest reply on Jan 15, 2014 by gambrels
Hi everyone,

I am building a model to automate a monthly backup (separate from nightly server backups) of our SDE database.  In the end I will convert this to a python script and have it automatically run on the first of the month via Windows Scheduler.

The model I would like to build is realtively straightforward - create a new file GDB and then copy the feature classes over to the new GDB.

I am having two problems - first of all, finding a tool to successfully copy the compressed SDE database to a geodatabase located in a folder.

The other problem I am having is that I would like to name the geodatabse with the current date, ideally as YY-MM-DD.  Any thoughts on how to get the new geodatabase to name as the current date?  Or perhaps rename it to the current data after the FC's have copied in?

Any ideas on either of these?

As always, many thanks.
Sean

Outcomes