candera / shadowspawn

A Windows utility that mounts a shadow copy of the disk at a drive letter and then spawns an arbitrary command.
MIT License
184 stars 55 forks source link

Run shadowspawn to just backup vhd's to USB drive without addition command #29

Open nospam2k opened 2 years ago

nospam2k commented 2 years ago

I'm sorry to bug you with this as you were so kind to respond quickly to my previous post, but I have an old 2008 SBS server running on old Hyper-V. I just want to back up the VHD during the day to a USB drive. I admit, I'm being lazy as I could probably look through to code or be creative, but since you are the author, what is the best command line to use to just backup the VHD's on the Hyper-V machine to a USB drive without running any additional commands after.

I just want the VHD's to be available on USB as normal files. Thanks again ;)

dbolton commented 2 years ago

Here's the command I use in Solid Backup: https://github.com/dbolton/SolidBackup/blob/62a49fe636dd50c016042a6b1056f9f7ec21b965/main-process/chk-backup.js#L209

TReKiE commented 2 years ago

I do similar to dbolton, but I'm using robocopy directly, so for a VHD at g:\data\disk.vhd, backing up to v:\backup you could do: shadowspawn.exe g: b: robocopy b:\data v:\backup disk.vhd

nospam2k commented 2 years ago

Thanks!