Changes

Jump to navigation Jump to search
23 bytes removed ,  17:53, 10 May 2007
Line 251: Line 251:  
1. You first must check what backup archives are available. The jobname of this server backup ist 'prodserv'.<br><br><code># affa --list-archives prodserv</code><br>
 
1. You first must check what backup archives are available. The jobname of this server backup ist 'prodserv'.<br><br><code># affa --list-archives prodserv</code><br>
 
<pre>
 
<pre>
affa version 0.2.0
+
Affa version 0.3.0 on affa1.mydomain.de (10.204.48.2)
+---------------------------------------------------------------------------+
+
+-----------------------------------------------------------------------------+
| Job: prodserv                                                             |
+
| Job: prodserv                                                               |
| Description: File- and Mailserver Frankfurt 2                             |
+
| Description: File- and Mailserver Frankfurt 2                               |
| RootDir: /var/affa                                                       |
+
| Directory: /var/affa/prodserv/                                              |
| Server: affa1.mydomain.de (10.204.48.100)                                |
+
| Hostname: 10.204.48.1                                                      |
+-----------------------+--------------+--------------+--------+------------+
+
+-----------------------+----------------+--------------+--------+------------+
| Date                  | Archive     |        Files |  Size | Disk usage |
+
| Date                  | Archive       |        Files |  Size | Disk usage |
+-----------------------+--------------+--------------+--------+------------+
+
+-----------------------+----------------+--------------+--------+------------+
| Sun 2007 Apr 01 04:06 | monthly.0   |      410510 |  40GB |  407MB/31% |
+
| Sun 2007 Apr 01 04:06 | monthly.0     |      410510 |  40GB |  407MB/31% |
+-----------------------+--------------+--------------+--------+------------+
+
+-----------------------+----------------+--------------+--------+------------+
| Sun 2007 Apr 08 04:05 | weekly.3     |      410670 |  40GB |  408MB/31% |
+
| Sun 2007 Apr 08 04:05 | weekly.3       |      410670 |  40GB |  408MB/31% |
| Sun 2007 Apr 15 04:06 | weekly.2     |      410595 |  40GB |  429MB/32% |
+
| Sun 2007 Apr 15 04:06 | weekly.2       |      410595 |  40GB |  429MB/32% |
| Sun 2007 Apr 22 04:07 | weekly.1     |      415987 |  40GB |  514MB/39% |
+
| Sun 2007 Apr 22 04:07 | weekly.1       |      415987 |  40GB |  514MB/39% |
| Sun 2007 Apr 29 04:07 | weekly.0     |      428916 |  41GB |  554MB/42% |
+
| Sun 2007 Apr 29 04:07 | weekly.0       |      428916 |  41GB |  554MB/42% |
+-----------------------+--------------+--------------+--------+------------+
+
+-----------------------+----------------+--------------+--------+------------+
| Wed 2007 May 02 04:07 | daily.6     |      434362 |  41GB |  562MB/43% |
+
| Wed 2007 May 02 04:07 | daily.6       |      434362 |  41GB |  562MB/43% |
| Thu 2007 May 03 04:07 | daily.5     |      430567 |  42GB |  563MB/43% |
+
| Thu 2007 May 03 04:07 | daily.5       |      430567 |  42GB |  563MB/43% |
| Fri 2007 May 04 04:08 | daily.4     |      433874 |  42GB |  562MB/43% |
+
| Fri 2007 May 04 04:08 | daily.4       |      433874 |  42GB |  562MB/43% |
| Sat 2007 May 05 04:08 | daily.3     |      435321 |  42GB |  550MB/42% |
+
| Sat 2007 May 05 04:08 | daily.3       |      435321 |  42GB |  550MB/42% |
| Sun 2007 May 06 04:08 | daily.2     |      435977 |  42GB |  534MB/41% |
+
| Sun 2007 May 06 04:08 | daily.2       |      435977 |  42GB |  534MB/41% |
| Mon 2007 May 07 04:05 | daily.1     |      435952 |  42GB |  522MB/40% |
+
| Mon 2007 May 07 04:05 | daily.1       |      435952 |  42GB |  522MB/40% |
| Tue 2007 May 08 04:08 | daily.0     |      434987 |  42GB |  526MB/40% |
+
| Tue 2007 May 08 04:08 | daily.0       |      434987 |  42GB |  526MB/40% |
+-----------------------+--------------+--------------+--------+------------+
+
+-----------------------+----------------+--------------+--------+------------+
| Wed 2007 May 09 23:08 | scheduled.6 |      435783 |  42GB |  517MB/39% |
+
| Wed 2007 May 09 23:08 | scheduled.6   |      435783 |  42GB |  517MB/39% |
| Wed 2007 May 09 04:08 | scheduled.5 |      436505 |  42GB |  517MB/39% |
+
| Wed 2007 May 09 04:08 | scheduled.5   |      436505 |  42GB |  517MB/39% |
| Wed 2007 May 09 07:04 | scheduled.4 |      436531 |  42GB |  517MB/39% |
+
| Wed 2007 May 09 07:04 | scheduled.4   |      436531 |  42GB |  517MB/39% |
| Wed 2007 May 09 10:09 | scheduled.3 |      436097 |  42GB |  518MB/39% |
+
| Wed 2007 May 09 10:09 | scheduled.3   |      436097 |  42GB |  518MB/39% |
| Wed 2007 May 09 13:13 | scheduled.2 |      436447 |  42GB |  518MB/39% |
+
| Wed 2007 May 09 13:13 | scheduled.2   |      436447 |  42GB |  518MB/39% |
| Wed 2007 May 09 16:19 | scheduled.1 |      436684 |  43GB |  518MB/39% |
+
| Wed 2007 May 09 16:19 | scheduled.1   |      436684 |  43GB |  518MB/39% |
| Wed 2007 May 09 19:10 | scheduled.0 |      437318 |  43GB |  519MB/39% |
+
| Wed 2007 May 09 19:10 | scheduled.0   |      437318 |  43GB |  519MB/39% |
+-----------------------+--------------+--------------+--------+------------+
+
+-----------------------+----------------+--------------+--------+------------+
 
</pre>
 
</pre>
   Line 288: Line 288:       −
3. Get the server's IP address:<br><code># db affa getprop prodbox remoteHostName</code><br>
+
3. Now run the rsync command:
 
  −
<pre>10.204.48.1</pre>
  −
 
  −
 
  −
4. Now run the rsync command:
      
<code># export RDIR=/home/e-smith/users/briedlin/Maildir/.orders/</code><br>Note the leading slash!
 
<code># export RDIR=/home/e-smith/users/briedlin/Maildir/.orders/</code><br>Note the leading slash!
Line 310: Line 305:     
<code># scp /var/affa/prodserv/weekly.1/$RFILE 10.204.48.1:$RFILE</code>
 
<code># scp /var/affa/prodserv/weekly.1/$RFILE 10.204.48.1:$RFILE</code>
      
==== Full restore ====
 
==== Full restore ====
501

edits

Navigation menu