Invalid file type: (unknown) for file ‘jetbackup_x_x_x”

If JetBackup fails to restore account(s) with the error “Invalid file type” - the first step would be to reindex JetBackup to sync data between source and destination servers and check that this resolves the issue. You can do this by running the following command:

JetBackup 4: /usr/bin/jetcli backup -vfR reindex
JetBackup 5: jetbackup5api -F reindexDestination -D "_id={DESTINATIONID}"


This error can also be caused when the backup was generated with a different JOB ID. If the Job ID is not registered on the server, the backup was likely generated on another server/destination/job.

NOTE: Jetbackup 4.0 and JetBackup 5.1 do not allow moving backups from one server to another by simply copying the backups only.

The JOB ID that generated the backup is hard-coded inside the backup, therefore it is identified as the path of the backup. When you run reindex, you are telling JetBackup that you have a backup job ID (example: 5c7c57d4e5eaff58ce16e052) and it generated those backups and would be the source of the problem.

Then, when the cleanup/restore process runs it will search for the backups at the "jetbackup_1_1_5c7c57d4e5eaff58ce16e052" directory, which doesn’t exist, therefore it will only do part of the task and will not be able to find the hard files.

To properly import backups from another destination/server/backup-job, you must copy the entire job folder (jetbackup_1_1_5c7c57d4e5eaff58ce16e052) to the Backup Directory of the destination. Then reindex the destination again. This way you are importing backups to the system and JetBackup will properly recognize them.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Restore sites with previously assigned dedicated IP

By default, using Disaster Recovery to restore an orphaned account will assign the new servers...

Email Restore ERROR cannot move/File exists

In JetBackup 4, restoring emails errors may occur if a user tries to download mails at the time...

Google Drive Restore and Download Issues

Google Drive has recently added a new Virus Scanner into their system that automatically scans...

cPanel Email Account Already Exists

There are times when restoring email accounts will result in the following error: [ERROR] Error...

cPanel Email Files/Folders Restored With Incorrect Permissions

There are some cases a restore of cPanel Accounts can result in the following error when trying...