Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Nächste Überarbeitung | Vorherige Überarbeitung Nächste Überarbeitung Beide Seiten, nächste Überarbeitung | ||
lpi1:hardlink [2013/12/10 09:42] 127.0.0.1 Externe Bearbeitung |
lpi1:hardlink [2015/07/23 11:06] ingo_wichmann [Backup] |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== Hardlinks ====== | ====== Hardlinks ====== | ||
+ | ===== Datei umbenennen ohne Ausfallzeit ===== | ||
+ | cd /etc/postfix/maps | ||
+ | ln virtual_alias_maps.txt virtual_mailbox_maps.txt | ||
+ | postmap virtual_mailbox_maps.txt | ||
+ | postconf -e 'virtual_mailbox_maps = hash:/etc/postfix/maps/virtual_mailbox_maps.txt' | ||
+ | rm virtual_alias_maps.txt virtual_alias_maps.txt.db | ||
+ | |||
===== Backup ===== | ===== Backup ===== | ||
- | todo | + | (( Das Beispiel hier ist nicht sehr praxisnah. Eine bessere Variante beschreibe ich unter [[admin_grundlagen:rsync|rsync]] )) |
+ | === 1. Backup === | ||
+ | cp -a /usr/share/doc sonntag | ||
+ | |||
+ | === 2. Backup === | ||
+ | cp -al sonntag montag | ||
+ | rsync -a --del /usr/share/doc montag | ||
+ | |||
+ | === 3. Backup === | ||
+ | cp -a montag dienstag | ||
+ | rsync -a --del /usr/share/doc dienstag | ||
+ | |||
+ | ... | ||
===== Verzeichnisse zusammenführen ===== | ===== Verzeichnisse zusammenführen ===== | ||
<file> | <file> |