If your website is down for a month, you will lose all your rankings and it may take you months to gain them back. I had a website go offline for about 3 months due to an issue with hosting. When I got it back online, it took nearly a full year to get back the rankings that it had once enjoyed.
The best idea I have to mitigate the damage would be to use the correct error status: 503 Service Temporarily Unavailable In conjunction with a Retry-After header to let bots know when it is coming back. See this article.
I would also use the error page to explain to users why the site is down, and when it is coming back.
Here is an example of how to implement these headers in your Apache config file using mod_rewrite:
ErrorDocument 503 /503.html
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/503.html$
Header always set Retry-After "Fri, 31 May 2014 12:00:00 GMT"
RewriteRule .* - [R=503]
You can check that it is working using the command line tool curl:
curl --head http://mysite.example.com/
Which should look something like this:
HTTP/1.1 503 Service Unavailable
Date: Thu, 01 May 2014 10:07:06 GMT
Server: Apache
Content-Length: 7590
Content-Type: text/html; charset=iso-8859-1
Retry-After: Fri, 31 May 2014 12:00:00 GMT