gbeddow
Forum Replies Created
-
You knew all along it was the proxy?
Interestingly, I’ve tried pausing CloudFlare – bypassing everything it does other than being a proxy – and that still didn’t work when logged into https WP admin. The only thing that works for manual backup from BackWPup is logging in as http.
CloudFlare provides some very useful security and performance advantages, so making BackWPup work with it would be a big plus.
WP-cron is no loss to me, depending as it does on activity on the site in order to get things done. Regular server cron is reliable regardless of site activity, and works well for me.
Thanks.
I’ve been reading up on WP-CLI. Interesting idea, although a lot of install hoops to jump through to get manual backup working.
Since my scheduled backups were already using the BackWPup script above in a file on my (shared hosting) server, I was able to invoke the same file from ssh for a manual backup:
php -f /home/mysite/public_html/wp-content/uploads/backwpup-php/backup-mysite.php
Still, it would be nice to run a manual backup from within BackWPup itself so you don’t have to fire up ssh, etc.
I’d be happy to provide more info on the configuration of my WordPress site, test beta versions of BackWPup, etc. I think SSL and related technologies for WordPress – and sites in general – are the future, and will help build a safer internet. Getting BackWPup to work well in this environment seems like a good thing all around.
Just checking back to see if anyone had thoughts on this one.
Others seem to be having similar problems, but I haven’t been able to find a solution.
Is the fact it works for a scheduled backup a clue as to cause?
Any possibility of a workaround for manual backup?
Thanks!
Yes, I was able to schedule a Cron on the host (not WordPress Cron) to execute PHP something like this:
<?php $_SERVER[ 'SERVER_ADDR' ] = 'xxx.xxx.xxx.xxx'; $_SERVER[ 'REMOTE_ADDR' ] = 'xxx.xxx.xxx.xxx'; $_SERVER[ 'HTTP_HOST' ] = 'www.mysite.com'; $_SERVER[ 'HTTP_USER_AGENT' ] = 'BackWPup'; define( 'DOING_CRON', TRUE ); require '/home/mysite/public_html/wp-load.php'; if( class_exists( 'BackWPup_Job' ) ) BackWPup_Job::start_cli( 1 ); ?>