my Server is full and UrBackup is stating “Es is momentan nicht genügend Speicherplatz für Backups vorhanden. UrBackup löscht gerade alte Datei- und Image-Backups, innerhalb der Grenzen die in den Einstellungen festgelegt sind. Wärend dieses Vorgangs ist die Performanz des Backupservers eventuell eingeschränkt; Lauftende Backups sind eventuell pausiert.” (by the way: there are some mistakes in writing in this text)
The server´s main page still opens but if I click anything else it get the “loading” on top right and that´s it, nothing happens anymore. UrBackup runs on it´s own PC, nothing else installed. Installpath is C:\Program files (enough free), TMP path is D:\ (500GB), backup path is E:\ (3TB, 0 (!) Bytes free), actual server version.
What could that be?
PS: I also deleted some Client and it does not get removed from database
I see a lot of activity on database it seems (at first \Program files\UrBackupServer\urbackup\backup_server.db-wal, then \Program files\UrBackupServer\urbackup\backup_server.db). Processes System (i guess AntiVirus) and UrBackupService.exe, which also consumes around 50% cpu.
If I restart Service, I have to wait for a long LOOONG time until I can open logon page, the after logon I see summary page but if I click anything else on the Website nothing comes up. Also a restart of browser does not help, I then get nothing back from website (also not logon or summary page).
[quote=“fossy777”]I see a lot of activity on database it seems (at first \Program files\UrBackupServer\urbackup\backup_server.db-wal, then \Program files\UrBackupServer\urbackup\backup_server.db). Processes System (i guess AntiVirus) and UrBackupService.exe, which also consumes around 50% cpu.
If I restart Service, I have to wait for a long LOOONG time until I can open logon page, the after logon I see summary page but if I click anything else on the Website nothing comes up. Also a restart of browser does not help, I then get nothing back from website (also not logon or summary page).
[/quote]
Seems like there is a problem with the database then. How big is the -wal file?
UrBackup should, if you did not disable it, create backups of its database at backupfolder\urbackup. You could shut down the server move all the backup_server* files away, move the backups databases there and continue with the backups.
It got, most likely, stuck while deleting a file backup with many files from the database. Do you, by chance, know how many files the file backups have approx. ?
I noticed, that UrBackup uses really all available space on backup disk (Windows states “0 Bytes free”). Is that a good idea? I think this way problems are conceivable. Shouldn´t UrBackup break before the drive is completely full (for example 100 or 200MB free) and delete old backups?
Yes, performance likely goes to hell if you use 100% of a spinning platter. You could set a disk quota to avoid that, but I don’t think this is UrBackup’s job.
Something that could have happend is that it started cleaning up, because it had no space anymore and after a little bit of cleaning up started another backup concurrently. I’ll try to implement something to avoid that.
Well this is not as easy in Windows, since Urbackup service runs with “Local System” (and I don´t want to change too much to get off from Standards and Defaults).
I don´t agree with you that UrBackup shouldn´t do that since UrBackup is the cause and because of this issue UrBackup doesn´t work properly.
Your guess that it is cleaning up and then a backup starts is not the case I think. Most likely it is cleaning up BECAUSE backups are running and there is not enough space any more.
PS: why does this silly Forum correct my written words to capital letters? Except of the first letter in this posting I typed everything in small letters
Now the disk space is gone again and all the same Problems come up again. Performance is really bad, Server is stating “Es is momentan nicht genügend Speicherplatz für Backups vorhanden. UrBackup löscht gerade alte Datei- und Image-Backups, innerhalb der Grenzen die in den Einstellungen festgelegt sind. Wärend dieses Vorgangs ist die Performanz des Backupservers eventuell eingeschränkt; Lauftende Backups sind eventuell pausiert.” and after logon to the main page everything I click does not open.
By the way: what would a quota on disk Change? If I use a hard quota isn´t that the same as getting a disk full?
I’m sorry to hear that. It would probably be a little bit faster with the hard quota. If you are able you could put the server into debug log mode (See http://www.urbackup.org/Administration_Manual.php#x1-440008.2 ) and send the debug log file (compressed) to me martin@urbackup.org (From a period where it displays the warning on the status page).
I thought you meant a hard quota. A soft quota is planned. Both user level and server wide. Seeing the problems here I’ll probably get to it faster.
You could probably let the server delete the backups at night by lowering the maximal number of backups for some clients.
on Windows Systems, defining a hard quota would be not as easy: Administrators are per Default not affected by hard quotas and i fear it is impossible to change and if not one should not Change that. UrBackup per default runs as “local System” which is Administrator. So one would have to Change the Service to run as different user and grant that user Access to all Locations it has to Access to work. So much to configure only to use quotas.
I cannot let the Server delete any backups because I cannot Access the web Interface. As I already wrote: after logon the main page appears and then all other sites are dead. I cannot Change to Settings page.
I will send you the debug log soon…
PS: I had to set the process priority of urbackup Service to low to have any Performance left to do anything on the Server. UrBackup consumed so much Disk-IO that the Performance was very low. Now as I wanted to start Debugging I first tried again to Access the Website and now nothing was coming up, the process consumed 100% CPU.
I’ve implemented a cleanup procedure in the backup server here: https://sourceforge.net/projects/urbackup/files/Server/1.2RC/
Install that latest Windows server. Go to C:\Program Files\UrBackupServer and run the cleanup.bat as Administrator. Per default it will free 10% of the drive the backup folder is on.
This probably happens because some backups are not in the database anymore and thus UrBackup does not know about them. This was probably caused by using the database backups, i.e., older versions that didn’t have recent backups. I updated the version here ( http://sourceforge.net/projects/urbackup/files/Server/1.2RC/UrBackup%20Server%201.2-1.exe/download ) to include a script that removes files/directories that UrBackup does not know about (remove_unknown.bat). I would be interested in the output.