Moving in
Move accounts from another server
What this does: freePanel signs in to your old server over SSH, copies each account's backup, and makes the account here with its websites, email, databases and DNS.
When you need it: when the accounts are on a server you can still sign in to, either another freePanel server or a server with another control panel.
Where: Backups and transfers > Move accounts here. Every box and button on that page is described in Move accounts here in the admin pages. This page walks you through a whole move.
What you need first
- A login on the old server that can read its account backups: a user name, and its password or an SSH key. For another freePanel server, the login must be root if you also want freePanel to point the moved domains here.
- Can root sign in over SSH there? Try it from your own computer:
ssh root@old.example.com. If it is refused even with the right password, the old server doesn't allow root over SSH. Use another user that can read the backup folder instead (you then can't use the DNS step at the end), or ask whoever runs the old server.
- Can root sign in over SSH there? Try it from your own computer:
- The folder on the old server where the account backups are:
- Another freePanel server: its backup folder, usually
/backup. The page's hint says the archives are in theaccountsfolder inside it; type just/backup. - Another panel: the folder that holds its full-account backup files (one file per account, holding everything the account has). Leave it empty if they are in the login's home folder. If you don't know where they are, ask whoever runs the old server. If the old panel can make those backups by itself, freePanel can ask it to (step 2 below).
- Another freePanel server: its backup folder, usually
- The old server's host key fingerprint: a short code that proves you are talking to the right server. If you run the old server yourself, you are its owner: sign in to it and run this, which prints one line for each kind of key:
for f in /etc/ssh/ssh_host_*_key.pub; do ssh-keygen -lf "$f"; doneOtherwise, ask whoever runs it for that output.
- At least one package on this server. See Make your first package.
Step 1: allow moving
While moving is off, this server never connects to another one.
- Open Backups and transfers > Move accounts here.
- Under Allow moving accounts here, click Allow moving accounts.
- You are asked Allow this server to connect out to the servers you list below, to read their account archives? Click Yes, allow it.
- You see Moving accounts here is allowed now.

Step 2: add the old server
- Under Servers to move accounts from, click Add a server.
- In Name, type a name for your list, such as
old-server. - In Kind of server, choose Another freePanel server or Another panel. This can't be changed later.
- In Server name or address, type the old server's name or IP address, such as
old.example.com. - Leave Port at 22 unless the old server uses another SSH port.
- In User to sign in as, type the login, such as
root. - In Folder, type the backup folder, such as
/backup. Leave it empty to use that user's home folder. - Click Check host key. You see The server offers a ... key. Fingerprint: ... (for example an
ED25519key). Find the line of the same kind in the list from the old server, and compare the fingerprints. - Only if they are the same, click Use this key. The button goes away, the key fills the Host key box with its Fingerprint under it, and you see The key was put in the box. Save the server to keep it.
- For Another panel only: tick Let freePanel pack the accounts on this server if you want freePanel to have the old panel make each account's backup just before it is copied. Leave it off if you make the backups yourself.
- For Another freePanel server only: tick Let freePanel change this server's DNS records for moved accounts if you want freePanel to point the moved domains here later. The login must be root.
- Under How to sign in, either type the Password, or paste a Private key (and its Passphrase of the key, if it has one). To have this server make a key instead, follow With a key made here below in place of steps 12 to 14.
- Click Test these settings. You see Signed in and read the folder. ... accounts found.
- Click Save server. You see old-server was saved.

With a key made here
A key made here can't be tested before you save, because the old server doesn't know it yet. Do it in this order:
- Under How to sign in, tick Make a key here instead.
- Click Save server. You see old-server was saved. Add the key shown under its name to the other server's allowed keys.
- In the list of servers, under old-server, you see Add this key to the allowed keys of root on old.example.com: and a line that starts with
ssh-. Copy the whole line. - Sign in to the old server as that user. A user's allowed keys are in the file
.ssh/authorized_keysin their home folder: one key per line, and anyone holding one of those keys may sign in as that user. - Add the line at the end of that file. For example, type
nano ~/.ssh/authorized_keys, paste the line on a new line at the end, then press Ctrl+O, Enter and Ctrl+X to save and leave. (If the.sshfolder doesn't exist yet, first typemkdir -p ~/.ssh && chmod 700 ~/.ssh.) - Back in the panel, click Test next to old-server. You see old-server: signed in and read the folder. ... accounts found.
Step 3: move the accounts
- Under Move accounts, choose the server in Server.
- Click Show its accounts. You see ... accounts found. Choose the ones to move.
- Tick the accounts to bring. Up to 50 at a time. For a freePanel server, each account's newest backup is used. If you want an older backup of one account (say, from before a problem), click Another archive… next to it and pick one from the list.
- In Package, choose the package the accounts go on.
- Click Move ... accounts.
- You see The move started. Under The move, each account shows where it is: Waiting, Packing the account, Copying the archive, Checking the archive, Bringing the account in or Restoring the account, then Done.

The accounts come one after another. One that fails doesn't stop the rest. You can leave the page: the move goes on, and the page shows where it is when you come back. To stop, click Stop after this account.
When it ends, read each account's Details column: it says what was brought over and anything left out.
Step 4: point the domains here
Until you do this, visitors and mail still go to the old server. For most moves, change the domains' DNS where it is managed, as Moving in shows.
If the old server is another freePanel server and you ticked Let freePanel change this server's DNS records for moved accounts, freePanel can do it for you, one account at a time:
- On the same page, find Point a moved account's names here.
- In Server the account came from, choose the old server.
- In Account, type the moved account's username.
- Click Show its records. You see the records that point at the old server.
- Click Lower the time to live, then Lower the time to live again to confirm. The time to live is how long the rest of the internet remembers a record. Lowering it means the change you make next reaches everyone quickly.
- Wait at least as long as the old time to live shown in the Time to live column. It is in seconds (s):
3,600 sis one hour,86,400 sis one day. That gives the rest of the internet time to forget the old value. - Click Point the names here, then Point the names here again to confirm. You see ... names on ... now point at this server.

If something is wrong, click Undo: the old server's records go back as they were.
If something goes wrong
- If you see "The host key could not be read: ...", the old server can't be reached on that address and port. Check the address, the port, and that the old server's firewall lets this server in.
- If the fingerprints are not the same, don't click Use this key: you may not be talking to your old server. Check the address you typed, and ask whoever runs the old server.
- If you see "The test failed: ...", read the reason after the colon. Most often the password or key is wrong, or the user can't read the folder.
- If you see "No account backups were found in that folder.", the folder is wrong, or the backups are not made yet. For another panel, make them there, or tick Let freePanel pack the accounts on this server.
- If you see "There is no package to put the accounts on. Add one first.", make a package in Packages > Packages.
- If an account shows Failed, its Details column says why. A username or domain that already exists here is a common reason: remove or rename the one here, then move that account again.
- If an account shows "Done, with something left out", its Details column names what wasn't brought over, such as a database to load yourself.