DirectAdmin doesn't let me to restore my backup

setsuid

New member
Joined
Feb 4, 2007
Messages
2
I've had some problems with my partition in my server and after rescue it, when i try to restore any backup DirectAdmin sends me a msg with the next message...

"backup-Nov-24-2006-1 is not a valid username"

I don't understand why directadmin is trying to a user with the name of the backup..

What can i do?
 
Just rename the backup file backup-Nov-24-2006-1.tar.gz to username.tar.gz. This will fix the issue.
 
HELP
after renaming, the restore went thru, but when browsing the website it returns

403 forbidden

the username and directory exists in /home
I can access the sites FTP


there is an .htaccess in public_html
Code:
#suPHP_ConfigPath /home/username/public_html

# Comment the 2 lines below if the server returns 500 errors!
Options -Indexes

Options +FollowSymLinks

#Uncomment following lines if you want to use image caching!
<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresDefault A1209600
  ExpiresByType text/html A1
</IfModule>

# Uncomment following lines if Apache doesnt support MultiViews!
<IfModule mod_rewrite.c>
    RewriteEngine On
	
	# Uncomment the 2 lines below if you are using www.domain.com
	# as the baseurl for the site and users access your site 
	# via domain.com (THIS IS REQUIRED FOR JQUERY TO WORK)
	
	RewriteCond %{HTTP_HOST} ^mysite.com [NC]
	RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301] 

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule .* loader.php [L,QSA]
</IfModule>

# Edit below lines and set to
# ErrorDocument CODE /RELATIVE/error.php
# If the script is installed in the default document
# root then relative is null.
#ErrorDocument 401 /error.php
#ErrorDocument 403 /error.php
#ErrorDocument 404 /error.php

allow from all
 
I think you should never have renamed the backup file in first place. I think DirectAdmin uses the file name of backup to decide the username to create. It should not be "backup-Nov-24-2006-1.tar.gz" and it should not be "username.tar.gz", but you should rename it back to what it was original, or to be the username of the actual user that you try to restore.
 
I suppose that that name of backup is the user-level backup, am i wrong?
If im not so you need to first create the user as it was then restore backup from the new user level.

Regards
 
I suppose that that name of backup is the user-level backup, am i wrong?
If im not so you need to first create the user as it was then restore backup from the new user level.

Regards

it was created from user level, the format is
backup-month-x-x-x-.tar.gz
renamed to
[its username].tar.gz
copied to
/home/reseller/username/user_backups/ directory
used DA restore option from the reseller
restore completes, but browsing the site results 403 forbidden
 
so check the permission and if files are in public_html directory.

Also, a backup created as user lever must remain with original name backup-month-x-x-x-.tar.gz as it was, not renamed to username. that was a bad information cause i suppose that cliff sayd that cause he thot was a admin level backup

Regards
 
Back
Top