Backup a prefix

Questions about Wine on Linux
Locked
andrea993
Newbie
Newbie
Posts: 1
Joined: Wed Dec 23, 2015 9:52 am

Backup a prefix

Post by andrea993 »

I have make a prefix for a program, but If I copy it in an other linux installation, with the same wine version it doesn't works. Which other file have I to copy to the other linux installation?
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Backup a prefix

Post by dimesio »

Some programs install files to directories outside the wineprefix, so look for that. You should check ownership/permissions of the copied wineprefix, as Wine will refuse to work if your user is not the owner of the wineprefix.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Backup a prefix

Post by Bob Wya »

Also I often use:

Code: Select all

winetricks sandbox
for each Wineprefix I create.. This will remove the links from your Wineprefix to your (Wine) users native Linux home folder. This theoretically makes the Wineprefix more portable.
(Note it will also remove the default link: Z: :arrow: / - which you may want to manually add back in)
Locked