Hi,

I noticed an incremental backup was a lot smaller than expected and found that there has been a change since the 0 level list incremental backup was done - not sure when that was.  Please see the attached file for a terminal session on Fedora 41 with a minimal example.  The first run of tar creates a file of correct length (includes copy of tar binary), while second run with "-g" and a non existent snapshot file creates a minimal tar output file (no test directory or tar binary).  I read in the snapshot file created under the terminal session in the attached.  Did not turn up anything on a google search.

Thanks,
Eric
$ ls -lR .
.:
total 8
drwxr-xr-x. 2 user user 4096 Nov 11 16:55 'dir without brackets'
drwxr-xr-x. 2 user user 4096 Nov 11 16:19 'test [xxx]'

'./dir without brackets':
total 4
-rw-r--r--. 1 user user 573 Nov 11 16:49 t

'./test [xxx]':
total 424
-rwxr-xr-x. 1 user user 431920 Jul 20  2024 tar
$ tar --create -f ../x.tar .
$ ls -l ../x.tar
-rw-r--r--. 1 user user 440320 Nov 11 16:56 ../x.tar
$ rm ../snap
$ tar --create -g ../snap -f ../x.tar .
$ ls -l ../x.tar
-rw-r--r--. 1 user user 10240 Nov 11 16:57 ../x.tar
$ tar tvf ../x.tar
drwxr-xr-x user/user        35 2025-11-11 16:55 ./
drwxr-xr-x user/user         4 2025-11-11 16:55 ./dir without brackets/
-rw-r--r-- user/user       573 2025-11-11 16:49 ./dir without brackets/t
$ cat ../snap
GNU tar-1.35-2
176284065843197635501762838392508224307517283224./test 
[xxx]Ytar01762840550172165572517281857.Ddir without bracketsDtest 
[xxx]01762840550172165572517283290./dir without bracketsYt

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to