Backup problem

morfargekko

Verified User
Joined
Oct 21, 2007
Messages
189
Hello, one of my clients reported that he got errors when trying to backup through DA cpanel. He gets the following error:

"Error Compressing the backup file backup-Oct-16-2008-1.tar.gz : /bin/tar: domains/exponera.com/awstats/.data: Cannot open: Permission denied
/bin/tar: domains/exponerafotogalleri.se/awstats/.data: Cannot open: Permission denied
/bin/tar: Error exit delayed from previous errors"

What to do to fix this?
 
Fix the permissions on that directory.

domains/exponera.com/awstats/.data
 
Thanks floyd but it isn't that simple. The problem is servervide so it must be a better way to do it.
 
The problem is servervide

That would have been useful information in your first post instead of indicating that it was one domain.

Still the solution is the same. Fix the permissions.

You are using the new awstats that come with DA so I don't know if this will work or not but it cannot hurt.

Code:
cd /usr/local/directadmin/scripts/
./set_permissions all

For a each user you can also:

Code:
chown -R username:username /home/username/domains/*/awstats/.data
 
That does pose a problem. How can the backup function back up files it doesn't own. You probably should notify DA support.
 
Back
Top