On Sun, 3 Apr 2016 18:38 Mario Emmenlauer, <[email protected]> wrote:

>
> Hi Ray and all,
>
> On 03.04.2016 18:18, Ray Donnelly wrote:
> > On Sat, 2 Apr 2016 16:49 Mario Emmenlauer, <[email protected]
> > <mailto:[email protected]>> wrote:
> >     downgrading binutils solved the problem, I could successfully build
> Qt 5.6.0
> >     without further problems! In the next days I will test "pacman
> -Syuu". One
> >     stupid question: how to make a backup of full msys2? Is msys2 "tar"
> sufficient
> >     to make a full backup, and later restore? Or Windows copy? Then I
> can easily
> >     test different combinations of packages (see my report about
> protobuf seg-
> >     faulting with latest packages).
> >
> >
> > This link may be useful for you.
> >
> > https://sourceforge.net/p/msys2/wiki/MSYS2%20re-installation/
>
> I've read this document before, and it was very helpful! But it mentions
> only backup via 'rename' and a new install. I understand that 'rename'
> will preserve all permissions, ACL extended attributes, since the files
> are untouched. But would a 'cp' also be sufficient? Or 'tar'?
>

There's no black magic, extended attributes or whatever. We don't use the
cygwin POSIX permissions. A windows copy would be fine with all MSYS2
shells and programs shutdown for what you're trying to do. Or else just
don't bother and use Pacman for what you're trying to do (swapping out
packages - you may end up with some that can no longer run due to binary
incompatibilities, but pacman -Syu should pretty much always recover your
system) That's what I'd do personally. Maybe do the backup to be safe
though?

I pull up new MSYS2 sysroots and destroy them without a second thought
though since they've very easily recreated and all my personal stuff is
outside the MSYS2 sysroots anyway - I symlink my home directory to my
windows user directory for example.

>
> In other words: is there some "black magic" in MSYS2 that stores relevant
> information in extended attributes or other places, that might be lost
> when not taking special care? I've seen such a problem with cygwin before
> (albeit many years ago), that a file system copy and restore could lead to
> lots of warnings about ownership (and even lost functionality).
>
> Thanks for the help and all the best,
>
>     Mario
>
>
>
>
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to