How to change username in backup?

poud

New member
Joined
Nov 2, 2010
Messages
1
Dear readers,

I have a website that I would like to duplicate.
One option is to upload the complete website and database under a new username.

But it would be easier to just import an backup...
But this is not possible because the user already exists on the server.

Is it possible to import an backup and assign it to a new user?

Greetings and thanks in advance for your replys!

Arjan
 
1. Temporary change name for an existing domain with a site, you wish to duplicate.
2. Backup it on a reseller level.
3. Change the domain's name back.
4. Copy an existing backup or rename it, e.x.

Code:
cd /home/admin/user_backups/
cp -f username.tar.gz username2.tar.gz

5. Restore username2 from reseller.
 
Back
Top