Footnote request for Sec. Checklist 2

Joomla! Documentation Workgroup

Moderator: Documentation

Locked
User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 19661
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Footnote request for Sec. Checklist 2

Post by leolam » Sun Oct 31, 2010 11:28 am

Footnote request for Sec Checklist 2: Hosting Setup

Important!
Make always sure that the disk capacity of your hosting account is always at least double the size of the actual used size. Any backup system initially builds and stores (tmp) the backup on your server for you to download or before it ships it off to the server that you specify. Neither cPanel or Joomla's specific backup extensions like Akeeba stream backups to a remote server- it first builds the backup on your server, and once it's done, it then offers the download or sends it to the remote location

If your disk capacity is for instance 2000Mb on your hosting account and your usage at one moment is 1200Mb your backup will fail!

Think this is important enough to mention....

Leo 8)

edit: changed from seclist7 to seclist2
Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
-> Joomla Webmaster Services: gws-webmaster.services

User avatar
brad
Joomla! Master
Joomla! Master
Posts: 13419
Joined: Fri Aug 12, 2005 12:38 am
Location: Sydney - Australia
Contact:

Re: Footnote request for Sec. Checklist 2

Post by brad » Mon Nov 01, 2010 12:20 am

A point to note.. cPanel usually stores it's own backups (not the user triggered ones, the daily, weekly, monthly) in a location outside of your user account. People can download these backups directly via their cPanel without having to create them. For many people, this is a satisfactory backup solution.

I understand what you are hoping to explain, but perhaps this suggestion could be narrowed down to only need noting IF you use 3rd party or Joomla component backup systems. As well as that, AkeebaBackup, for example, allows you to exclude certain folders etc.. so again, the situation you are hoping to address does have a number of caveats where it's not strictly applicable.

Hope you get my drift.. good suggestion if we can find a way of not making people scared that in order to backup Joomla you need at least double your currently used disk space.
Brad Baker
https://xyzulu.hosting
https://www.joomlatutorials.com <-- Joomla Help & Tutorials

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 19661
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Footnote request for Sec. Checklist 2

Post by leolam » Mon Nov 01, 2010 7:37 am

brad wrote:A point to note.. cPanel usually stores it's own backups (not the user triggered ones, the daily, weekly, monthly) in a location outside of your user account. People can download these backups directly via their cPanel without having to create them.
on a shared hosting account without WHM? I am very open to learn something new?

Use the manual backup in Full backup "download a full website backup" With this method cPanel initially builds and stores (tmp) the backup on the server for the user to download or before it ships it off to the server that has been specified (ftp-transfer) Brad, with all respect but you need sufficient space for that. Simple example and I can give you access to that particular site so you can see it happening with the email output showing an ftpput error (permission denied). Example of such event 2 days ago:
Net::FTP=GLOB(0xd1f8f28)<<< 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Net::FTP=GLOB(0xd1f8f28)<<< 200 A L'HUILE
Cannot open Local file /home/fafgbor/backup-10.29.2010_22-11-33_fafgbor.tar.gz: Permission denied
at /usr/local/cpanel/bin/ftpput line 34
Net::FTP=GLOB(0xd1f8f28)>>> QUIT.
On this by us for this client managed VPS on Hostgator (our OSAM-services), the client gives his user a package 900Mb. Total actual use on server 600 Mb. When running the backup as stated (normal backup of full account) the permission problem is thrown. When creating backups in this way the backup is created in a temporary location within the user account (quote from cpanel!) Therefore this goes in distress. Increasing the space to 1,500 Mb...no problem all runs well:
Net::FTP=GLOB(0x1d7a5f28)<<< 150 Connecting to port 41512
Net::FTP=GLOB(0x1d7a5f28)<<< 226-File successfully transferred
Net::FTP=GLOB(0x1d7a5f28)<<< 226 107.350 seconds (measured here), 2.83 Mbytes per second
Net::FTP=GLOB(0x1d7a5f28)>>> QUIT
Double checked with cPanel support and with client's hosting partner Hostgator Level III: Both confirm this behavior.

Leo 8)
Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
-> Joomla Webmaster Services: gws-webmaster.services

User avatar
brad
Joomla! Master
Joomla! Master
Posts: 13419
Joined: Fri Aug 12, 2005 12:38 am
Location: Sydney - Australia
Contact:

Re: Footnote request for Sec. Checklist 2

Post by brad » Mon Nov 01, 2010 7:51 am

Yes, I am familiar with that method. The one I was talking about was: http://docs.cpanel.net/twiki/bin/view/A ... cs/BackUps (scroll down to 'System Backups)

As I said, it's a good suggestion if we can find a way of not making people scared that in order to backup Joomla you need at least double your currently used disk space
Brad Baker
https://xyzulu.hosting
https://www.joomlatutorials.com <-- Joomla Help & Tutorials

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 19661
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Footnote request for Sec. Checklist 2

Post by leolam » Mon Nov 01, 2010 9:41 am

Brad,
Mea Culpa.......I misunderstood....Also we have now discovered that the VPS at Hostgator seems to have an error since we moved a couple of the sites on that VPS to our own dedi servers (ThePlanet), tested the backup and here we have no issue at all.... Sites that have 500 MB allocated on that VPS and have used 430 MB are being back-upped and so does a site with 900 MB allocated and 600 used.

Also my system admins told me that on the HG-VPS it seems that one of the files in the sw of the backup file is corrupted and we have informed Hostgator accordingly. We are also in contact with cPanel to figure out why the default backup mechanism fails with the permission denied message and error while it does not happen if we increase the space on the vps but the same stuff does not happen on our own dedi's where all runs well with same amount of space for the 2 accounts.

Thanks for the feed-back in general since it made us start looking even more intense and I do agree that double disk size is not needed in default cpanel so the request can be terminated....

Thanks Brad for waking me up

Leo 8)
Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
-> Joomla Webmaster Services: gws-webmaster.services


Locked

Return to “docs.joomla.org - Feedback/Information”