Support

Akeeba Backup for Joomla!

#27135 New site from Clone - how to Manage Backups

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 on Thursday, 23 March 2017 18:17 CDT

joomleb
Hi guys,

- I installed a standard joomla site on my server with all the extensions configured as I need.
- This is the one I "clone" when I need to install a new site project.
- Logically, each time I change somenthing I manually do a Backup with Akeeba Backup
- Logically on my "Manage Backups" I have the list of all the Backups I done on "Clone" site in its life.
- To "clone" I simply take the last Akeeba Backup and install it thorugh Kickstart.

Now, when I install the "cloned" backup as a new site, I don't want have all the "Manage Backups" history, but I want a blank virgin "Manage History".
So, as I put online the new site I want make a Backup and will be the first backup in the "Manage Backups"...

Please, How to have a blank "Manage History" on the new site ?
(And don't install the backup and then erase all the old "clone" site backups. The first backup will have ID 1 and not the last+1 of the "clone" site)

Many Thanks for help

nicholas
Akeeba Staff
Manager
There is no user accessible control for this operation because it's massively dangerous. If you really DO want to do this you can do so through the database management you are using, e.g. phpMyAdmin. Assuming that your table name prefix is foo_ you need to run TRUNCATE TABLE foo_ak_stats to delete all backup records AND reset the internal MySQL counter.

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!

joomleb
Hi Nicholas,

many thanks for explanation. So, the only table I have to take care is ..._ak_stats, right ?

And, please, to reset the internal MySQL counter in phpMyAdmin I have to right click the table in the tree or in the list view, click "Alter table ..." and edit the auto increment value. As far as I know it's always safe to set it to 0 (also for tables with rows in it because MySQL will correct the value as needed), Am I right ?

Thanks for help and support :)

nicholas
Akeeba Staff
Manager
many thanks for explanation. So, the only table I have to take care is ..._ak_stats, right ?


Correct. This is where all the backup records are stored.

And, please, to reset the internal MySQL counter in phpMyAdmin I have to right click the table in the tree or in the list view, click "Alter table ..." and edit the auto increment value.


That's not necessary. The command I gave you does two things: delete all records and reset the internal counter.

There's also another way to reset both the backup profiles and the backup records: exclude all the _ak_ tables from the backup. After restoration login to the backend of the site, ignore the big, fat error page and append ?option=com_akeeba to the URL on your browser. After hitting that URL a couple of times you should see Akeeba Backup's page and the tables should be created. Please note that this an untested theory, your mileage may vary, things may blow up etc ;)

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!

joomleb
Hi Nicholas,
really many thanks for support, I run with success the TRUNCATE TABLE foo_ak_stats to delete all backup records AND reset the internal MySQL counter

nicholas
Akeeba Staff
Manager
I'm glad I could help you :)

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!