Hi !
I am running UrBackup on a normal ext4 storage and have LAN-clients and internet-clients.
LAN-clients show the following behavior:
Full-backups are big and the incremental backups are significantly smaller.
This is how I expect it to be.
Internet-clients behave differently:
Full-backups are big and the incremental backups are a bit bigger than the full backup.
It seems they are the full backup plus the incremental size.
This fills up the storage extremely fast.
This behavior is only seen when the backup is run over internet.
I think there’s something wrong with my settings ?
Can anyone help me on how to configure the internet-client to show the same behavior as the LAN-client ?
Internet-clients shall be allowed to run full-backups.
I have configured this, but I am out of ideas on how to get the incremental backup (size) to behave like the LAN-client.
Are these file backups or image backups? The cause would be different, so that’s the first thing to pin down. Please also say where you read the sizes (Backups page, Statistics) and give a pair of example numbers.
For image backups, internet clients have their own settings on the Internet tab: “Incremental image backup style” and “Full image backup style”. By default an internet full is “synthetic”, which means it is transferred like an incremental but the server still writes a complete image, so fulls are always full size. Incrementals are based on the last image backup. In the server log of one of those big incrementals, look for “Basing image backup on …” and especially for “Error retrieving last image backup. Doing full image backup instead.” If that second line is there, the server couldn’t find the previous image and quietly made a full one.
For file backups, unchanged files are only hard links on ext4, so they take no extra space. The log of an incremental ends with “Transferred X - Average speed …”. If X is about the size of the whole backup for the internet clients, the files are being transferred again instead of linked, and the next question is which files those are.
Sorry, I totally forgot to mention that.
I am talking about file-backups.
sorry for inconvenience.
the logs always tell me it’s doing an incremental backup.
What irritates me is that only the internet clients backups behave and show sizes like this.
LAN-clients do not behave tis way - incremental backups show much smaller sizes here.
The size on the Backups page isn’t the disk space a backup uses. It’s the total of the files in that backup that the server considers new for this client. Unchanged files are hard links to the previous backup and don’t count. So ~160 GB per incremental means the server treated nearly every file as new each time.
To see why, please open the log of one of those incrementals (Logs page) and post these lines from near the end:
- “Transferred … - Average speed …”
- “Number of re-added file entries is …” and “Number of copied file entries from last backup is …”, if present
- any warnings
Also, does the disk really fill up by about 160 GB per backup? You can check by comparing the output of “df” before and after one incremental.
If “Transferred” shows about 160 GB, the client is sending all files again and we need to find out why. If it’s small, the files are linked correctly and only the size statistic is off.
It shows:
…
Error getting complete file “g11LqxZUybZB8r8ejGkK|C_1/Users/xxx/file.jpg” from INTERNET-CLIENT. Errorcode: CANNOT_OPEN_FILE (3)
Max log size reached (2 MB). Not logging more.
So I think I have to check what all the errors come from …
Those errors are a problem on their own. The server asks for a file and the client can’t open it, so that file is missing from the backup and gets tried again next time. With that many errors, the log hits its 2 MB limit before the summary at the end.
The client logs the reason. Please look in the client’s debug.log (in the UrBackup install folder) around the time of a backup for lines like:
Could not open file C:\Users\xxx\file.jpg.
and post a few of them with the reason. Are those errors shown as warnings or as errors on the Logs page? Warnings mean the file wasn’t read from a snapshot (VSS), so files that are open or locked can’t be read.
Also, “C_1” in the path means the client has at least three backup paths named “C”. What paths are configured for that client (client settings and the server’s Internet/File backup settings)? If the same drive or folders are in there several times, they’re backed up more than once.
The server’s log file (/var/log/urbackup.log on Linux) has every one of those error lines, not just the first 2 MB, so you can count them there to see how many files are affected per backup.
I drilled it down:
Turns out the internet-backup machine runs Linux Subsystem for Windows with Containers.
So Windows saves all changes to VHDX-files.
excluding these files makes the backup run fine again.
The LAN-backup machines do not use this configuration.
Thank you for your support !