StarWind Enterprise Server
Request a Quote
Feel free to contact us:
USA and LATAM:
1-617-449-7717
EMEA and APAC:
+44(0)2071936727
+44(0)2071936350
+33(0)977197857 (French)
+49-1715109103 (Germany)
Voice Mail:
1-866-790-2646
Email:
sales@starwindsoftware.com
 
 

Clarification on backup of .IMG files

iSCSI Target for Microsoft Windows.

Moderators: anton (staff), Max (staff), Constantin (staff)

Clarification on backup of .IMG files

Postby jdp404 » Thu Jun 04, 2009 5:52 am

Can someone provide clarification on the best practice for backing up mounted/connected IMG files in v4.1? I apologize because I realize this has been covered, but I don't see specifics for v4.x, which appears to have changed things a bit. I see that in previous versions, backing up a mounted/connected IMG file was not supported: starwind-f5/backing-img-files-t1187.html
Can Windows 2003' own VSS be used on the Starwind server to backup a live/mounted IMG file? Can you simply use Windows Explorer or any file level backup utility to copy/backup the actual .IMG file directly? If not, what is the best approach to do this?

Thanks,
Jonathan
jdp404
 
Posts: 2
Joined: Thu Jun 04, 2009 5:45 am

Re: Clarification on backup of .IMG files

Postby Robert (staff) » Thu Jun 04, 2009 8:04 am

Jonathan,

At the moment there would be two options for online backup of the mounted image files:

1. Mirroring. You can create a Mirror (RAID-1) device by means of StarWind and actually connect two images that will be assynchronously replicated. So in other words, you will have two image files instead of one.
2. CDP&Snapshots. StarWind supports creating Snapshot&CDP device - an image file that will manually or automatically create Snapshots that you can later mount/roll back to at any time.

Both options are available in StarWind Enterprise Edition. (http://www.starwindsoftware.com/starwin ... ise-server)

Additional information can be found in the Help file of StarWind iSCSI SAN and on technical documentation section of our web page http://www.starwindsoftware.com/technical-papers

Thanks,
Rob
Robert
StarWind Software Inc.
http://www.starwindsoftware.com
Robert (staff)
 
Posts: 303
Joined: Fri Feb 13, 2009 9:42 am

Re: Clarification on backup of .IMG files

Postby min » Thu Feb 04, 2010 3:48 pm

does starwind plan to provide a Volume Shadow Copy writer? to be installed on starwind server. (not a VSS provider that will be installed on the clients)
this will allow the image files to be backed up in the same way as any database files whose engine supports VSS.
min
 
Posts: 13
Joined: Thu Jan 28, 2010 6:32 pm

Re: Clarification on backup of .IMG files

Postby Constantin (staff) » Thu Feb 04, 2010 4:27 pm

We`ll add support of creating CDP snapshots for HA devices.
Constantin Videnski
StarWind Software Support Department
support at starwindsoftware dot com
Constantin (staff)
 
Posts: 392
Joined: Fri Oct 16, 2009 10:28 am

Re: Clarification on backup of .IMG files

Postby Aitor_Ibarra » Fri Feb 05, 2010 11:36 am

Min,

There's a published example of using Microsoft's DPM to backup starwind: http://www.starwindsoftware.com/using-starwind-with-dpm

DPM uses VSS, so I don't think a special VSS writer for Starwind is strictly necessarry to get a consistent backup - I guess the .img is treated by VSS as any other open file.

Presumably you could also use Windows Server Backup or anything else which does VSS snapshots.

However, this doc is pre 5.0 HA; I would imagine that it might be more difficult to backup an HA .img using VSS without a specialised VSS writer.

cheers,

Aitor
User avatar
Aitor_Ibarra
 
Posts: 161
Joined: Wed Nov 05, 2008 1:22 pm
Location: London

Re: Clarification on backup of .IMG files

Postby Constantin (staff) » Mon Feb 22, 2010 9:53 am

So, may I ask what solution did you choose for backup?
Constantin Videnski
StarWind Software Support Department
support at starwindsoftware dot com
Constantin (staff)
 
Posts: 392
Joined: Fri Oct 16, 2009 10:28 am

Re: Clarification on backup of .IMG files

Postby broman » Fri Jul 09, 2010 2:23 pm

Revisiting the need to backup a running .img file with *guaranteed integrity*, it occurs to me the solution suggested by this document http://www.starwindsoftware.com/using-starwind-with-dpm is unacceptable. Even though the VSS writer on the Starwind host will kick in, the state of the client using the volume contained in the .img is unknown at the time of the .img backup. The VSS writer on the client would have to be somehow invoked first and ONLY THEN could the .img be considered committed and ready to be backed up. Am I wrong?

Aitor_Ibarra wrote:Min,

There's a published example of using Microsoft's DPM to backup starwind: http://www.starwindsoftware.com/using-starwind-with-dpm

DPM uses VSS, so I don't think a special VSS writer for Starwind is strictly necessarry to get a consistent backup - I guess the .img is treated by VSS as any other open file.

Presumably you could also use Windows Server Backup or anything else which does VSS snapshots.

However, this doc is pre 5.0 HA; I would imagine that it might be more difficult to backup an HA .img using VSS without a specialised VSS writer.

cheers,

Aitor
broman
 
Posts: 7
Joined: Sat May 03, 2008 5:58 pm

Re: Clarification on backup of .IMG files

Postby Max (staff) » Mon Jul 12, 2010 11:45 am

Broman,
we are working on this functionality, expect to see an HA +1 and +2 replication configurations in the nearest future.
Meanwhile I would recommend to set up DPM on the client if you want maximize the snapshot consistency.
Max Kolomyeytsev
StarWind Software
User avatar
Max (staff)
 
Posts: 318
Joined: Tue Apr 20, 2010 9:03 am

Re: Clarification on backup of .IMG files

Postby Aitor_Ibarra » Fri Sep 03, 2010 1:42 pm

Broman,

Yes, thinking about it, you are right.

broman wrote:Revisiting the need to backup a running .img file with *guaranteed integrity*, it occurs to me the solution suggested by this document http://www.starwindsoftware.com/using-starwind-with-dpm is unacceptable. Even though the VSS writer on the Starwind host will kick in, the state of the client using the volume contained in the .img is unknown at the time of the .img backup. The VSS writer on the client would have to be somehow invoked first and ONLY THEN could the .img be considered committed and ready to be backed up. Am I wrong?

Aitor_Ibarra wrote:Min,

There's a published example of using Microsoft's DPM to backup starwind: http://www.starwindsoftware.com/using-starwind-with-dpm

DPM uses VSS, so I don't think a special VSS writer for Starwind is strictly necessarry to get a consistent backup - I guess the .img is treated by VSS as any other open file.

Presumably you could also use Windows Server Backup or anything else which does VSS snapshots.

However, this doc is pre 5.0 HA; I would imagine that it might be more difficult to backup an HA .img using VSS without a specialised VSS writer.

cheers,

Aitor


The best you would get would be a "crash consistent" backup, so you would be dependent on the applications on the clients to be able to roll back uncompleted transactions. The only way to get a fully consistent backup is to either have the clients trigger it, or if virtualising, have the hosts tell the guests to get consistent. Alternatively schedule a shutdown of all the clients and then backup the Starwind server, but that might not be acceptable.
User avatar
Aitor_Ibarra
 
Posts: 161
Joined: Wed Nov 05, 2008 1:22 pm
Location: London

Re: Clarification on backup of .IMG files

Postby anton (staff) » Fri Sep 03, 2010 5:37 pm

Upcoming version (post V5.5) will have VSS compatible HA. FYI.
Regards,
Anton Kolomyeytsev

Chief Technology Officer, StarWind Software

Image
User avatar
anton (staff)
Site Admin
 
Posts: 2153
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands

Re: Clarification on backup of .IMG files

Postby dmmattix » Sun Sep 05, 2010 3:35 am

Just a bit of clarification on using the CDP targets with ESXi V4.1 for backup. If you connect the target to the guest OS (Windows) this will work. If you connect the target to ESXi via VMFS then it will not work. CDP needs a client VSS to perform its snapshots and VMFS does not provide one. It was suggested you could connect the CDP target via the Raw Mapping provided by VMFS but everything I have read indicates this should be used sparingly not as a standard practice. The connecting of the Snapshot and CDP target to VMFS caused my NAS server to fill up memory every time it attempted to do a snapshot as no suitable VSS client was available. The basic target (.img files) work just fine and perform very well in this (via VMFS) scenario just don't try to use CDP (.ibv files) as you will have problems.

Just trying to save someone the weeks of problems I had.

I will try the Mirrored .img files and see if that provides a solution on the NAS box. I will also try VMFS Snapshots as that also could work for a backup solution with an ESXi backup agent.

Mike
dmmattix
 
Posts: 10
Joined: Wed Jul 21, 2010 5:22 pm

Re: Clarification on backup of .IMG files

Postby Max (staff) » Wed Sep 08, 2010 10:25 am

Mike, thank you for suuming everything mentioned above.
We are constantly developing our software to make it better, it is just a matter of time to release a VMware compatible Snapshot agent for direct datastore backup.
Max Kolomyeytsev
StarWind Software
User avatar
Max (staff)
 
Posts: 318
Joined: Tue Apr 20, 2010 9:03 am


Return to StarWind

Who is online

Users browsing this forum: No registered users and 2 guests