Skip to Content
Mastering ArcGIS Enterprise Administration
book

Mastering ArcGIS Enterprise Administration

by Chad Cooper
October 2017
Intermediate to advanced
382 pages
11h 26m
English
Packt Publishing
Content preview from Mastering ArcGIS Enterprise Administration

File-based data

Backing up file-based data can be done manually with any number of software packages, such as TeraCopy (http://www.codesector.com/teracopy), or with virtually any self-respecting programming language. That said, in its most basic form, what we need to do here can probably, in most cases, be handled with a simple Windows batch file utilizing Robocopy, which has been a standard feature since Windows Vista and Windows Server 2008. Let's take a look at what that might look like.

First, we set ECHO OFF to suppress messaging. Next, through a series of FOR loops, we repeatedly parse the DATE system variable to get the month, day, and year parts we need to construct a date string for today's date in the form of yyyy-mm-dd or 2017-09-05 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering ArcGIS Server Development with JavaScript

Mastering ArcGIS Server Development with JavaScript

Raymond Kenneth Doman

Publisher Resources

ISBN: 9781788297493Supplemental Content