Submitted by info@gnulabs.se on Sat, 05/05/2018 - 10:08 Pro Licensee
Following this guide
https://www.virtualmin.com/documentation/system/migrate
Backup is succeeding and scp copy to new server is ok
But when trying to restore the virtual domains on the new server it fails with the below
root@ns ~/backups # virtualmin restore-domain --source /root/backups/ --all-domains --all-features Failed to read backup file : /root/backups//fluff.netwinder.nu.tar.bz2 : Not a valid tar or tar.gz file
Status:
Closed (fixed)
Comments
Submitted by andreychek on Sat, 05/05/2018 - 10:28 Comment #1
Howdy -- hmm, are you able to open the .tar.bz2 archive on the remote server?
Also, what is the output of this command:
file /root/backups//fluff.netwinder.nu.tar.bz2
Submitted by info@gnulabs.se on Sat, 05/05/2018 - 10:41 Pro Licensee Comment #2
root@ns ~/backups # file /root/backups//fluff.netwinder.nu.tar.bz2 /root/backups//fluff.netwinder.nu.tar.bz2: bzip2 compressed data, block size = 900k root@ns ~/backups #
And yes I can open them
//johan
Submitted by info@gnulabs.se on Sat, 05/05/2018 - 11:33 Pro Licensee Comment #3
Reinstalled pbzip2 now works ok