var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Problem in downloading cpanel backup
I have a big backup file (about 7000MB) and I would like to download this backup to my PC (the backup created by cPanel daily backup system)
so I copied this file from backup directory to my root website and trying to download but when I trying to download show me this error:
You don't have permission to access /backup.tar.gz on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I think this error is for I have not correctly permission to this file !
so I trying to change chmod to 777 and chown to my user !
but I get this error again !
what should I do?
P.S: sorry for my bad English.
Are you able to see other webpages under the "root website" via browser?
try using winscp instead of downloading thru browser.
I agree that this would be a lot easier with winscp.
Originally Posted by activelobby4u
If you must do it by browser, make sure you move the file to the public_html folder of your site. Then make sure the permissions is actually 777. Also watch the spelling or case.
Sounds simply like a permission problem, change ownership to your user or as more of a hack you can just chmod 777 as suggested above.
John W, CISSP, C|EH
MS Information Security and Assurance
- Server Administration and Security
- Managed VPS and Dedicated Servers with VIP Service
644 permission is enough for the file to download via browser.
Yes, I can.
Originally Posted by Dacsoft
The file is in public_html and the permission is 777 but I cannot download this file again !
I cannot use winscp because I should send the backupfile url for one of my friends to download (I cannot send root password for my friend )
have any suggestion ?
are you sure chown is set correctly?
chown user:user backup.tar.gz
Yes, I'm sure
Originally Posted by Tailseh
the permission is 777 and chown is myuser:myuser
I don't have this problem already !
type this in ssh
ls -lah backup.tar.gz
show this :
-rwxrwxrwx 1 ht ht 7.6G Dec 29 21:34 backup.tar.gz*
"ht" is my username
hmm...type the following commands in ssh and paste the results here.
ls -ld /home/user/public_html
ls -ld /home/user
*user should be replace by the account name.
# ls -ld /home/ht/public_html
drwxr-xr-x 55 ht nobody 4096 Jan 1 12:28 /home/ht/public_html/
# ls -ld /home/ht
drwxr-xr-x 19 ht ht 4096 Jan 1 22:23 /home/ht/
P.S: that file is in /home/ht/public_html/backup
You're not going to be able to download a 7.6GB file via http. Apache has a limit of like 2GB for files.
What happens when you try to download the file via ftp?
Perhaps you could use something like winrar to split the data into a multi-part archive, then download each part via httpd?
What does ls -ld /home/ht/public_html/backup display?
Originally Posted by IRLAMP
Thanks for you help.
Originally Posted by ub3r
I don't have any problem by FTP , but I wouldn't like give password to my friend.
So, I should split my file :-(
Thanks for helps
You can create an ftp account for your friend and restrict him to a single folder. Just put the file in that folder so he can get it.
Originally Posted by IRLAMP