Support

Akeeba Backup for Joomla!

#19088 Quota Management

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 Friday, 07 February 2014 07:18 CST

user57840
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: Hi
I am having issues with quota management. I have created three profiles - 1 for amazon s3, 1 for dropbox and 1 for the server. Its schedules backup in all three profiles with cronjob. For server I have set the quota for 3 backups and works very well. The new backups are taken and the old ones are deleted as expected. In dropbox i have set the limit for one copy of backup since i am using their free plan. It works as expected. However, in amazon s3 I am facing problem to manage the quota. The problem is as under -

1. The quota is set to three backup copies.
2. The script first deletes the old backup and takes the new backup. I do not even see the obsolete records.
3. On the next day the same things happen since I have scheduled it daily. It will delete the old backup and takes a new backup which is kept in amazon for 1 day. When the cron is triggerred it first deletes the backup and takes a new one and if the backup fails I dont have any backup copy at amazon. Also when I have set the quota for three backups the script should not delete any backup stored unless it reaches to the limit. This is happenning successfully with other profile.
4. Whereas in dropbox where I have set the quota only for 1 backup the backup is first taken and the old one is deleted. I have tested both the profiles for the past few days and working fine but unfortunately the amazon profile is not working as configured.

I have taken following steps to fix this -

1. I have deleted all files of backup bucket.
2. I have deleted all backups listed in manage backup of this profile
3. I have deleted the cron and created a new one in the cpanel.

I have repeated these steps several times but the issue is not fixed. The backups keep deleting and only one backup is listed if it is successful.

Am I missing something....? Can you guide me what is the probable reason for this.....?

Thanks.....

nicholas
Akeeba Staff
Manager
> 2. The script first deletes the old backup and takes the new backup. I do not even see the obsolete records.

No. It cannot and will never do that. Each backup is its own backup record. Depending on your setting in the "Process each part immediately" option, the backup part files are either uploaded immediately on creation (when the option is checked) or after the entire backup is complete (when the option is not checked - default). The only way a backup archive file will be overwritten is when the backup archive name is the same in both backups. We recommend adding the [DATE] and [TIME] variables in your "Backup archive name" option to prevent that from happening.

Based on the above, I believe your problem is the backup archive name.

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!

user57840
Hi

Thanks for your quick reply....I have checked at Amazon and found that the backups are there but it gets deleted from the manage backups list in the script. I have also checked that the backup archieve name is always different and with date. Since I have daily backups so the chances of getting same archieve names alongwith date is impossible. Is there any other setting in script which i can check so that the backups are not deleted from the manage backups list.....?

nicholas
Akeeba Staff
Manager
Yes, there is. Check the obsolete records quota. Make sure it's something more than 2.

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!