Cpanel backup to DA

AllanDow

New member
Joined
Sep 29, 2025
Messages
7
I am trying to restore a Cpanel backup in DA and keep getting an error message. I have read some threads here and got most of it figured out, or so I thought.

I keep getting when I ftp the file into the admin_backups folder under the admin/backup and transfer setting. I have renamed the file to myusername.tar.gz as I have read to do.
Unable to read /home/admin/admin_backups/myusername.tar.gz as account admin

At one point I got another message saying there was an error that said 1 account. I am moving only one account from a shared cpanel hosting to a VPS. Any help would be great to a novice user.
License is limited to 1 accounts, and you currently have 1
 
Unable to read /home/admin/admin_backups/myusername.tar.gz as account admin
has the file got the correct permissions? If it was imported by root user, it may not be readable by admin. I'm assuming your admin username is admin for this exercise:

From the terminal, issue the command ll
If you see the file with root:root or any other username not admin's, issue this command.
Bash:
# chown admin:admin /home/admin/admin_backups/myusername.tar.gz
and then try again
 
there was an error that said 1 account.
That can be correct. That's from the legacy personal account. Only 1 admin account is allowed on this license.

I have renamed the file to myusername.tar.gz as I have read to do.
Where did you read that? Next to that, it shouldn't be myusername.tar.gz because you don't have a username, there is only username admin on that license because only the admin account is allowed.

So if you want to change that backup file's name, try changing it to this:
admin.root.admin.tar.gz
and try again.
 
Thank you for trying to help I did rename the file to the above and not says

Invalid filename: Unable to read /home/admin/admin_backups/admin.root.admin.tar.gz as account admin. The file must be of the form: type.creator.username.tar.gz
 
Oke then maybe try admin.admin.admin.tar.gz if that works.
Your current admin account might be overwritten.
 
It's odd because normally the admin.root.admin.tar.gz should have worked.
If it doesn't work, check this post and the rest of that thread too, this was also to get a cpanel backup to a DA personal license.

I might be depending on the kind of cPanel backup you have.
 
That might be the case. Best is to mention which backup file you do have and maybe somebody else can answer then.

Another option is to unpack the file and restore everything manually, which is more difficult. However chances are this has to be done, but I'm not sure, been some time I used that option myself and some things changed in the meantime.
 
I was just going to try that if not rebuild from scratch, luckily is a new forum so not to bad. Thank you for all your help.
 
It's not that difficult. You can extract the public_html and the database from the tar.gz file and then just upload the public_html content again to your site and restore the database file. Then adjust database username and password.
This way you don't need to setup and configure the forum from scratch again.

You just need to create the mail accounts newly. If you used imap then most likely the mail can be restored too if required.

As for my help. You're welcome.
 
again novice here lol
No problem, we all started as novices once.

You can do as smtalk says too ofcourse.

But if you want to know how to do it manually, it's like this to adjust credentials.
In Directadmin, create a mysql database with some username and some password. Just for example
databasename=user_dbforum
database username=user_dbuser1
database password=12345
just to make things easy to explain.

Now you have your forum.sql file. You can import/restore that via phpmyadmin for example (or via mysql commands).
However, if you have phpBB forum for example, your previous databasename and username is stored in a file called config.php in the public_html.
And the credentials will be different from your previous hosting.
In this case, adjust the database credentials to the new ones, so in config.php change the existing credentials to:
Code:
$dbname = 'user_dbforum';
$dbuser = 'user_dbuser1';
$dbpasswd = '12345';

Again, this is just an example. Use the credentials you choose/used when creating the database in Directadmin.
Other forum software has kindlike files either in public_html or some place else. Xenforo has a file called config.php in the /src directory.
 
Back
Top