Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,603 members, 7,809,189 topics. Date: Friday, 26 April 2024 at 04:00 AM

How To Update An Existing File Size Created In The Database With Laravel-react - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / How To Update An Existing File Size Created In The Database With Laravel-react (1023 Views)

SQL Database With Only HTML5 And Javascript (jquery) - Complete Tutorial / I Want To Reassign My Website URL References In The Database / Laravel & React Developer Needed (2) (3) (4)

(1) (Reply) (Go Down)

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:
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?
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:
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.
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
ayorinde217:
Can we talk on what's app Bro?
0-81-7283-3073
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:
0-81-7283-3073
Thank you, will reach u on what's app

(1) (Reply)

Serious Minded Folks That Are Interested In Real Live Hacking / Programmers, How Do You Solve Power Issue / Google Machine Learning Scholarship For Africans

(Go Up)

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

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 13
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.