- Community Home
- >
- Storage
- >
- Legacy
- >
- Storage Software
- >
- SSSU ADD SNAPSHOT with dynamic date field name
Storage Software
1753975
Members
7461
Online
108811
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2008 12:03 PM
тАО03-31-2008 12:03 PM
Does anyone out there know if it is possible to throw some kind of wildcard or use a date variable for snapshot scripting? If you select disks in RSM GUI and create snapshots or through commandview, you are given the option of using the creation date and time. I would like to use this in my scripts as well, but it appears that my only option is to manually name the snapshots. Considering the length of time it takes to delete the old snapshot, and if I want this to run daily, I would have to create a script that updates my script based on system time or something similar...Any help is appreciated. Thanks in advance.
...If anyone has an example of how they accomplish this (if it is not natively available in SSSU), I would be forever in your debt if you post it.
...If anyone has an example of how they accomplish this (if it is not natively available in SSSU), I would be forever in your debt if you post it.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2008 08:24 AM
тАО04-01-2008 08:24 AM
Re: SSSU ADD SNAPSHOT with dynamic date field name
Sorry, no variables in SSSU. You need a master script that would in turn create the specific instances of the scripts to create and delete the snapshots.
As far as examples, it would depend on what OS(es) you have that can run the SSSU client.
Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company
As far as examples, it would depend on what OS(es) you have that can run the SSSU client.
Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2008 06:48 PM
тАО04-04-2008 06:48 PM
Solution
If using Windows/Dos scripting, you could start with something like this (filling in your own eva, manager, username, password of course!) - this is using a renamed sssu.exe that includes the version and build.
FOR /f "tokens=2 delims= " %%D in ('echo %DATE:/=%') do SET DATEN=%%D
echo %daten%
SET TESTF=\Hosts\\
echo %testf%
sssu_v6_34 "select manager evamgr u=admin p=password" "select system EVA01" "ls folder %testf%"
FOR /f "tokens=2 delims= " %%D in ('echo %DATE:/=%') do SET DATEN=%%D
echo %daten%
SET TESTF=\Hosts\\
echo %testf%
sssu_v6_34 "select manager evamgr u=admin p=password" "select system EVA01" "ls folder %testf%"
check out evamgt.wetpaint.com and evamgt google group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-09-2008 10:03 AM
тАО04-09-2008 10:03 AM
Re: SSSU ADD SNAPSHOT with dynamic date field name
Note the last line wrapped - and I don't need you to be in debt to me - but assigning a few points would be nice!
check out evamgt.wetpaint.com and evamgt google group
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP