How backups work

I have a doubt. I made some settings that I’m testing, in one of them is one that apparently deletes the files that were removed locally as well. Today I have a paid software that allows me to set a time for the remote files to be removed when the locations are also, this is possible here or it just works the way I tested it, when deleting the location it already erases in the backup. Another thing, I did a Full backup, put it to keep the last 5 backups, when he goes to do the sixth, he deletes the oldest one that would be Full, how does it work?
I went to restore the most recent backup and it brought me only what was changed on the date, that’s cool, but what if I need Full, The first backup should never be removed.

My configs

–send-mail-subject=%backup-name% - %OPERATIONNAME% - %PARSEDRESULT%

Welcome to the forum!

With Duplicati, every backup is effectively a “full” backup from a restore perspective. You can restore any file that was present at the time a backup was taken, even if that file is old. Duplicati is also an “incremental forever” type of backup in that it only processes new and changed files each backup job.

These terms carry a lot of baggage and it can cause confusion because backup products use the terms differently. Rest assured, there is no problem with deleting the first backup because with Duplicati there is no dependency chain among backup versions.

See this thread where it was discussed recently.

Cool, I’m time to use the tool, trying to learn a little more with some problems I had. One was that he lost his source mapping that was mapped in Linux and with that lost the count of the data. Other thing, has some configuration that makes it felt faster? I found it a bit slow about some other software.

Does this actually work for you? It’s supposed to be a file list supplied by your filesystem watcher.
When I just hardcode 1 there, it gets upset because there’s no such file for it to put in the backup:

It doesn’t work, I put it to test and see if it gave any effect. I’m not sure how to use this option and others that you have in the system.

What does this mean? Yours was completely ignored? Mine broke my backup, because it’s wrong.
The original post had it in use. I especially worried about the “source mapping” issue you mention.
I’m afraid the language there is vague enough that I don’t follow it, so I mention the suspect option.

Generally (especially when starting out), sticking close to the defaults is likely to invite less trouble.
The –changed-files option is missing some key information on its use, which you can find in forum:

It would be nice if someone could confirm this, enhance the help text, then get the manual updated.
Possibly a GitHub issue will be needed to get it in the queue for a developer. Sometimes that’s so…

I don’t know how to use these options and I didn’t find anything specific, but I’m using them because the alerts generate in backups.

Advanced Options has basically the same maybe-imperfect help text that the web UI shows you.
If in doubt, avoid Advanced options, or ask about specific ones in the forum, for additional help.

Too vague. Original post had 12 options (ignoring those that send mail). What alert, what option?

I am using these settings for now, they are how I managed to understand a little better.

–use-block-cache = true
–snapshot-policy = Automatic
–allow-full-removal = false
–auto-cleanup = true
–exclude-empty-folders = true
–index-file-policy = Full
–restore-Permissions = true
–synchronous-upload = true
–send-mail-level = all
–send-mail-body =% RESULT%
–send-mail-subject =% backup-name% -% OPERATIONNAME %% PARSEDRESULT%
–auto-vacuum = true
–upload-verification-file = true
–send-mail-from = Lorenpet | Duplicate
–disable-file-scanner = true
–log-retention = 15D

I was wondering how these changed files and deleted files work and how to use.

I linked to the syntax, and I linked to the help which says you supply a filesystem watcher.
If you have none (which is quite likely), then it’s there in case somebody else may have it.

If you do have a filesystem monitor, then how to get it to feed the option in is the next hurdle.
–run-script-before changing options might work. Example script is on your system, and here.

Some are either a little risky (–auto-cleanup) or may slow the backup (–synchronous-upload).
Some are also at default value (see GUI for default), which can be good, but pointless to say.

If you like –auto-vacuum, you might consider using –auto-vacuum-interval to limit its run rate.

If the system is a bit tight on memory, –use-block-cache might make the memory load higher.

I defined it now, what about these settings?

–send-mail-subject=%backup-name% - %OPERATIONNAME% %PARSEDRESULT%
–send-mail-from=Lorenpet | Duplicati

–changed-files and --deleted-files can I only use if I have an active monitoring service? I won’t even try to use that option.

–index-file-policy default is Full, so you don’t really need to say it again.

–allow-full-removal similarly redundant.

–auto-vacuum-interval limiting the run rate to once every 10 minutes seems fast, but it’s your choice…

–snapshot-policy=Auto is (on Windows) only useful if running as a Windows service (special install), or running as a user with Administrator privilege that is actually using them. It’s used to backup open files.

For the --send-mail-* options, there’s usually more needed. –send-mail-url is probably always needed. Unless this is your private server, your ISP may need –send-mail-username and –send-mail-password however possibly you just didn’t post those (instead of posting them and redacting the personal parts).

Well, you could certainly hardcode the file lists, but most people would need the file monitoring service.

Yeah this is almost certainly unnecessary. The idea behind this interval option is to keep it from running vacuum too frequently. Are your backups scheduled for every 10 minutes? If so you can just leave the option off if you want it to vacuum each time.

On my system I back up every 4 hours and have the vacuum interval set to 1W (one week). I only want to vacuum once a week.

I get it, I do 1 of the plans every 4 hours, I will do the same, per week.