₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,327,218 members, 8,429,850 topics. Date: Friday, 19 June 2026 at 02:09 PM

Toggle theme

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

Nairaland ForumScience/TechnologyProgrammingHow To Update An Existing File Size Created In The Database With Laravel-react (1204 Views)

1 Reply (Go Down)

How To Update An Existing File Size Created In The Database With Laravel-react by ayorinde217(op): 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(op): 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(op): 10:04pm On Sep 15, 2019
stanliwise:
0-81-7283-3073
Thank you, will reach u on what's app
1 Reply

I Need A PHP Developer To Modify An Existing ScriptSQL Database With Only HTML5 And Javascript (jquery) - Complete TutorialI Want To Reassign My Website URL References In The Database234

Download Free Guide To Become Big Data Engineer 2020Rate My One Page SiteWhy Are There So Few Matured Developers In Africa?