Support

Akeeba Solo

#22922 How to restore from dropbox?

Posted in ‘Akeeba Solo (standalone)’
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
Akeeba Solo version
n/a

user1042
I'm trying to restor from Dropbox,
And I'm getting this error-

Do not close this window or navigate to another page while the archive extraction is in progress
The extraction has failed

Extraction of the backup archive has failed.
The last error message was:

The file is not a JPA archive

nicholas
Akeeba Staff
Manager
First you need to download the backup archive back to your server. Go to the Manage Backups page and find the backup record. Click on the Manage remote files button next to it. Now click on Download back to server. When this is over close the popup and reload the Manage Backups page. The backup record should now have a status of "OK" instead of "Remote". Now you can restore it.

Another way to do that is download the file from Dropbox, upload it to the site you are restoring to and upload kickstart.php (Akeeba Kickstart) there. Then access the /kickstart.php on that site to begin the extraction procedure.

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!

user1042
I clicked "fetch back to server" on this page - http://screencast.com/t/gmHU9BIvSoRp
but all I get is this - http://screencast.com/t/swz0COD828

nicholas
Akeeba Staff
Manager
Then you need to go for plan B, I'm afraid. Download the file from Dropbox, upload it to the site you are restoring to (not where Akeeba Solo is installed) and upload kickstart.php (Akeeba Kickstart) there. Then access the /kickstart.php on that site to begin the extraction procedure.

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!

user1042
Which one iof these files do I need to upload to the server? - http://screencast.com/t/OekOeU8bK
Also, can I restore to a different directory (meaning not to overwrite the original site, but rather make a copy of it)

nicholas
Akeeba Staff
Manager
All of them. You have a multipart backup archive. You need all files: .jpa, .j01, .j02 and so on. They are treated by the extraction process as one archive automatically. However, ALL of these files must be present.

Also, can I restore to a different directory (meaning not to overwrite the original site, but rather make a copy of it)


Of course. It's the same procedure. Please watch our video tutorial ABS04 - Restoring a site on a new server

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!

user1042
I can't get it to work.
While extracting, it keeps getting stuck at the 22 part (out of 23).
I got this error:
An error occured
Invalid header in archive file, part 22, offset 0
I tried again and got -
Invalid header in archive file, part 22, offset 3670016

Although the error, It seems all the files were extracted, so I tried to browse to the new url and the installer came up and I installed and got a succes message, but when I click at the end to see the front page I just get a 404 page.



nicholas
Akeeba Staff
Manager
Can you please ZIP and attach the backup log file? I want to see if the upload completed successfully or some parts could not be uploaded. In this case you'd be missing some backup parts which explains what you're seeing.

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!

user1042
Here's the log of the dropbox backup
Thanks!

nicholas
Akeeba Staff
Manager
According to your log file your backup consists of exactly TWO parts:
  • site-www.mamon.biz-20150707-045953.j01
  • site-www.mamon.biz-20150707-045953.jpa

However you are talking about part 22 of 23. I'm confused. The log file doesn't seem to correspond with the backup you are trying to restore so there's nothing for me to help you with.

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!

user1042
Please see here that there are 23 parts - http://screencast.com/t/sI58Yisiuyek

nicholas
Akeeba Staff
Manager
Oops, sorry, you're right. You've enabled the "Upload parts immediately" option. There are 24 parts in total: .jpa, .j01, .j02, ..., .j22, .j23.

First, please use the File and Directory Exclusion feature to exclude the contents of the directory media/com_acymailing/logs from your backup. I don't understand why AcyMailing chooses to put its private log files into a public directory instead of Joomla!'s own log directory as configured in Global Configuration (after all, Joomla!'s log directory is for, well, putting logs in it!) but this doesn't belong in the backup and it's 330 Megabytes. I also suspect that it changes its size while the backup is in progress which explains why the backup gets corrupt and is the exact reason we exclude logs from the backup archives.

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!

user1042
ok, did it.
The backup was realy much quicker now, thanks.

I got these warnings, does that matter -

Unreadable directory /home6/freepate/public_html/bikorot/components/com_s2framework/tmp/cache/views
Unreadable directory /home6/freepate/public_html/bikorot/components/com_s2framework/tmp/cache/views
Unreadable directory /home6/freepate/public_html/bikorot/components/com_s2framework/tmp/cache/views
Unreadable directory /home6/freepate/public_html/bikorot/components/com_s2framework/tmp/cache/core
Unreadable directory /home6/freepate/public_html/bikorot/components/com_s2framework/tmp/cache/core
Unreadable directory /home6/freepate/public_html/bikorot/components/com_s2framework/tmp/cache/core
Unreadable directory /home6/freepate/public_html/bikorot/components/com_s2framework/tmp/cache/menu
Unreadable directory /home6/freepate/public_html/bikorot/components/com_s2framework/tmp/cache/menu
Unreadable directory /home6/freepate/public_html/bikorot/components/com_s2framework/tmp/cache/menu

nicholas
Akeeba Staff
Manager
These are file permission issues. BUT, since these are cache directories you don't want them to be backed up so please follow the same advice to exclude them from the backup. Again, like AcyMailing, the developer who wrote com_s2framework seems to ignore how Joomla! is supposed to work!!!! He's put a temporary, private cache into the PUBLIC directories of your site. From a security perspective this is somewhere between suicidal and outright moronic. What can I say? At some point Joomla! extension developers should learn to use the Joomla!-provided temporary, log and cache directories. It's not like they're a big secret. They've been there since December 2006. You'd think that eight and a half years would be enough for developers to catch up with the basics... *sigh*

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!

user1042
Thanks :)

user1042
I just restored now from dropbox and it works, thanks!

nicholas
Akeeba Staff
Manager
You're welcome! I'm glad I could help you out :)

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: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

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!

Summer vacations: Our support will be closed for replies and new tickets from August 6th to August 21st, 2022 due to summer vacations.