Restore a user as new different user name

inferencia

Verified User
Joined
Aug 21, 2005
Messages
677
Location
Spain
Hi guys,

I search a bit before asking, and no luck.

I have a user on a vps that has a few domains at user-level (admin user) and now he wants to transfer those domains to another VPS, but not as admin.

Any suggestions ?
 
I believe that he can do a user-level backup from the admin user-level control panel, and then restore it as any other user.

Have you tried that?

Jeff
 
Interesting !

Nope, never have. I thought the user restorations were tied to files paths. and I also thought DA will give you an error if it's "Not your backup"

Or am I getting confused with MySQL backups ?

If you've done it before, I will give it a shot.

Back to you, and thanks !
 
My recollection is that I have. I also recalled that someone once asked (on these forums) how to change a username, and at that point in time the answer was to do a backup, create a new username, and restore the backup.

However I didn't try it today.

Jeff
 
Nope, that didn't work.

The restore just did not want to do anything. Didn't even give me the 1 minutes queue screen.

But thanks anyways :)
 
Just did and nothing that resembles a restore error. Only one entry for that day actually:

2007:09:10-19:29:00: Error reading from 83.36.104.xxx :
2007:09:10-19:30:01: File ./data/users/xxxx-user-xxxx/user.usage has been written to after this process read it. Not going to overwrite it.

But the user I xed out is not the user I was trying to restore, and unrelated.

:( We just used rsync
 
Hello,

There are a few options.

1) Take the admin.tar.gz (assuming the old user is "admin"), rename it to newuser.tar.gz, then restore.

2) your other option is to create the empty "newuser" account, plut the admin.tar.gz into /home/newuser/backups. Login to the newuser account, and restore from there (Site Backup/Restore)

John
 
Excellent !

We did it the hardway, but next time I will use this method :)

Thanks John and Jeff !
 
Back
Top