Page 1 of 1

3 Bugs - temporary path in output location, missing source in backup, empty archive name

Posted: 23 Sep 2021, 22:18
by przemhb
I'm very happy to see a new incarnation of the Cobian Backup :-D

I've give Reflector 0.9.001 a go and found a few bugs described below.

Settings:
[ON] Use system's temporary directory. C:\Windows\Temp
[ON] Use absolute paths.
[ON] Always create top parent folder.

Differential backup.
Monolithic compression.

Source:
E:\cd\work
E:\work
C:\Users\<user>\Documents\Invention series
C:\Users\<user>\Documents\Visual Studio 2013
C:\Users\<user>\Documents\GitHub

Destination:
A:\backups\cobian

Results at the output backup location:
A:\backups\cobian\c\WINDOWS\TEMP
Each source folder in a separate ZIP file.

I've expected a single archive with absolute paths inside. And definitely no temporary path in backup output.

Archive for E:\cd\work missing. Only work.zip for E:\work.

Task needed about an hour to finish instead of a 10-15 minutes needed by Gravity for a full backup. Maybe due to the "conflicting" source names(?)

Another task. The same settings. Different source.

Source:
E:\cd\.kp_data
E:\dokumenty\klucze

Interesting part of the log:

Code: Select all

    2021-09-23 22:10:12 Compressing the directory "e:\cd\.kp_data\" into a monolithic archive...
    2021-09-23 22:10:12 Adding the directory "e:\cd\.kp_data\" to the archive...
    2021-09-23 22:10:12 Clearing the archive attribute of the source directory "e:\cd\.kp_data\"...
    2021-09-23 22:10:12 The monolithic archive "5" has been created. Files in archive: 5. Folders: 1. Ignored files: 0  Uncompressed size: 1,78 MB
    2021-09-23 22:10:12 Copying the file "C:\WINDOWS\TEMP\.zip" to "A:\backups\cobian\C\WINDOWS\TEMP"...
    2021-09-23 22:10:12 The file "C:\WINDOWS\TEMP\.zip" has been successfully copied to "A:\backups\cobian\C\WINDOWS\TEMP\.zip".
    2021-09-23 22:10:12  * Backup part for task "4. Private" ended. Number of backed up files: 1. Backup part size: 1,78 MB. *
    2021-09-23 22:10:12 Deleting the temporary archive "C:\WINDOWS\TEMP\.zip"...
    2021-09-23 22:10:12 The temporary archive "C:\WINDOWS\TEMP\.zip" has been successfully deleted.
    2021-09-23 22:10:12 Compressing the directory "e:\dokumenty\klucze\" into a monolithic archive...
    2021-09-23 22:10:12 Adding the directory "e:\dokumenty\klucze\" to the archive...
Notice that output archive was named ".zip" as the first source folder was ".kp_data". I'd rather expect the name to be "kp_data", "_kp_data", "klucze" or <task_name>.zip.

Hope this helps.

Re: 3 Bugs - temporary path in output location, missing source in backup, empty archive name

Posted: 24 Sep 2021, 08:26
by cobian
Hello!

Thank you for your report.

Yes, temporary directory name in the output is definitely wrong. I will take a look at those under this weekend.

Re: 3 Bugs - temporary path in output location, missing source in backup, empty archive name

Posted: 26 Sep 2021, 01:18
by cobian
* I will add an option to add the full path even in the monolithic files. Will be fixed.
* Will fix somehow the path of the file to the real one. This error happened because I added the monolithic thingy at the last moment (I was leaving it out for good), so this is a half baked solution. Will be fixed.
* That's why you will get 4 monolithic files if you have four sources (added at last minute). :|
* The problem with the file name is due to the program thinking that .kp_data is an empty file name with extension .kp_data... Will be fixed.

Re: 3 Bugs - temporary path in output location, missing source in backup, empty archive name

Posted: 27 Sep 2021, 20:19
by przemhb
Thank you for the information :)