i'm trying to do a little backup app that needs to comunicate with VSS Writers and do an incremental backup.
After some reading i now know that there are a few possibilities to do incremental:
- with partial files
- with list of files changed since last backup
More info HERE
This makes sense, but the writer i'm querying returns those 2 lists empty. Still makes sense because i gave no backup stamps to my writer.
The real problem is that even after a successful backup the Writer i'm using always gives null
on
GetBackupStamp value. I set every component on success and completed the backup, looks like VSS is perfectly fine with my backup except for the missing Backup Stamp.
Every file to backup have those flags (more info HERE):
VSS_FSBT_FULL_BACKUP_REQUIRED
VSS_FSBT_INCREMENTAL_BACKUP_REQUIRED
VSS_FSBT_FULL_SNAPSHOT_REQUIRED
VSS_FSBT_INCREMENTAL_SNAPSHOT_REQUIRED
This happen because i don't have a way to tell VSS Writer about my initial Full Backup (i have no backup stamp!).
If i try to set my backup as Incremental (since its supported by this Writer, i have the Incremental Flag in writer metadata) it fails
at PrepareForBackup()
,
i still think because i did not set a backup stamp or some refeerement to the first Full Backup. I check this error in the Writer State, i have the flag VSS_WS_FAILED_AT_PREPARE_BACKUP
(more
info: HERE)
TL;DR
And this brings me here, with this question: What i'm missing? There is some other way beside using Backup Stamps to do Incremental Backup with VSS?