Fork me on GitHub

How to keep my Zikula sites updated  Bottom

  • I have difficulties in updating my Zikula sites with latest releases. I might not yet have the right solution on how to do this. Hope someone can show me a way.

    - I have various Zikula sites running (1.0.3 to 1.1.2)
    - I have access to the web server only through FTP

    Before updating to the latest version one should make backups – nothing new!
    But the only way for me to create a backup of the file structure is to download the complete site via FTP. That takes a while. And if something goes wrong with the updating, I have to re-upload the complete file structure back onto the web server. That again takes time, and during that time the website might not be reachable.
    I do not like that!

    I would like to create a copy of the file structure on the web server into a sub-folder. But copying files with FTP (filezilla) is not possible, only moving files is possible.

    I then looked into a PHP script to copy all files into a sub-folder. But I am not a good coder, and it also seems to give problems with the permissions set on the server.

    So it all does not really work for me. How do you guys solve this?

    --
    nitz
  • Do you have access to cPanel? If not, who is your host?
  • if you are on a unix system you may work with wget and and your FTP login, still it take a while,...
    I am using net2ftp (is also available with a zikula module as a bridge) installed on the same webserver, then you can logon to your webserver like in any ftp clients,... you are still using ftp but all on the same machine - no transfer via internet.
    I suggest not to copy all at once, since you may run in a timeout of your server,... but for me that is the best solution I've sound.
    Since my webhost does not support backups, I also perform a weekly backup of the complete system to my ubuntu pc using the wget command as a cron job,... you will find some samples on how to use this arround the Internet (for example delta backup, using the FTP Protocol and so on).
    I really like the net2ftp software, since in my office FTP is not allowed, and so I can still work in the work on my private tasks!

    Another nice feature is upload and extracting of zip files on the server, if I would like to try a module I just upload the complete archive, and still without shell I am able to upload and unzip - nice feature!

    gruss
    bernie
  • If you can't download an archived backup, you need a new host.

    --
    Home Page | Find on Facebook | Follow on Twitter
  • Thanks for the input!

    1.) No cPanel available, only FTP.
    2.) I'll look into net2ftp - thanks.

    - Need a new host!?
    This is not possible. I am bound to .na domains and we don't have many hosts arround icon_rolleyes
    They all only offer FTP access.

    Thanks anyway!

    --
    nitz
  • Quote

    This is not possible. I am bound to .na domains and we don't have many hosts arround icon_rolleyes
    They all only offer FTP access.

    This is a mistake. You might be bound the those registrars who do have a contract with the official registry at http://www.na-nic.com.na/ - there are many of them around the world, and comparing prices is recommended. Done that you can use the registrar's DNS services, use a 3rd party professional DNS provider, or run your own DNS servers. And finally, you can use any host around the world, again also even your own servers if wanted. Hosting your sites physicially inside your country is in most cases the worst option from a technical point of view, by the way.
    It is good practice to not use all the above services from one single provider, not just because of pricing, but because of increased control and security for your sites.

    All that is general advice, and not just related to Namibia.

    Greetings,
    Chris

    --
    an operating system must operate
    development is life
    my repo
  • There's also the following option: write a Q&D program in perl or PHP to run a command line from a web page. Upload it, run it, and DELETE IT IMMEDIATELY AFTER. If you can put in some sort of password in there, so much the better. It is a risk, but it is unlikely that someone will find it and exploit in during the few minutes it's online.

    --
    Bart Lidofsky
  • Thanks for all the valid input!

    The host offered to schedule a cron job to create daily backups into a sub-folder. That will work for now.
    @ slam, interesting advice. I'll have to take a closer look at it.

    Thanks!

    --
    nitz
  • I recommend switching to HostGator. They are a great host with incredible support. I have used them for nearly 5 years now.

This list is based on users active over the last 60 minutes.