- Community Home
- >
- Storage
- >
- HPE Nimble Storage
- >
- HPE Nimble Storage Solution Specialists
- >
- Re: Possible to Automate a Clone of a Snapshot?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
06-08-2023 06:21 AM - last edited on 06-08-2023 08:04 AM by support_s
06-08-2023 06:21 AM - last edited on 06-08-2023 08:04 AM by support_s
So our DBA would like to be able to once a week get a copy of her SQL database backup and mount it on another VM. This backup is almost 2tb so the most efficient way for us has been to disconnect the disk from the VM1 and attach it to VM2 then copy the database to another drive on VM2. Then disconnect the disk from VM2 and reconnect to VM1. Is there a way to somehow automate this process thru Nimble snapshot clones and/or powercli?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2023 07:23 AM
06-08-2023 07:23 AM
SolutionHi clovett09,
Yes, it is possible to automate the process of copying a SQL database backup from one virtual machine (VM1) to another virtual machine (VM2) using Nimble snapshot clones and PowerCLI.
Here is the overview of the process:
1. Create a Nimble snapshot of the SQL database volume on VM1 using the Nimble storage management interface or CLI.
2. Create a snapshot clone of the Nimble snapshot. The clone will be a read/write copy of the snapshot.
3. Present the snapshot clone to VM2 by attaching it as a new disk.
4. Use PowerCLI or any scripting language to copy the database backup files from the attached disk on VM2 to another location on VM2.
5. Detach the snapshot clone disk from VM2.
6. Reconnect the snapshot clone disk to VM1.
7. Perform any necessary cleanup or verification steps.
To automate this process, you can create a script using PowerCLI. The script would involve invoking the Nimble Storage management API to create snapshots and snapshot clones,
as well as using PowerCLI cmdlets to manage the virtual machine disks and perform the file copy operation.
The specific implementation details would depend on your environment, the versions of Nimble storage and VMware, and any specific requirements or constraints you have.
Do get back to us, if you need further help.
Regards,
Satish
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
