|Join Nairaland / LOGIN! / Trending / Recent / New|
Stats: 2,740,888 members, 6,500,554 topics. Date: Tuesday, 21 September 2021 at 05:46 PM
|How To Update An Existing File Size Created In The Database With Laravel-react by ayorinde217(m): 4:51pm On Sep 14, 2019|
i'm saddled with the responsibilities of debugging a Backup Watcher software developed with Laravel-React. What the software does is to watch if the backup software (cobian backup software) used by the company completes the daily backup of the company workfiles.
The backupWatcher software confirm the completion of backups by checking if the workfile size is equal to the backup size in the database.
Everything works smoothly with the software but the only dilemma is that once the workfiles size is created in the database, it doesn't update when the unit folder increases. Lets say, the workfile size of a particular unit when created in the database is 10GB and later the folder increases to 15GB, the database won't get updated. So the software will only compare the backup size with the outdated workfile size in the database yielding wrong result.
Now i want to create a 'Refresh workfile size' button so that when the button is clicked, the workfiles size in the database can be updated or if there is a way the workfile sizes can be updated automatically as the units folder are increases
Axios was used with react to insert workfile size to the database , i'm just above beginner level in Laravel and React. Please what's the way out?
|Re: How To Update An Existing File Size Created In The Database With Laravel-react by stanliwise(m): 9:45pm On Sep 14, 2019|
ayorinde217:It simple, just make your own custom code..... Your problem might need one to have a close look to work it properly.
But php file functions and a little of controllers and router setup will do the work.
|Re: How To Update An Existing File Size Created In The Database With Laravel-react by ayorinde217(m): 1:27pm On Sep 15, 2019|
stanliwise:Can we talk on what's app Bro?
|Re: How To Update An Existing File Size Created In The Database With Laravel-react by stanliwise(m): 1:31pm On Sep 15, 2019|
|Re: How To Update An Existing File Size Created In The Database With Laravel-react by ayorinde217(m): 10:04pm On Sep 15, 2019|
stanliwise:Thank you, will reach u on what's app
|Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health |
religion celebs tv-movies music-radio literature webmasters programming techmarket
Nairaland - Copyright © 2005 - 2021 Oluwaseun Osewa. All rights reserved. See How To Advertise. 36