Diff issue

Oct 22, 2015 at 5:58 PM

When i'm trying to make a diff or a incr, the result archive is the same as the full.

Is there a trick somewhere ?


Powershell v2
7zBackup v. 1.9.10 Stable
Oct 22, 2015 at 7:47 PM
Hi Jolafritt and thank you for using the script.

To address your issue could you please post the invoking command and all parameters you use ?
Oct 23, 2015 at 8:42 AM
My full command :
.\7zBackup.ps1 --7zipbin "C:\Program Files (x86)\7-Zip\7z.exe" --type full
My diff or incr command :
.\7zBackup.ps1 --7zipbin "C:\Program Files (x86)\7-Zip\7z.exe" --type diff
My parameters :
Set-Variable -name BkSelection -value "C:\my-selection.txt" -scope 1
Set-Variable -name BkDestPath -value "C:\my-dest-folder\" -scope 1

and from original vars :

Set-Variable -name BkArchivePrefix -value ($Env:Computername) -scope 1 
Set-Variable -name BkArchiveType -value "7z" -scope 1
Set-Variable -name Bk7ZipSwitches -value "-bd -ssw -mx1 -md=96m -mmt=6 -mtc=on -mf=off -slp -scsUTF-8 -sccUTF-8" -scope 1
=> In my dest folder, the content of the diff compressed file is the same as the full
Oct 28, 2015 at 11:03 AM
Hi Jolafritt,
a differential backup (diff) performed immediately after a full one should backup nothing. Selection is performed against Archive bit for each file which should be lowered by the full backup.

Please check for me the following:
  1. perform a full backup
  2. inspect source directories and check if all archive bit on files (attribute A) are on or off
If they're still on then you might have a problem with the credentials you're running 7zbackup.ps1 : you don't have write permissions on source files. Write permissions are needed to change file attribute A and to lower it.

Let me know.