Support

Akeeba Backup for Joomla!

#41078 Akeeba Backup | Automated with Panopticon

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
Latest
PHP version
Lates
Akeeba Backup version
Latest

Latest post by tampe125 on Wednesday, 11 September 2024 07:47 CDT

ReneSchouten

Hoi Nicolas,

I have now set up Panopticon for a few website(s) and now want to take the next step.
This step is automating my BackUps with Akeeba Backup.
Can this indeed be done via Panopticon or can I set it up via Akeeba Backup.
If the following is the correct instructional video.

https://www.youtube.com/watch?v=qKY97Em5TQk

My backup policy, I now do manually:

1) Every Monday of every week I make a backup;
2) I make a backup every 1st of the month;
3) I make a backup every last day of the month.

I would like to automate this policy for all my website(s).

Is this video a good tutorial for this or is there another one as I want to do it from Panopticon.

https://www.youtube.com/watch?v=qKY97Em5TQk

Before I get started, I want to go through the video or instruction step by step and test whether I can get it to work.

tampe125
Akeeba Staff

Hello,

the best thing is to setup the automation directly inside Panopticon. In this way you'll have a central point where you can manage everything, instead of having to login inside every website control panel and setup CRON jobs 

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

ReneSchouten

Hello Davide,

Is there a manual or video available that we can use to set this up via Panopticon? This is of course easier than having to set up all the CRON tasks. Perhaps the manual for this can be found on Github.

tampe125
Akeeba Staff

Hello,

you can find the manual here: https://github.com/akeeba/panopticon/wiki 

This page should give you all the answers you were looking for: https://github.com/akeeba/panopticon/wiki/Backup-Management 

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

ReneSchouten

I managed to configure an automatic backup via Panopticon.
Also tested it and the action is executed on the set date.
However, I am not satisfied with the description of the backup (see attachment).
I think I need to adjust this {DATE_FORMAT_LC7} (see attachment).

I would like the following description configured: the full date and time the backup was performed.

ReneSchouten

Do I sometimes need {DATE_FORMAT_LC7} in the following format {dd-MM-yyyy HH:mm:ss}

ReneSchouten

I want something to happen automatically, every last day of the month.
If this is the correct CRON expression: 0 0 28-31 * *
The promotion is then intended to be performed every last day of the month at 00:00:00 hours

or

0 0 28-31 * * [ "$(date +\%d -d tomorrow)" == "01" ] && <command>

ReneSchouten

I managed to get my backup policy in a test website:

30 | A backup must be made every Thursday at 00:00:00.
31 | A backup must be made, every 1st day of the month at 00:00:00.
32 | A backup should be made, every last day of the month at 00:00:00.

Just added an attachment, to show, how I decorated it in Panopticon

I hope you can / do you want to confirm whether I am on the right track.

If a positive answer is given, I will close this ticket.

ReneSchouten

I managed to configure an automatic backup via Panopticon.
Also tested it and the action is executed on the set date.
However, I am not satisfied with the description of the backup (see attachment).
I think I need to adjust this {DATE_FORMAT_LC7} (see attachment).

I would like the following description configured: the full date and time the backup was performed.

Which notification should I use to get the result as described above.

nicholas
Akeeba Staff
Manager

You can change the description in the site's Site Information page, Automations, Backup. Click on the schedule of the automation you created. You can change the Description. On that screen click on Show/Hide Help to see what you can enter in the Description field. As you can see, you can always use Akeeba Backup's standard variables such as [DATE], [TIME], [HOST] and so on, as well as the Panopticon formatted dates {DATE_FORMAT_LC1} through {DATE_FORMAT_LC7}. These are replaced by formatted dates. Here's the same date in all seven formats:

  1. Thursday, 05 September 2024
  2. Thursday, 05 September 2024 21:00
  3. 05 September 2024
  4. 2024-09-05
  5. 2024-09-05 21:00
  6. 2024-09-05 21:00:02
  7. Thursday, 05 September 2024 21:00:02 GMT

The default description is Scheduled remote backup with Panopticon taken on {DATE_FORMAT_LC7} which results in a description like “Scheduled remote backup with Panopticon taken on Thursday, 05 September 2024 21:00:02 GMT”. This does indeed include the full date and time the backup was started which is what you are asking us for.

I assume that what you described and what you really want to do are not the same. Can you please give us an example of the description you'd like to have?

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!

ReneSchouten

Hoi Nicholas,

I've decided to close the ticket over Panopticon. This is because I don’t think it is desirable to leave tickets open for a long time. I now have a good eye on the principle of Panopticon and I can work well with it and make beautiful steps. If I run into a question again, which I can not find in the documentation, I will get back a ticket.

ReneSchouten

Hoi Nicholas,

Can you close this ticket, the button [Close Ticket], don't work by me.

tampe125
Akeeba Staff

Ok!

Thank you for the update!

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
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!