Support

Akeeba Backup for Joomla!

#8729 Akeeba eating up all my drive space

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 Tuesday, 15 February 2011 05:10 CST

biopgoo
Hello,

My server is a virtual server with only 20 GB of drive space with Cpanel installed. It is sending me annoying messages that it is almost out of drive space and it seems like akeeba is partly at fault.

I am doing a full backup every week that I send to S3 and so far as I know, the backup files are correct. However there seems like there is a problem. Pasting:
public_html/administrator/components/com_akeeba]# du -h --max-depth=1 | sort -r
92K ./models
867M .
865M ./backup
802K ./akeeba
63K ./helpers
36K ./controllers
3.0K ./tables
23K ./language
182K ./assets
166K ./plugins
154K ./views


As you see the backup directory is almost a Gig

If I have successfully attached the directory listing of the backup directory you can see that my backup files are surprisngly large. The only explanation I can think of is that Akeeba backs up .zip files, .jpa files and .gz files. I have no interest in including compressed files in my backup.


Regarding the forum, the subscribe button has very little contrast so I find it difficult to distinguish that I have the subscribe button marked, as is my desire.

Love,
Andres

nicholas
Akeeba Staff
Manager
The ZIP file you mention in your post never got through. After uploading attachments you have to scroll the upload window to the right and click the green checkmark to insert the attachment in your post.

Regarding your issue, if your backup archives are too large and you do not wish to include specific files, you can exclude them using the File and Directory Exclusion button in Akeeba Backup's control panel page. This takes you to a page where you can select individual files or directories to exclude from the backup set. Alternatively, if you wish to exclude files by their extension, you can always use the RegEx File and Directory Exclusion page and supply a regular expression to filter them out. In our documentation we have a lot of examples of regular expressions which you can customize to this end.

I also suggest having Akeeba Backup remove the backup archives from your server after a successful backup. This can easily be accomplished by going to the Configuration page and clicking the "Configure..." button next to the Data Processing Engine drop-down. In the new pane which opens below please tick (place a check) in the "Delete archive after processing" checkbox. This will remove your backup archives after they are successfully uploaded to S3.

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!

biopgoo
Hello Nicholas,

I double checked your documentation and I wonder if to avoid backing up all compressed files I would have to enter
#\.z#i
#\.jp#i
#\.tar#i
#\.gz#1
#\.tgz$#i


Regexes make me nervous. Here I want to do the non standard stuff of excluding all files that have a z after a period and a jp after a period.

Love

nicholas
Akeeba Staff
Manager
The correct Regular Expressions in this case would be:
#\.z[a-z0-9]*$#i
#\.jp[a-z0-9]*$#i

This will exclude ZIPs and JPA/JPS files. If you also need to exclude tar, tgz and tar.gz archives you also have to add on two RegEx
#\.tar$#i
#\.(t)?gz$#i

I hope that helps :)

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!