Support

UNiTE, Remote CLI, eXtract Wizard

#3551 2.3.3"Part size for archive splitting" not working

Posted in ‘UNiTE and Remote CLI’
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

PHP version
n/a
Tool
UNiTE
Tool version
n/a

Latest post by nicholas on Wednesday, 30 September 2009 06:11 CDT

user7127
Hello folks,

users usually just show up, as soon as they have problems - so do i, unfortunately.

I was looking around for a suitable Joomla backup solution, and ended up with JoomlaPack. I tested it a couple of days in my sandbox and I must say it's nearly perfect for my needs.

BUT, unfortunately my provider has a 10 MB limit for files created by scripts and users, so I took some houres today to resolve this and i was very conscious to fix my Problem with "Part size for archive splitting" option in advanced config tab.

yes, I also read the notice this option only works with zip packer, but not in my installation !? I tried php-ZIP and tar.gz options, both are not working... maybe because i am testing on a windows machine, where no tar / gzip binaries exist ?

please help ! I would really like to use you fantastic tool....

user7127
Hi !

nobody has same Problem, as I do ? Nobody uses this option "Part size for archive splitting"?

hmmm..

nicholas
Akeeba Staff
Manager
The tar and tar.gz formats do not support archive splitting. Using it with JPA should work. Right now, there is a bug which prevents it to be used with ZIP files. I am working on it. Of course, you have to enter the part size in bytes, e.g. 9437184 for 9Mb (it's best to not stretch each part up to the maximum allowed size).

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!

user7127
nicholas, many thanks for your answer...
i did not help immediately, but it made me play around a bit more, and i found out, that my test with value "1024" was just too small !

It seems that if the file, that is currently added to the archive itself is larger than the split-size it will be added anyway. So, I would recommend you to update either the documentation or to change the unit what to enter in this field to KB at least :-)

So, I can say, it works with JPA archiving now perfectly. Thanks for this great tool !

regards, FS.

nicholas
Akeeba Staff
Manager
I quote the on-line documentation (last updated on 2.3.3 release):
Part size for archive splitting. JoomlaPack 2.3 and later support the creation of Split Archives. In a nutshell, your backup archive is spanned among one or several files, so that each of these files ("part") is not bigger than the value you specify here. This is a useful feature for hosts which impose a maximum file size quota. The part size must be given in bytes. Useful and frequently used values are 524288 (512 Kilobytes), 1048576 (1 Megabyte), 5242880 (5 Megabytes) and 10485760 (10 Megabytes). If you use a value of 0, no archive splitting will take place and JoomlaPack will produce a single backup archive.


As you can see, it's quite clear that you must enter this in bytes. The sample values should also be quite a guide (I do mention the most common settings). So, the documentation is quite fine. It's lengthy, yes, but it's not lacking this crucial little bit of info ;)

Inputing 1024 effects no splitting taking place. In fact, any value less than 65536 (that's 64Kb expressed in bytes) results in a single-part archive. The actual reason is that the ZIP specification prohibits part sizes less than that.

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!

user7127
Nicolas,

yes, that was exactly the paragrph in the doc that made me try 1024 bytes as this must be reached quickly !

Unfortunately I did not know about the zip-limitations you mentioned

Inputing 1024 effects no splitting taking place. In fact, any value less than 65536 (that's 64Kb expressed in bytes) results in a single-part archive.


This paragraph should be added to the documentation.
thanks !

nicholas
Akeeba Staff
Manager
Point taken :) I will be modifying the documentation for the next release.

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!