delayed backup, cust_pri function