I suffered corruption of a hard drive but managed to recover files for a PostgreSQL server. We are running on the assumption that the files themselves are not corrupted (yet to be able to tell). My server was running on Windows 10 Pro.  Is it possible for me to load the database(s) onto another PC running the same server version? I have the entire directory recovered from "Program Files/PostgreSQL/11" onward (so I have all of "data" etc).  If so can someone guide me on how to do this, or direct me to existing guidance? I really need to recover this data and sadly with the above corruption I lost the drive containing my dump files (backups).  Can I simply copy the "data" folder into a new build, or is it a bit more complex than that?
I moved postgresql's data directory by following the following steps:   Stop postgres cp -a source_data_directory destination_data_directory export PGDATA=destination_data_directory Changing data directory to destination_data_directory within postgresql.conf pg_ctl start   But when I run: "pg_ctl start" I get the following error. Can someone please help me figure out the error.   server starting postgres@Server:/usr/lib/postgresql/9.1/bin$ postgres cannot access the server configuration file "/home/destination_data_directory/postgresql.conf": No such file or directory
Unable to post - login problems with Area 51 ... again I recently signed up for Area 51 with my stackexchange network account/ID, verified the account and logged in.  I see the main page  where I confirm that I am logged in.  I click on the discuss link on the black menubar at the top, which takes me to the discussion zone. From here I click on ask question, which asks me to add  a login even though I have already logged in with my stackexchange ID.  Here if I choose the stackexchange login option then it takes me back to the main page, from where the cycle begins again. Is there a way I can share the 3.42 GB download of Windows 8.1 from Windows Store? Help Understanding How Long It Will Take To Heat My Wire I just noticed that the  user edited a ~1 year old  of mine. As you can see, the method call was changed from getSfGuardUser to getGuardUser:    Now I checked the documentation and it seems that the edit is correct.  But how did Community know about that? As far as I know, it is an automated process. Does it have a reference of all possible APIs of languages/frameworks (which seems very unlikely) or is there a routine admins can trigger, for replacing content? Or is it a secret? proving that elements of a sequence are pairwise coprime For the sequence $a_n = 6^{2^n} + 1$:   How can I prove that the elements of this sequence are pairwise coprime, i.e. prove that if $m$ is not equal to $n$ then $\gcd(a_m, a_n) = 1$. (begin by proving that $a_n∣ (a_{n+1} - 2)$) Windows 10 K&N Edition Anniversary update - Media player update not working I own a Windows 10 K or N Edition which doesn't include the media player package. My problem is: I want to have preview thumbnails in the explorer for my MP3s and videos.  I had the issue before when I updated to Win10 but there  saved me. Since the Anniversary update they are gone again.   Now I can install the old update but I still don't get the media player nor the preview images.  I tried most of the things Microsoft offers me but they are either not installable or don't work.  Any ideas what might be the correct update package?  Thx!  Ron How to draw a border around character in a formula? So far everything I found on the matter of borders only applies to the text mode.  I want to be able to do something like  $x_i = y$   so the result will be like the ordinary "xi = z" formula with the border around "i"?  The common answers seems to be the fbox or boxed commands. Yet they render their argument in the standart mode, unless specified to do otherwise with the specific mode. For example, the following code  \[ x_i, \boxed{x}_i, x_{\boxed{i}}, \boxed{x}_{\boxed{i}} \]   produces two normal xi figures, and another two with an oversized i. Coloring specific elements of sets with a prime modified order in an array plot Here I offer a "proof" of why the power set of the natural numbers is countable by creating a supposed bijection. I know that my proof is wrong, but where? If anyone could point it out, that'd be awesome.  Consider the power set of the natural numbers. We can form a bijection $f:\mathbb{N}\to\mathcal{P}(\mathbb{N})$ as follows.  For any $f(x)$ convert $x$ to its binary representation, which is a string of $0$s and $1$s. If the $i$-th digit is $1$, then include $i$ in the output set $S=f(x)$. Otherwise do not include $i$. Note that $i$ is $0$-indexed and starts from the right-most digit.  So in this case $f(5)=\{1,3\}$. Supposedly we can construct any set in $\mathcal{P}(\mathbb{N})$ with an appropriate choice of $x$.  Where does this proof blow up? I guess it is too difficult a question to ask about the cardinality of $S_{\mathbb{N}}$ so I would like to ask whether it is countable or not.  I tried to prove it is uncountable somewhat mimicking the Cantor's diagonal argument but failed. We had in our lecture on numerical analysis the following: Let $\mathrm{Lin}(X,Y)$ be the set of all linear maps $X\rightarrow Y$. Let $A\in\mathrm{Lin}(\mathbb R^l,\mathbb R^n)$ and $B\in\mathrm{Lin}(\mathbb R^n,\mathbb R^m)$ and $\|C\|_{op}:=\max_{\|x\|\leq1}\|C(x)\|$. Then our lecturer followed $\|A\circ B\|_{op}\leq\|A\|_{op}\cdot\|B\|_{op}$. So he didn't prove it and so I've tried it by my own. My attempt: $$\begin{aligned} \|A\circ B\|_{\mathrm{op}} &amp;= \max_{\|x\| &lt; 1}\|(A \circ B)(x)\| \\ &amp; \leq \max_{\|x\| &lt; 1} \|A\|_{\mathrm{op}} \|B(x)\| \\ &amp;= \|A\|_{\mathrm{op}} \max_{\|x\|\leq1}\|B(x)\|\\ &amp;= \|A\|_{\mathrm{op}}\|B\|_{\mathrm{op}} \end{aligned}$$ But this seems too easy. I am really interested in a nice proof so anybody could help? Thanks a lot! Poisson Distribution of sum of two random independent variables $X$, $Y$ I found the following blog title without a question mark from :     How to ease Afghanistan’s progress in cricket   Is it grammatical, if we don't put question mark in questions of titles? I think this blog title should have been like this:     How to ease Afghanistan’s progress in cricket?   I also found the following blog title from  without a question mark:     Election rigging 101: How to steal a mandate   However, I found a question mark from other blog title of :     Elections 101: What is the ECP and what does it do on election day? If $H$ is a cyclic subgroup of $G$ and $H$ is normal in $G$, then every subgoup of $H$ is normal in $G$. Exercise 11, page 45 from Hungerford's book Algebra.     If $H$ is a cyclic subgroup of $G$ and $H$ is normal in $G$, then every   subgroup of $H$ is normal in $G$.   I am trying to show that $a^{-1}Ka\subset K$, but I got stuck. What I am supposed to do now?  Thanks for your kindly help. Keyboard backlight not working on an Asus N56V See .  The FN keys are not working  Using answer in  I installed the asus-wmi-dkms_0.2_all.deb.gz package  Now, using xev I see that the keys emit keycodes (for backlight keys xev says for fn-f3 and fn-f4 keycode 237)  But no keyboard backlight, also volume keys have no effect  ================ original question ========================================  I cannot enable the keyboard backlight Seems that the leds class is missing I've not found the classes used in   Description of my framework:  ===========================================================  Machine: Asus N56V laptop  ===========================================================  Software   Kubuntu 12.04 amd64  kernel (3.5.0.5-generic) and drivers from xorg-edgers fresh X crack ppa   ===========================================================  Hardware and problems   after installation do not boot - SOLVED using boot-repair every couple of hours the system freezes - SOLVED using 3.5 kernel keybord FN keys - NOT WORKING Keyboard backlight - NOT WORKING Nvidia GEFORCE GT - NOT USED glxgears says 60 fps Ethernet Atheros card - SOLVED install alx driver external subwoofer - SOLVED adding options snd-hda-intel model=asus-mode4   ==========================================================  Solutions  see the answers to the  and  question.  ========================================================== Title says it all I looked for a proof on this site but couldn't find one.  Prove if $f$ is analytic on $D$ and $g$ is analytic on $\Omega$ containing the range of $f$ show $g(f(z))$ is analytic.  The statement seems obvious but I can't seem to be able to prove it. The question  only deals with flights in the US sourced from the  . Is there some similar source for EU, Asia etc? What are the eigenvalues of matrix that have all elements equal 1? As in subject: given a matrix $A$ of size $n$ with all elements equal exactly 1.   What are the eigenvalues of that matrix ? This is solely a reference request. I have heard a few versions of the following theorem:     If the joint moment generating function $\mathbb{E}[e^{uX+vY}] = \mathbb{E}[e^{uX}]\mathbb{E}[e^{vY}]$ whenever the expectations are finite, then $X,Y$ are independent.   And there is a similar version for characteristic functions. Could anyone provide me a serious reference which proves one or both of these theorems? I'm using using algorithm2e package with the following settings:  \usepackage[ruled,vlined,linesnumbered,noresetcount]{algorithm2e}   But for some subset of algorithms in the same document, I want to use this setting:  \usepackage[boxed]{algorithm2e}   Is there a way to override the default setting just for a subset?  I found a similar question:  Here newenvironment is used to override the default setting of an option. But I want to override the option itself.  I wish there was a way to load a package several times with different options for each instance.