Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Cookie/Jar.php on line 63

Deprecated: Return type of Requests_Cookie_Jar::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Cookie/Jar.php on line 73

Deprecated: Return type of Requests_Cookie_Jar::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Cookie/Jar.php on line 89

Deprecated: Return type of Requests_Cookie_Jar::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Cookie/Jar.php on line 102

Deprecated: Return type of Requests_Cookie_Jar::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Cookie/Jar.php on line 111

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/webvol14/so/emm9jypq7227iqw/linuxkitchen.com/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91
Linux backup – Linux, Windows, Heklanje, Kuhinja

Kako raditi backup za bilo šta što imate pod Linux OS-om?
Pa ima dosta divnih free programa za to, ali ja sam odabrala BackupPC, i dobro mi služi (i da, bilo je prilike da se vadi kestenje iz vatre ;-)).
BackupPC se može naći ovde.

Možda jeste malčice stariji, ali dobro radi svoj posao, i što je najlepše radi i za Windows, he he he! Isprobano.
Za oba OS-a radi na nivou fajla, što je meni u proncipu dovoljno. Ja sam ga podigla na RHEL4U5. Jedino što bi bilo lepo da ima, a nema, je dodatni backup site (tj. da bekapuje sam sebe).

BackupPC server, i na šta obratiti pažnju :
Obavezno isključiti SELinux!!! Čudo može da napravi…
Ima nekih Perl modula koji su mu neophodni za rad : Compress::Zlib, Archive::Zip, File::RsyncP, XML::RSS
Takođe mu je neophodan i backuppc nalog, pod kojim radi : # useradd -s /bin/false backuppc
Fajl spustiti, untar-ovati, i pokrenuti instalaciju :
# perl configure.pl

Konfiguracija se nalazi onda u /etc/BackupPC/config.pl
Program se pokreće sa # service backuppc start
Program ima vrlo upotrebljiv WEB interfejs (e, da interfeJs), i treba ga maksimalno koristiti.
Da bi on radio, treba nam Apache, koji treba adekvatno konfigurisati. Dakle izmene u /etc/httpd/conf/httpd.conf fajlu :
………….
User backuppc
Group backuppc
………….
DocumentRoot “/var/www”
………….
LoadModule perl_module modules/mod_perl.so
PerlModule Apache2
………….

SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
Order deny,allow
Deny from all
Allow from 10.11.12
AuthName “Backup administrator”
AuthType Basic
AuthUserFile /etc/httpd/conf/korisnici
U ovom fajlu smo definisali naloge za pristup WEB interfejsu, videti za Basic autentifikaciju pod Apache-om
Require valid-user

…………..

Setenv REMOTE_USER korisnik1
Setenv REMOTE_USER korisnik2

U folderu /var/www/cgi-bin podesiti potrebna vlasništva :
-r-xr-xr– 1 backuppc backuppc 3993 Dec 4 15:53 BackupPC_Admin
lrwxrwxrwx 1 root root 13 Dec 4 15:59 html -> /var/www/html
(e da, link je neophodan, i pravi se sa : # ln -s /var/www/html /var/www/cgi-bin)

Program se poziva sa :
http://10.10.10.10/cgi-bin/BackupPC_Admin

Kada se bekapuju Linux hostovi, koristi se rsync servis, uz predhodnu razmenu ključeva između BackupPC servera i klijenta koji se bekapuje, ali o tome u sledećim postovima.

By velda