| Author |
Message |
jamesforest
Joined: 22 Nov 2011 Posts: 1
|
Posted: Tue Nov 22, 2011 6:33 pm Post subject: Command Line : Snapshot Automation |
|
|
| I am considering automating the generation of snapshots on a periodic basis via the command line. I was hoping to create new snapshot datasets with a timestamp suffix versus using the /force parameter. Any provisions for this now or in the future? |
|
| Back to top |
|
 |
james.billings
Joined: 16 Jun 2010 Posts: 840 Location: My desk.
|
Posted: Thu Nov 24, 2011 7:06 pm Post subject: |
|
|
Thanks for your post.
There's a "makesnapshot" switch for the command line (see the list of switches here) which may help.
There's no option to automate the filename to a date/time etc, but if you are combining it with an MS-Dos batch file you could probably use variables to perhaps name the file based on the current date? For example, someone had a similar query (unrelated to RedGate products!) here - could be worth checking out.
You can use Windows task scheduler to kick it off. |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group