How to backup virtual drives with PlayOnLinux?
Solution 1:
Manual Backup
Following the path you got (i.e., manually copy files), what you could do is run playonlinux
for the first time, let it generate the default .PlayOnLinux
folder, then quit the application, delete that folder and replace it with your own .PlayOnLinux
folder. Then restart playonlinux
and you should be able to use all of your applications that you were using before. You may have to tweak a few settings if you were using a different version of playonlinux
before, but it should be a usable solution.
Note: You must remember to let playonlinux
run once before you quit it and copy your folder across from the backup drive. You mention you copied it before you ran playonlinux
- this is the main problem, as playonlinux
will overwrite the folder, as you have found out.
PlayOnLinux Vault
However, in the future you could use the 'playonlinux vault' (see screenshots below), which can be used to both backup and restore your applications. It is accessed through playonlinux > plugins > PlayOnLinux vault. It does backup the entire wine prefix that the application is installed in and all the other necessary playonlinux
settings. It is a plugin, but is now installed by default. It is easy to use as you are guided through the various stages of the backup or restore.
The only downside is that the plugin takes a while to compress the backups, but the latest version of the plugin has an option to disable compression, which will improve speed and performance of the backup. Disable and remove the vault plugin in pluginmanager and then download the latest version from the official site and install it and enable it using pluginmanager. Now reload playonlinux
and you will get the option to not use compression (see screenshot).
There are perhaps other ways of backing up your programs, but the two solutions discussed should be useful for you.
Screenshots from the 'playonlinux' vault plugin: