also is it probability that will damage my computer or UPS
ups will steady current, wont damage pc
Depending on where you live, your main power may occasionally be supplied by a large diesel generator. During power outages I use a 5500 watt generator to supply power to my home. The computer is on backup power and I have never had a problem. There is absolutely no reason for concern if you have a good quality generator that works properly. If your generator supplies a stable output voltage it will work fine. However if your generator operates near it maximum load and the output voltage varies in frequency and voltage there is a possibility of damage to equipment connected. A UPS may assist, but unless the generator is perfect the UPS will switch to battery power. After a short time the battery will run down and the computer shut off.