Welcome, Guest: 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 - Programming - Nairaland

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

I Want To Reassign My Website URL References In The Database / Laravel & React Developer Needed / I Am Experienced With Building Web Apps With Laravel (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)

How Software Development Life Cycle Works? / Becoming A Data Scientist / Vb.net Alert

(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 - 2021 Oluwaseun Osewa. All rights reserved. See How To Advertise. 36
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.