The Zipit Backup Utility is a tool that enables users to compress and back up data on Cloud Sites, including files and mysql databases. All backups are stored on your Rackspace Cloud Files account. The backups are done on a site-by-site basis and are initiated manually. There is also an option for setting up automated backups utilizing a Cloud Site's Scheduled Task (cronjob).
The Zipit Backup Utility is run from your account and does not externally store any of your personal information such as your database credentials or Cloud Files API key.
How it works:
Installation Instructions:
Note: Replace the highlighted text with your actual domain name.
Click here for instructions on generating Cloud Files API Key.
*** Note Zipit will only run on a site that is configured as Linux/PHP
*** There is an IIS port of Zipit for sites that are configured for IIS/ASP. Instructions for using it can be found here.
By installing Zipit Backup Utility you agree that this feature is an Unsupported Service (as defined herein) and you also agree to the terms of the GPL License! See: GPL v3
If you use the tool described in this article, you agree that the tool is an “Unsupported Service”. Rackspace makes no representation or warranty whatsoever regarding any Unsupported Service, and you agree that Rackspace will not be liable to you for any loss or damage arising from the provision of the Unsupported Service. The Service Level Guaranties will not apply to the Unsupported Service, or any other aspect of your services that are adversely affected by the Unsupported Service. You acknowledge that Unsupported Services may not interoperate with Rackspace’s other services or other third party services you use.
© 2011-2013 Rackspace US, Inc.
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License

52 Comments
My Issues
I have had a look at the code on Github, and it all seems to be in PHP (the actual zipping etc. is done in a shell_exec) as I have thousands of files and folders that need to be backed up, would this approach exceed the PHP execution time and surely it would eat into my allowed compute cycles? Or is this not the case.
And, to download the files to my local computer, I would need to pay for the Cloud Files (bandwidth). I would also have to download each backup, completely, each time.
Surely there is a method to only backup files that have previously not been backed up or changed? Like Rsync can. Preferably, without using cloud files as the whole idea of doing an off-site backup is to backup the files-off your systems. i.e. not your cloud files but a local computer (my end).
Seems to be some very nice code but I think the approach may be a bit long winded.
Hopefully someone can shed some light on the queries I have.
Cheers.
RE: RE: My Issues
It appears that this solutions is not for me at this time (due to the thousands of files etc.) Is there likely to be a solution for myself (and other alike) to backup to a local computer securely and efficiently with large sites? Wether that be with Rsync or not.
However regarding your script... Some very nice work and I think it will be perfect for many people.
ZipIt with cron?
Error Message
Due to server constraints Zipit Backup cannot be run at this time.
Please try again later.
Server Constraints
Hopefully RSC comes out with a built-in backup solution soon or this limitation of ZipIt can be lifted.
Automated Backup
I was wondering if you would be doing an updated for automated backups at all? Really like this system and is so much easier than creating cron jobs for each of my sites.
Thanks
Ollie
RE: Automated Backup
Thank you for giving Zipit a try. I am glad to hear that it is proving to be useful.
Zipit by design will not work to create truly automated backups since that would require direct access to create cronjobs from the utility.
However, I am looking into some options to make the creation of the current cron option easier. I am still formulating a plan and will hopefully be able to implement something in a future release.
Thanks for being a Customer! Remember we are here for you 24x7x365! Have a great day!
Regards,
Jereme
Rackspace Cloud Sites Support
Linux System Admin I
Stalling?
Thank you
Re: progress
As there should be a pop-up window at the end, it's possible a pop-up blocker could prevent the program from displaying a completion window. Are you getting this stalled result consistently, or just the one time?
Top end of the site size?
Currently the Zipit Backup
Thanks for being a Customer! Remember we are here for you 24x7x365! Have a great day!
Regards,
Jereme
Rackspace Cloud Sites Support
Linux System Admin I
US: 1-877-934-0407
INTL +1.210.581.0407
Ok.. this doesn't actually
Please try again later."
Anyone?
re: Server constraints
Automate to offsite server
Remote FTP Server
Automation and remote FTP server...
Those are both great suggestions. The purpose of Zipit is very specific. It is designed to backup to Cloud Files and locally for an individual site.
However, since Zipit is 100% Open Source you can modify it to your needs to add support for backing up to a remote FTP server as well as possibly some automation. Keep in mind that whatever you modify Zipit to do will still need to comply with our AUP terms.
Thanks, Jereme
Updates to Zipit!
1. No more "Due to server constraints..." messages!
2. Automation option now available!
There were also a number of backend fixes and tweaks.
I have added a forum post to help with announcements and updates to Zipit as well.
https://community.rackspace.com/products/f/26/t/445.aspx
Thanks,
Jereme Hancock
Cloud Sites Support
Back up time
RE: Back up time
Thank you very much for giving Zipit a try. The backup times do vary, however for a site that small it should only take a few minutes at the most. It could be that Zipit has stalled and the backup has actually completed. I would be happy to troubleshoot it if you would like to give us a call.
Thanks for being a Customer! Remember we are here for you 24x7x365! Have a great day!
Regards,
Jereme
Rackspace Cloud Sites Support
Linux System Admin I
US: 1-877-934-0407
INTL +1.210.581.0407
Thanks Jereme! So dang fast.
RE: Thanks Jereme! So dang fast.
You are very welcome! Very glad to help.
Thanks for being a Customer! Remember we are here for you 24x7x365! Have a great day!
Regards,
Jereme
Rackspace Cloud Sites Support
Linux System Admin I
Hi Jereme. Recently I worked
RE: Hi Jereme. Recently I worked
So sorry for the delay in responding. I have been working on Zipit and testing the issues that you have been having. I believe I have isolated it to an issue with the current Cloud Files PHP bindings. I have just updated Zipit to use the new php-opencloud bindings and this has fixed a number of issues and I believe will help with the issues that you were having. Basically now Zipit will keep the backups in the same datacenter as your Cloud Site which reduces latency and bandwidth.
You will need to install the newest version to test the updates.
Let me know if you are still having issues.
Thanks, Jereme
Rackspace Cloud Sites Support
Support Automation Admin
auto delete
Is there a way to get the backup files to auto delete/ get replaced after x amount of days?
Also does the zip file created also get backed up when the backup runs again
If so this would quickly use a lot of space as effectively you are backing up the site + a backup (and any older backups) each time
Thanks and hope to find out
James
RE: auto delete
Currently the Zipit Backup Utility does not have any "auto delete" functionality. It simply creates the backups. I may consider including some kind of logic for what you have mentioned which is a great idea.
Zipit does not backup the backups. After Zipit completes and the backups are available in Cloud Files and have passed an md5 checksum test they are removed from the Cloud Sites side. This way the next time the backup is run it is not backing up backups.
Thanks, Jereme
Rackspace Cloud Sites Support
Support Automation Admin
Dear Sir
I am using ZIPIT utility for my cloud sites and it is working fine for small size sites.
But for bulky sites , it is throwing a timed out error like
PHP Fatal error: Uncaught exception 'InvalidResponseException' with message 'Invalid response (408): Unexpected HTTP return code: 408' in php_errors.log file . Please help me to resolve this . How could I increase the time out value ? I am a big fan of Rackspace. I am moving all my sites to Rackspace. Please provide a solution so that I can sleep peacefully and also how to create container for each ZIPIT.
RE: Dear Sir
Thank you for letting me know about the issue. I have been working on a new version of Zipit which should fix this issue. You will need to reinstall Zipit to test the latest version. The new version uses the new php-opencloud API bindings and reduces latency and bandwidth usage by keeping the backups in the same datacenter as the Cloud Site that is being backed up.
Just let me know if you have any questions or further issues.
Thanks, Jereme
Rackspace Cloud Sites Support
Support Automation Admin
Tried the new version
On second thought...
RE: On second thought...
Thank you for the follow-up. I just tried to give you a call so we could discuss the issues and maybe do some testing.
The backups are first created locally and then moved to Cloud Files. I see that your site is around 1.4 GB so I bet you are running into the browser timeouts that I am still seeing. The process should still complete however it can take quite some time. I am going to run some tests to see what I can find and will be in touch.
Thanks, Jereme
Cloud Sites Support Automation Admin
Dear Jereme
I can see that it is backed up by using the new scripit . But it is not showing in CLoud Files as well not in zipit backups. Where it is getting stored. Please help.
Regards
Debojit
RE: Dear Jereme
Thank you for the follow-up. The backups are first created locally on the Cloud Site and then sent to Cloud Files. There are still some issues with sites around a gig in size with browser timeouts. However, the backups should complete.
I would love to help with this. If you can give us a call and ask for Jereme Hancock, I would be happy to dig in deeper.
Thanks, Jereme
Cloud Sites Automation Admin
Utitlity doesnot work
Can some body knows how it works and where it actually creates backup files?
thanks
Brijmohan
RE: Utitlity doesnot work
Thank you for letting me know about your issues. This sounds like it may be related to a known issue with sites that are around a gig or larger. There are some known issues with the current version of Zipit that causes the browser to time out and the backups do not complete and push to Cloud Files.
I am working on a new version of Zipit that should fix this issue.
Thanks, Jereme
Cloud Sites Support Automation Admin
Manual Backups - Throwing Error
[13-Mar-2013 09:03:03 America/Chicago] PHP Fatal error: Uncaught exception 'OpenCloud\ServiceValueError' with message 'No value for ObjectStore region' in /mnt/..XX..XX../web/content/zipit/api/lib/openstack.php:723
Stack trace:
#0 /mnt/..XX..XX../web/content/zipit/api/lib/openstack.php(662): OpenCloud\OpenStack->Service('ObjectStore', 'cloudFiles', '', NULL)
#1 /mnt/..XX..XX../web/content/zipit/zipit-files.php(94): OpenCloud\OpenStack->ObjectStore('cloudFiles', '')
#2 {main}
thrown in /mnt/..XX..XX../web/content/zipit/api/lib/openstack.php on line 723
RE: Manual Backups - Throwing Error
Thank you for letting me know about your issue and I apologize for them.
The issue is that the the script doesn't know what datacenter to place the backups in. The zipit-config.php file has a section that determines the datacenter that your Cloud Sites is located. It would be helpful if I could take a look at your site and see why it is failing. If you can provide me with your URL I can take a look and see what is going on.
To fix this now you can simply add the following to the bottom of the zipit-config.php just above the closing ?>.
$datacenter = "DFW";
Just change the DFW to ORD if your sites are located in the ORD datacenter.
Thanks, Jereme
Cloud Sites Support Automation Admin
RE: Manual Backups - Throwing Error
RE: RE: Manual Backups - Throwing Error
Thank you for getting back to me. I have taken a look and found that it appears that the zipit-config.php file was missing a portion that is created during the installation.
The only reason that I can think of that would cause this is if you installed Zipit with an older version of the Zipit Installer.
I went ahead and added in the section that was missing to your zipit-config.php file. I have tested it out and it ran successfully for both files and databases.
Just let me know if you have any further issues or questions.
Thanks, Jereme
Cloud Sites Support
Automation Admin
Do you think I will be able to backup a 20GB site with this tool
Thanks
RE: Do you think I will be able to backup a 20GB site with this
Thank you for your interest in the Zipit Backup Utility. It will not work for sites over 5gb. This is due to the 5bg file size limitation of Cloud Files.
Thanks, Jereme
Cloud Sites Support
Automation Admin
zipit auto backups from cloud site to cloud files
but even better if every month for a year it left a unique day 1 and overwrote the rest of the days. that way after a year i would be left with 1 backup per month and 30/31 backups for December. Then i start all over again in January. that is just bonus but i would take the first scenario.
RE: zipit auto backups from cloud site to cloud files
Thank you for using Zipit and for your feedback.
Your ideas are great. You would have to add in quite a bit of code to deal with the "backup rotation". The Zipit code is on github and is Open Source so you can definitely tweak it, rewrite it, or modify it to your needs.
Thanks again,
Jereme Hancock
Cloud Sites Support
Automation Admin
CakePHP workaround
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
turns into:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteRule ^(zipit|zipit-install.php) - [L]
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
RE: CakePHP workaround
I am very happy to see that you were able to get a fix for this. It was a pleasure to speak with you yesterday. I am going to add this code to the information that I can distribute with Zipit for our CakePHP users.
If you have any issues with Zipit please let me know.
Thanks for being a great customer!
Jereme Hancock
Cloud Sites Support
Automation Admin
URL field not filled in on install
Let me know if I can supply any info to help troubleshoot.
RE: URL field not filled in on install
Thank you for letting me know that you are having issues. The latest version of Zipit does require the use of the latest installer. You can get the latest installer from the link on this article. I also try to keep the following updated whenever there is a new release.
Forum: https://community.rackspace.com/products/f/26/t/445
Article: http://zipitbackup.com
Personal Blog: http://www.cloudsitesrock.com/
The latest release of Zipit has a Settings tab so that you can modify the Zipit config settings from the GUI. If you have any trouble you can always modify the zipit-config.php file directly. For the URL variable just be sure to not include the "http://".
Let me know if you have any further issues.
Thanks again,
Jereme Hancock
Cloud Sites Support
Automation Admin
Removing old backups
Zipit is great! i'd like to restrict access to the zipit folder though, is there a way to use .htaccess to allow only the rackspace cron agents?
Also having it auto delete would be awesome!!
automysqlbackup allows you to have a specified number of daily, weekly and monthly backups - this methodology would be ideal! :)
RE: Removing old backups
Thank you for your kind words. I am glad that Zipit has been useful.
You could setup .htaccess rules to only allow from certain IP addresses. However, the IP address of our cron servers can and do change. We also do not publish those IPs for security reasons.
Auto-delete or backup rotation is something that has been requested before. I definitely think that it would be a great addition. However, it gets a bit more complicated when dealing with setting things up that essentially delete customer data. At this time I don't have plans to add that feature. However, since Zipit is Open-Source it can definitely be adapted to such things.
Thanks again,
Jereme Hancock
Cloud Sites Support
Automation Admin
Backup Failed! Integrity check failed
RE: Backup Failed! Integrity check failed
Thank you for letting me know about your issues. I am sorry to hear that you are having them. The error that you are seeing indicates that the zip file that was uploaded to Cloud Files didn't pass an md5 checksum comparison with the original zip file.
I have not seen or even been able to recreate this issue directly. Are you getting this error for File backups and Database backups? Also is this happening on manual or automated backups?
I would be happy to look into it if you would like. I would just need to know what domain you have it setup on. You can also give us a call and ask for me. I don't work on the Support floor any longer, however, I would be more than happy to talk with you and see if we can get to the bottom of the issue.
Thanks again,
Jereme Hancock
Cloud Sites Support
Automation Admin
Pages
Add new comment