Backup WinRAR

Using WinRar as a backup tool.

Three backup mode (full, incremental and differential) described down are based upon Archive attribute.

Main options and how to restore:

BKP typeRAR option to createHow to restore if necessary
full-acjust restore the FULL backup
incremental-ac -aorestore first from last FULL backup and then all incremental from oldest to latest one
differential-aorestore first from last FULL backup and then only the last differential backup

winrar.exe a -se -rr3% -ac -ag+YYYYMMDD_full_ -k -m5 -ms -os -r -ep1 e:\mydoc.rar @mydocpath.txt

winrar.exe a -se -rr3% -ac -ag+YYYYMMDD_incr_ -k -m4 -ms -os -r -ep1 -ac -ao e:\mydoc.rar @mydocpath.txt

winrar.exe a -se -rr3% -ag+YYYYMMDD_diff_ -k -m4 -ms -os -r -ep1 -ao e:\mydoc.rar @mydocpath.txt
.\Rar a -ac -ao -ma5 -htb -agYYYYMMdd-hhmmss -r "%USERPROFILE%\Desktop\testbkp-.rar" w:\temp\test

-se = Create solid archive
-rr = add data recovery record
-ac = Clear Archive attribute after compression or extraction
-agxxxxxxxxxxxx
-k = Lock archive
-m<0..5> = Set compression level (0-store…3-default…5-maximal)
-ms
-os = Save NTFS streams
-r
-ao = add only the files with archive bit on
-ep1 Exclude base directory from names
-qo+ = Add quick open information

REF: https://rareelement.tripod.com/winrar_sk.htm