For what it's worth, the latest release of the TurnKey Revision Control appliance is v16.1. I assume that you mean that you are moving from v14.x to v16.1!? Or do I completely misundersand?
Assuming that I'm right and you're trying to migrate a v14.x server to v16.1; then the first thing you'll need to do if you're using Mercurial, is install the mercurial package. I.e. something like this:
apt update && apt install -y mercurial
As for why TKLBAM isn't repopulating the /var/www/projects/hg-helloworld/ directory, I'm not at all sure?! I suggest that you double check that it is actually includes those files in the backup.
Assuming that you still have the original server, then you can check by running a simulation. Like this:
tklbam-backup --simulate
Then have a poke around in the /TKLBAM directory (the contents are relative to '/', i.e. your /var/www/projects/hg-helloworld/ directory should be /TKLBAM/var/www/projects/hg-helloworld/
Alternatively, on the v16.1 server, you can dump the backup (without actually restoring it) like this:
Where 'BACKUP_ID' is the actual backup ID number of your backup. Then you should find the contents of /var/www/projects/hg-helloworld/ in /tklbam-dump/var/www/projects/hg-helloworld/
Also, if I recall correctly, I think there were a few bugfix releases of TKLBAM within the lifetime of v14.x. To ensure you have the latest (on your old v14.x server) run this:
apt-get update
apt-get install -y tklbam
Thinking about this a bit more, perhaps another way of upgrading might be to do an "in place" Debian upgrade? TurnKey v14.x was based on Debian 8/Jessie. TurnKey v15.x was based on Debian 9/Stretch and TurnKey v16.x is based on Debian 10/Buster. So you would first need to upgrade your v14.x to a Debian Stretch base (see also the full Stretch release notes), then to a Debian Buster base (see also the full Stretch release notes).
Be sure to make a copy/snapshot of your old server before you do that though, just in case something goes wrong and you need to roll back.
Just to clarify, you're moving to v14.x?
For what it's worth, the latest release of the TurnKey Revision Control appliance is v16.1. I assume that you mean that you are moving from v14.x to v16.1!? Or do I completely misundersand?
Assuming that I'm right and you're trying to migrate a v14.x server to v16.1; then the first thing you'll need to do if you're using Mercurial, is install the mercurial package. I.e. something like this:
As for why TKLBAM isn't repopulating the /var/www/projects/hg-helloworld/ directory, I'm not at all sure?! I suggest that you double check that it is actually includes those files in the backup.
Assuming that you still have the original server, then you can check by running a simulation. Like this:
Then have a poke around in the /TKLBAM directory (the contents are relative to '/', i.e. your /var/www/projects/hg-helloworld/ directory should be /TKLBAM/var/www/projects/hg-helloworld/
Alternatively, on the v16.1 server, you can dump the backup (without actually restoring it) like this:
Where 'BACKUP_ID' is the actual backup ID number of your backup. Then you should find the contents of /var/www/projects/hg-helloworld/ in /tklbam-dump/var/www/projects/hg-helloworld/
Also, if I recall correctly, I think there were a few bugfix releases of TKLBAM within the lifetime of v14.x. To ensure you have the latest (on your old v14.x server) run this:
Thinking about this a bit more, perhaps another way of upgrading might be to do an "in place" Debian upgrade? TurnKey v14.x was based on Debian 8/Jessie. TurnKey v15.x was based on Debian 9/Stretch and TurnKey v16.x is based on Debian 10/Buster. So you would first need to upgrade your v14.x to a Debian Stretch base (see also the full Stretch release notes), then to a Debian Buster base (see also the full Stretch release notes).
Be sure to make a copy/snapshot of your old server before you do that though, just in case something goes wrong and you need to roll back.