Backups not incremental for chrooted domains

SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.3
Webmin version 2.105
Virtualmin version 7.9.0

Hi, I may have been stumbled upon a bug in handling chrooted domains. These domains do not appear to create real incremental backups with the builtin backup system.
Files (mails, html files, …) which are included in the full backup will be included again in the incremental one a day or so later though they weren’t changed.

It seems that this part which is called by collectinfo.pl through cron is responsible:

This function copies all jail-files in the chrooted domain every 24h and chmod the files with g-w:

"/*" includes the home-directory and changes the ctime of all files therein. Incremental Backup uses tar which then includes them again in the backup.

Could the home-directory be excluded from the chmod? I don’t see a reason why it has to be included.

Thanks.

1 Like

Should I maybe post this as an issue in github?

Hi,
We are facing the same problem. See this thread: Incremental backup same size of full backup

Do you use chrooted (jailed) Domains?

Yes. All our domains are chrooted.

I would post this in GitHib and put a link to the thread there.

I have the same issue, with chrooted Domains.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.