SCHTASKS /Create /RU system /SC daily /ST 01:00 /TN "CA Differential Backup"
/TR "certutil -backupdb c:\CABackup incremental keeplog"
SCHTASKS /Create /RU system /SC daily /ST 02:00 /TN "CA Differential Backup"
/TR "certutil -backupdb c:\CABackup incremental keeplog"
SCHTASKS /Create /RU system /SC daily /ST 03:00 /TN "CA Differential Backup"
/TR "certutil -backupdb c:\CABackup incremental keeplog"
SCHTASKS /Create /RU system /SC daily /ST 04:00 /TN "CA Differential Backup"
/TR "certutil -backupdb c:\CABackup incremental keeplog"
I wanted to experiment and see what the results are. I found the following.
You have to do a full first.
"certutil -backupdb c:\CABackup"
But from that point on, you get the following if you do:
"certutil -backupdb c:\CABackup incremental keeplog"
response:
"Incremental database backup target directory: c:\cabackup.
CertUtil: -backupDB command FAILED: 0x80070091 (WIN32/HTTP: 145)
CertUtil: The directory is not empty"
HMMMMMM.....
That implies that if you scheduled this task as described, it will work
exactly once. (yep did the cacls - using the CA Backup Operator or CA PKI
Administrator (described in the rest of the doc)).
-f forces the files to be replaced, but that does not appear to be
incremental.
I don't need this on our first ECA, but it could happen on the next one.
What is the issue here?
Brian
"George Ellis" <george...@9delta9.com> wrote in message
news:uvl9iafB...@TK2MSFTNGP02.phx.gbl...
Thanks Brian.
BTW, another book tip for the revision under Manual backup discussion (where
failover might be to a different server). We are going to use Netbackup
with encryption, so jobing the backups through certutil and then creating
the backup on the backup store.
Add this code sample to backup the registry.
ECHO Y | %windir%\system32\reg.exe EXPORT
"HKLM\SYSTEM\CurrentControlSet\Services\CertSVc\Configuration\CA"
F:\CABackup\CARegBackup.REG
"Brian Komar" <brian...@nospam.identit.ca> wrote in message
news:OSnkQnhB...@TK2MSFTNGP06.phx.gbl...