Hi Alexey, In my case the database is seldom larger 500 MB and the backup takes 30 maximum seconds.
Would it not be sufficient to check the MON$BACKUP_STATE field (thanks Thomas) and if its stuck on state 1 or 2 for several minutes then I execute "ALTER DATABASE END BACKUP". How do you recover if it's stuck? I noticed that the larger the database is the longer it takes to do nbackup even if the delta is very small. BR, hugo