Support

Akeeba Backup for WordPress

#33921 Backup to Google Drive

Posted in ‘Akeeba Backup for WordPress’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

WordPress version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Thursday, 05 November 2020 01:16 CST

LeMarque

Hi,

Β 

I will be testing on a demo site but thought I'd ask. After I configure Pro to backup to GDrve, does it operate the same in that it will keep a max of 3 backups and delete the oldest?

Β 

Also, I'm guessing that I can't have multiple Configuration files so that Pro backs up to the server every day and also backs up to GDrive once a week..

Β 

Thanks and stay strong during all this turmoil.

- Lance

ps

The suggestions that appear as I type in my question don't open. I'm just taken to a new create a ticket page.

nicholas
Akeeba Staff
Manager

After I configure Pro to backup to GDrve, does it operate the same in that it will keep a max of 3 backups and delete the oldest?

The local quotas, applicable to what is saved on your server, are maintained. However, they are irrelevant since no files are stored on your server anymore. They are moved to Google Drive.

If you want to apply the quotas also to the backups stored on Google Drive you need to check the "Enable Remote Quotas" setting in the Configuraiton page.

Also, I'm guessing that I can't have multiple Configuration files so that Pro backs up to the server every day and also backs up to GDrive once a week..

We've had that feature since JoomlaPack 2.0 released in late 2008. It so happened that I was going through my old documents yesterday and found the release announcement draft I had written all those years ago :)

What you are looking for is called Profiles. Each profile is a collection of configuration and filter settings. You can check out the documentation in https://www.akeeba.com/documentation/akeeba-backup-documentation/using-basic-operations.html#profiles-management

Remember that you can select the profile whenever you are setting up automated backups. This way you can have two separate backup profiles. Your daily backup profile would have the Post-processing Engine set to None and set up to run every day except Sunday. Your weekly backup profile would have the Post-processing Engine set to Upload to Google Drive and set up to run every Sunday. Therefore you'd achieve what you're trying to do.

I can tell you that this works based on our first hand experience with our own site. We implemented this feature because we needed it on our own site. Our daily backups do not include the software files from our download section. These are backed up separately, once a week, using a files only backup that's a different profile.

PS: I am aware about the problem with the suggestions. I was working on it over the weekend. I need to deploy the update on our site.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

LeMarque

Genius !

I have a few questions but my "evil twin brother' has me in a headlock; so please keep the ticket open.

I'm going to write up a sentence or two to reply to those WP users that are asking about backup solutions. I've tested most of the others and they don't come close to AKEEBA.

-

L.

Β 

ps.

Β 

I'll trade you Genuine New Mexican Green Chile for some Greek Cuisine. But it has to contain MEAT!

nicholas
Akeeba Staff
Manager

I will of course keep the ticket open. No worries. And thank you so much for the kind words!

So, food. I'll go off a tangent here :D I love cooking and I love spicy food. You're asking the right person about Greek cuisine.

Traditional meat dishes from the mainland are mostly grilled meat and sausages. A trip to Kroger's or Whole Foods would probably find you some Greek rustic / village-style sausage or a close approximation. Great for grilling (whole, don't puncture it) and consuming without any sauce. Sounds barbaric but the trick is that the sausage meat itself is flavored with herbs which typically include leek or onion. The other way to consume sausage is spetzofai, combining the mouth watering sausage with thick red sauce and peppers. It's perfect for cold winter days.

The other signature dish is lamp chops, marinated and cooked well done. This also sounds weird, who eats their meat well done anyway, but the end result is superb. The only drawback is that you have to come all the way to Marathon, Greece to taste them.

When it comes to dishes brought by the Asia Minor Greek refugees in the 1920s (that's one side of my family) I have two suggestions. If you're into Crock Pot cooking I'd strongly recommend moshari kokkinisto (beef in red sauce). Cinnamon in a stew sounds weird -- my wife's American and she shared that trepidation -- but it's the surprise ingredient which ties the dish together. Trust me! The other dish that has proven to be immensely popular with all my non-Greek friends is soutzoukakia (Greek meatballs). Do it with the red sauce and serve over hot rice. You can add red hot chile to the sauce to kick it up a notch.

The third group of Greek meat dishes are the ones inspired by French and Italian cuisine, made up in the 1920s. You've probably heard of pastitsio and moussaka. The former is usually described as "Greek lasagna" and there's a lot of good-hearted jesting between Greek Americans and Italian Americans about which dish is the best. The latter is a combination of traditional Greek meat pies with French cooking, basically substituting pie dough for bΓ©chamel sauce. Both are amazing dishes for the winter.

I think by now you have a nice small cookbook of Greek recipes which are perfect for chilly winter days :)

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

LeMarque

Back to food in a bit, but for now ...

Β 

I can't find where, after setting up a profile for Google Drive, that I can set what time of day I want the backup to run. It seems as tho it may be using the times I set for the Server Cron job.

nicholas
Akeeba Staff
Manager

Akeeba Backup doesn't have backup scheduling. It gives you tools for you to set up scheduled backups (CLI backup script, legacy frontend backup URL, remote backup JSON API) but it's up to you to set up a CRON job. So, yes, when each profile will run is up to the CRON jobs you set up yourself.

If you select a backup profile and go to the Schedule Automatic Backups page in Akeeba Backup you can find more information about how to set up scheduled backups with that backup profile.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

LeMarque

Hope everything's OK in your part of the country. From fires to hurricanes to earth quakes, seems like Mother Nature's more than a bit grouchy.

Anyway, the backup to Google Drive seems to work fine. I'm tweaking it to limit the number of saved backups.

But something interesting I don't understand. All of my sites use the same security plugins and Cloudflare rules. The one firewall rule (which I grabbed from a user on Reddit) is meant to stop xmlpc.php attempts before they reach the server, and the page rule to protect admin login.

So I've been checking the error logs to verify that there are none or a limited number of xmlpc.php probes. On one site the error logs are showing akeebabackup errors; although the backups are being saved to both the server and Google Drive.

Any clues?

nicholas
Akeeba Staff
Manager

Please note that Akeeba Backup does NOT use xmlrpc.php. Your error log tells you the same.

What Akeeba Backup does is a security check every time you visit its control panel page. It tries to check if your backup output folder is accessible over the web. Receiving an error is a good thing. It means that your backups cannot be accessed by random people on the Internet without logging into your site as long as they can guess the backup filename (which is much easier than you may think).

Akeeba Backup performs this check two ways. It tries to access the folder listing of the backup output directory and a file with a known name it created on purpose inside that folder. If either of these tests returns something which is not an error Akeeba Backup will warn you that your backups are insecure and tell you what to do. Receiving an error in both security checks is a good thing, as I mentioned, so you are receiving no warning in Akeeba Backup.

So, it's normal and desirable to see those errors messages in your server's error log. It means that your server is set up correctly and Akeeba Backup is correctly performing its security check.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

LeMarque

Thanks Nicholas,

I don't want to beat a dead horse but I don't see those akeeba entries in any of my other sites error logs. So does that mean my other sites are not configured properly? This particular entry is when the Google Drive backup runs for that particular account.

As for xmlrpc.php, and the rest, I was just listing all the rules I use on Cloudflare simply for full disclosure. I'll compare the security plugins I use for the sites to see if I have something configured differently that might be the issue.

And to complicate things (on my end) and wanting to keep you in the loop, this morning I received the attached from CSF (ConfigServer Firewall) Login Failure Daemon (LFD)

"Suspicious process running under user newmexiconet"

If I continue to receive these I can talk to either CSF or LW to come up with a solution to eliminate the notices. Again, this is a different site that is configured to backup to Google Drive.

Thanks for staying with me on this.

nicholas
Akeeba Staff
Manager

You are falsely insisting that CloudFlare can have anything to do with your backup to Google Drive. This is NOT possible. CloudFlare is a proxy filtering out which requests will reach your web server. It is not installed on your server and has absolutely no say about what your server does to communicate with the outside world and traffic reaching the server through a connection it has opened itself. Therefore it cannot have anything to do with Akeeba Backup uploading a backup to Google Drive which you already said is working so exactly what are we doing here?!

I have already explained that WE ARE NOT USING xmlrpc.php. If you want to insist otherwise please provide the code location in our plugin which says otherwise. I won't be holding my breath. I know there is no such thing. I understand what xmlrpc.php does (it is used to communicate with third party desktop clients such as the now defunct Windows Live Writer and has long been replaced by the API used by WP-CLI and third party solutions).

As for whether your servers are correctly configured, my crystal ball is cloudy and my mind reading skills are not good to begin with. If Akeeba Backup has determined that backup output directory is either outside the web root or definitely unreachable over the web it caches that information and doesn't check for a while.

In any case, your original question has been replied to since October 19th. Everything beyond that is completely unrelated to your ticket and not exactly accurate or relevant – something I have also already explained. Asking me the same question I have already answered thoroughly is unproductive and only spends my time for no good reason, time I would rather have used to help other clients with real problems or work on our software. I am closing this ticket per our Support Policy which is part of Terms of Service.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!