Il 28/12/21 23:34, J.O. Aho ha scritto:
> On 28/12/2021 16.19, Soviet_Mario wrote:
>> Il 28/12/21 11:06, J.O. Aho ha scritto:
>>> On 27/12/2021 19.27, Soviet_Mario wrote:
>
>>>> THE SAME DRIVE, compressed correctly with a shut-down
>>>> system, gave 29,5 GB, with a less than 30% ratio. So
>>>> that wasn't the issue.
>>>
>>> could it be that it hasn't yet come to the compression
>>> part of the process.
>>
>> I strongly suspect it does not store anywhere a whole
>> uncompressed image, but do compression in chunks, a couple
>> of GB every 5 min or so, at that extreme level of compression
>
> Maybe it was including itself in the backup, that could
> cause a slow and disk space consuming effect.
intresting / intriguing
To be honest, I have just faced this nightmare using DBackup
(a "per-directory" compressor).
I prepared with a lot of care an exclude list, but I forgot
a Simlink to "itself" in one folder, that after some days of
uninterrupted work (I was not able to understand the problem
until I finally tried to explore the backup folder), ended
up in having 3 level of nesting. I sparked a recursion cycle !
But the same situation would be strange in a "per-partition"
approach, since the target folder WAS NOT on the same
partition : I would have been simply MAD to make such a choice.
The previous time using DBackup, actually the source was a
multi-FS file-listing file and the target was on the same
partition of most of the files of source. But I forgot a
"hook" pointing to one target in the source. And DBackup
maybe was instructed to "follow" symlinks.
>
>
>>>> apart from FSArchiver, DAR and Dbackup I've never "met"
>>>> a backup program that suited me. Sometimes I use FIND
>>>> manually and ZIP with pipe, or FreeFileSync (who does
>>>> not support compression though)
>>>
>>> For me it's a small script that backup my data with help
>>> of btrfs send/receive, hardly has any impact when running
>>> incremental backups.
>>>
>>
>> I understand ... but I am not familiar with scripts.
>
> Scripts in much are the same as you type in your command
> prompt, just you select to do more than one thing at the
> time and may have some steps done if a condition is met.
>
>
>> I am unable to learn bash language in that I really cannot
>> figure out the effects and the number of steps of
>> parameter SUBSTITUTION.
>
> Not much different from other languages,
Apart from C++ preprocessor (which, in fact, I never
mastered for the same reasons as here) I have never used
languages where tokens change semantic while using.
Strangely I have never had any problem with the "pointer"
(or reference) concept, which was held harmful.
Randomly I have recently discovered that JAVASCRIPT has
introduced the so called "BACK TIC" notation (a back slanted
apostrophe" to enable literal substitution of variable
contents within strings.
I'm almost sure I will never master such a feature, beyond
very simple one-step cases.
> except you have a
> lot easier to execute the commands (don't need to invoke a
> shell and then check the return value from the call and if
> something went wrong try to parse it from the output). Using
> a search engine when need to figure out how to do things are
> really helpful.
I just tried to study parameter substitution, but I am
unable to figure out the process, so I cannot design code
properly