Can the database back up cron be changed

Can the path that is listed in the admin>backup section be changed from a php cron to a “wget”
reason is a server change has affected the backup as per a previous post of mine so automatic backups are not happeneing. But the crons using wget are working ok.

can this path be changed, if so would anyone be able to tell me what patch I would use for wget

php /path/to/cart/myadmin.php -p --dispatch=datakeeper.backup --backup_database=Y --backup_files=Y --dbdump_schema=Y --dbdump_data=Y --dbdump_tables=all --extra_folders[0]=var/files --extra_folders[1]=var/attachments --extra_folders[2]=var/langs --extra_folders[3]=images

No, it cannot be used with wget because it is not the same as running PHP in CLI mode. This means that all requests will be made with HTTP and will lack any authorisation or cookies. This will result in 403, 404 or 401 responses from the server.

1 Like