|
1878.
|
|
|
sudo apt-get install postgresql-doc-8.3
|
|
|
|
(no translation yet)
|
|
Translated and reviewed by
Peter Mráz
|
|
|
|
1879.
|
|
|
To view the guide enter <command>file:///usr/share/doc/postgresql-doc-8.3/html/index.html</command> into the address bar of your browser.
|
|
|
|
(no translation yet)
|
|
Translated and reviewed by
Peter Mráz
|
|
|
|
1880.
|
|
|
Backups
|
|
|
|
Zálohovanie
|
|
Translated and reviewed by
Peter Mráz
|
|
|
|
Located in
serverguide/C/backups.xml:13(title)
|
|
1881.
|
|
|
There are many ways to backup a Ubuntu installation. The most import thing about backups is to develop a <emphasis>backup plan</emphasis> consisting of what to backup, where to backup it up to, and how to restore it.
|
|
|
|
(no translation yet)
|
|
|
|
1882.
|
|
|
The following sections discuss various ways of accomplishing these tasks.
|
|
|
|
Nasledujúce časti hovoria o rôznych spôsoboch, akými tieto úlohy vykonať.
|
|
Translated and reviewed by
Peter Mráz
|
|
|
|
Located in
serverguide/C/backups.xml:18(para)
|
|
1883.
|
|
|
Shell Scripts
|
|
|
|
Shell skripty
|
|
Translated and reviewed by
Peter Mráz
|
|
|
|
Located in
serverguide/C/backups.xml:22(title)
|
|
1884.
|
|
|
One of the simplest ways to backup a system is using a <emphasis>shell script</emphasis>. For example, a script can be used to configure which directories to backup, and use those directories as arguments to the <application>tar</application> utility creating an archive file. The archive file can then be moved or copied to another location. The archive can also be created on a remote file system such as an <emphasis>NFS</emphasis> mount.
|
|
|
|
Jedným z najjednoduchších spôsobov, akým sa dá zálohovať systém, je použitie tzv. <emphasis>shell skriptov</emphasis> - skriptov pre príkazový riadok. Pomocou takéhoto skriptu môžeme nastaviť, ktoré priečinky sa majú zálohovať a obsah týchto priečinkov môžeme skomprimovať (zbaliť) pomocou nástroja <application>tar</application> do archívu. Archív je súbor, ktorý potom môžeme skopírovať na iné miesto. Môžeme ho vytvoriť aj na vzdialenom súborovom systéme, ktorý pripojíme pomocou systému <emphasis>NFS</emphasis>.
|
|
Translated and reviewed by
Peter Mráz
|
|
|
|
Located in
serverguide/C/backups.xml:23(para)
|
|
1885.
|
|
|
The <application>tar</application> utility creates one archive file out of many files or directories. <application>tar</application> can also filter the files through compression utilities reducing the size of the archive file.
|
|
|
|
Nástroj <application>tar</application> dokáže vytvoriť jeden archívny súbor z veľkého množstva súborov a priečinkov. Nástroj <application>tar</application> tiež zredukuje priestor potrebný na uchovanie archívu prostredníctvom kompresie.
|
|
Translated and reviewed by
Peter Mráz
|
|
|
|
Located in
serverguide/C/backups.xml:29(para)
|
|
1886.
|
|
|
Simple Shell Script
|
|
|
|
Jednoduchý skript
|
|
Translated and reviewed by
Peter Mráz
|
|
|
|
Located in
serverguide/C/backups.xml:35(title)
|
|
1887.
|
|
|
The following shell script uses <application>tar</application> to create an archive file on a remotely mounted NFS file system. The archive filename is determined using additional command line utilities.
|
|
|
|
Nasledujúci skript použije nástroj <application>tar</application> na vytvorenie archívu na vzdialenom súborovom systéme, ktorý je pripojený pomocou systému NFS. Meno súboru s archívom sa odvodí od dátumu a názvu počítača.
|
|
Translated and reviewed by
Peter Mráz
|
|
|
|
Located in
serverguide/C/backups.xml:36(para)
|