Hi
After transferring the files from hotdrupal.com to my local machine I see this
when entering 127.0.0.1
----------
Forbidden

You don't have permission to access /index.php on this server.
Apache/2.2.3 (CentOS) Server at 127.0.0.1 Port 80
------------

centos 5.3
apache 2.2

-----------------

The support ticket ended up -
" I'm afraid we can't help you configure your personal computer "
(Great support)

So how can I know if my backups are good?

Thanks

Comments

pbarnett’s picture

I've found the hotdrupal support to be excellent, but they're not there to fix your computer :-)

The error message you're getting means that there's a problem with the file permissions on your backup files.

Are you using a Linux system? If so, you can do incremental backups (i.e. only backup files that are new or have changed) using rsync (http://samba.anu.edu.au/rsync/) by running the command line -

rsync -a -z --progress -S username@72.27.230.167:~/public_html/ ~/backups 

where username is your hotdrupal login name and ~/backups is your local backup directory - you may need to change the IP address to suit the server you're on.

Pete.

e2’s picture

Thanks

How can I check backups ? I have to do it with my computer or other computer, doesn't matter.
This is a mandatory task I think, I didn't ask them to configure apache + php + my sql on my computer from scratch, only to support a simple question.

----------

Will this backup solve the permissions problem?

I did check the permissions, didn't see any problem.
Do I need to do something special?

maybe it is the .htaccess file?

pbarnett’s picture

You didn't mention which OS you're using...

The rsync solution will download files with the correct file permissions; what are the file permissions on your backup files at the moment?

Pete.

e2’s picture

centos 5.3 -- like redhat 5.3

------------

I did chmod 775 for html directory.
Thats all.

pbarnett’s picture

Not chmod -R 775 to apply the permissions recursively?

Try the rsync thing anyway; it save a LOT of time and bandwidth (my biggest site is 12Gb!)

Pete.

pbarnett’s picture

Also check that your .htaccess file is there, as these dotfiles often get missed when transferring files...

Pete.

e2’s picture

protocol version mismatch -- is your shell clean?
(see the rsync man page for an explanation)
rsync error: protocol incompatibility (code 2) at compat.c(64) [receiver=2.6.8]

===============
chmod -R 775 html
doesn't help as well.

pbarnett’s picture

This should help - http://samba.anu.edu.au/rsync/FAQ.html#3 - though none of this is a Drupal issue :-)

Pete.

e2’s picture

I'm sure it is the .htaccess file

don't know what.