Support

Akeeba Backup for Joomla!

#14407 few questions on automated backup

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
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

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Monday, 17 December 2012 10:53 CST

user18692

Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 2.5.8
PHP version: 5.4.7
MySQL version: 5.5.28
Host: (optional, but it helps us help you)
Akeeba Backup version: 3.6.9

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:

 

I'm trying to set up an automated backup. I have 3 servers, I would like to backup the frontend (now on let's say server A) on other 2 servers, B and C. I would like to make incremental files only (is it the right things to do?).

1) should I create 2 profiles?

2) Is it correct, in setting up, to change from default configuration on Basic configuration>backup type>files only, incremental, and then in Advanced configuration>DirectFTP and configure it? Or should I change anything else? (please excuse me, I read everything but my english claim to ask you to be sure)

3) on Basic configuration there is the output directory. But my output directory is a server. Is it relevant for me to achieve my goal?

4) I bought some credits with webcron.org. But despite the fact that I'm trying with (it seems so) success to copy files into server B without cron (but with "site files only"), and that webcron.org told me the webcron is setted ok, the backup doesn't start. Have an idea where am I wrong? I mean I make backup without cron and cron is set ok, but when I try to make backup with cron it doesn't start

I attach both files of log

 

Thx,

Mario

nicholas
Akeeba Staff
Manager

Hello Mario,

You can't backup only the front-end. That doesn't make sense. I believe you mean you want to take a backup using the front-end backup feature.

If you use the incremental files method then you are backing up only new files. You are not backing up any database changes. My guess is that this is not what you want. What you most likely want is a full site backup.

1. It depends. Do you want to backup different things on the same site, e.g. have one profile ot backup the entire site and one profile to backup only changed files? If you do, you need multiple backup profiles. If you need to inly backup the same stuff you just need one profile.

2. I am not sure what you want to achieve. Do you want to copy site A to site B and C? You can't do it automatically. You can use a full site backup and DirectFTP but after the "backup" operation you will have to manually run the restoration script on sites B and C

3. You always need an output directory. This is where Akeeba Backup will store its temporary files. Use the default output directory.

4. No idea? It seems that you have not activated the CRON job or you set it to run on a very irregular schedule. Your log file tells me that no backup has ever run.

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!

user18692

Hi Nicholas,

I didn't tell you. I have already a backup of the database (my hosting provider setted up).

1) I have to copy the frontend from SERVER A on SERVER B and SERVER C. It just happened that 2 of those 3 servers went down. If I have a backup on all 3 sites, the provider can easily move on another server (let's say server D)

2) I need same things, from SERVER A into both SERVER B and C. Possible to do it? With 1 or 2 profiles?

3) So this means that if I want to backup from SERVER A into B and C, the output directory can be the one on A, leaving the default one, is it right?

4) I will check, thx.

nicholas
Akeeba Staff
Manager

OK, now I understand what you want. You need to have a clone of Site A on Site B and Site C. You cannot copy just the files. You have to transfer the entire site, including database and all of the files. Anything else might or might not work. If you don't want to follow my advice on points #2 and #3 of my previous reply you'll have to make some tests to see if your solution works. I seriously doubt it will work, but who knows?

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!

user18692

Yes a clone on both B and C

You mean that it doesn't work if I copy the root on other roots and db on other db's?

Actually, the hosting provide me the exact copy (continuously backed up) of the DB. But they asked me to do the same with the FTP. 

nicholas
Akeeba Staff
Manager

You mean that it doesn't work if I copy the root on other roots and db on other db's?

No, it will most likely not work. At the very least you also have to modify your configuration.php. Usually you have to also modify your .htaccess and several configuration options (in files or in the database) for several third party extensions so that the correct site URL and absolute path to the site's root is used. If copying files and a database was the way to do a full site backup Akeeba Backup wouldn't exist at all.

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!

user18692

Sure! You're right!

BUt then, if I'm in trouble, at least changing configuration.php, make the site visible... (consider what happened 3 weeks ago, 2 servers on 3 with a hardware problem and site down for 1 and half day!).

Thx,

Mario

nicholas
Akeeba Staff
Manager

Mario,

you are approaching this in the wrong way :) Akeeba Backup is designed to make backing up, restoring and moving a site between different places very easy. In fact, it was made as a solution to move sites. Backing up and restoring is a degenerate subcase where the source and target server is the same.

So, what do you need to do to survive what happened to you 3 weeks ago? Simple: take automated, frequent backups to an off-site storage location (e.g. Amazon S3 or Dropbox). If your server crashes, just upload the backup archive, kickstart.php and run Kickstart. Akeeba Backup Installer, the restoration script which is included in every backup archive, will reconfigure your configuration.php file for you. Akeeba Backup is a disaster recovery tool. Use it as such :)

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!