How can I take reverse-incremental backups into backuppc of Windows XP machines? These need to include state information, open files, etc a la VSS (the disk access method, not Source Safe) / shadow copy. We need them to be restorable from backup and programmatically transformable into a bootable XenServer image. This is for continuity. The systems are running MS SQL Server, SQLLite databases, java apps, Access-database-using apps, etc, serving files over the network, leaving tons of files open at once, etc.
As stated on the official BackupPC documentation, you can't have backup suitable for bare metal restores. This is for two reasons:
- BackupPC backups only files, no other disk information, like partition tables o mbr, so your disk layout is not saved.
- BackupPC does not backup Windows ACLs, so your NTFS file permissions are not saved
I'm looking for a similar solution, and the best options that I have found are:
- Use a VSS approach as described at BackupPC Wiki: User Scripts - Client - Windows VSS - backuppc
- Use this old unmantained Windows Client, that states to be Windows specific: Keene Enterprises :: Open Source :: BackupPCd
Windows Bare Metal restore is possible with backuppc, but is not a direct option for it... it's just taking a full backup made with VSS and restore to a HD and recover that HD to boot.
I boot from a linux live CD, build the partitions and filesystem, restore all files, boot from a windows liveCD (like hiren's CD), restore the acls with SetACL (http://helgeklein.com/) and fix the MBR and fix the boot.ini. After this, you take a black chicken, offer it to the your god, dance around the room, pray and reboot. then start fixing if something fails :)
if you start from a already installed windows and replace the files, its usually easier
This is also another method, its the same restore, but using windows, instead of the linux. Check this site for more info:
Yep, windows is hard to restore, compared with linux :)
What i recommend is to use the drive snapshot (http://www.drivesnapshot.de/en/) to build windows images (bare installs or up-to-date backups) and restore then with the static-restore-only snapshot for linux, using a live CD and then restore any changes file i need from backuppc