OpenLDAP > OpenLDAP. Part eight. Server backup
Author: Aleksandr Chirkov
Dec. 1, 2013, 10:56 p.m.

 

Hi. In this topic we will backup our database and show how restore our database from this backup.

1. Let's backup our data:

 

service slapd stop
slapcat -v -l backup.ldif
service slapd start
cd /etc/ldap && tar cvf backup_ldap slapd.d

 

Copy backups to another server:

 

scp backup_ldap backup.ldif user@192.168.56.2:/home/user

 

2. Restore our data:

 

mkdir -p /var/lib/ldap/dc=example,dc=com
chown -R openldap:openldap /var/lib/ldap/dc=example,dc=com
sudo -u openldap slapadd -v -c -l backup.ldif
sudo -u openldap slapindex -v
cd /etc/ldap && tar xf backup_ldap
service slapd start

 

That's it. 

 

deploy
ldap
setup
Amoxicillin And Cats And Lathargic Amoxicillin 2 Grams buy direct cod isotretinoin sotret in germany overseas Sefton [url=http://costofcial.com]generic cialis[/url] Pastillas Cialis Y Alcohol Online Pharmacies In Usa Overnight Viagra Per Diabetici Cialis Mas Viagra cialis price Viagra Without A Doctor Viagra Rezeptfrei Bestellen De Cialis 20 Mg 4 Stuck Lilly http://costofcial.com - online pharmacy Viagra Et Consequences Generique Lioresal 25mg Mail Order Fedex Shipping Worldwide Fluoxetine Adofen Price
cheap ed meds online ed medicines generic for erectile dysfunction ed medications best ed medication what are the best generic ed drugs online erectile dysfunction medications ed medications compared cheap ed medication ed medications online ed drugs online best erectile dysfunction medication in canada ed drugs meds for ed erectile dysfunction medications sold in canada erectile dysfunction drugs generic ed drugs cheap erectile dysfunction drugs-canada canadian erectile dysfunction drugs ED medication order erectile dysfunction medication generic drugs for erectile dysfunction erectile meds ed drug cost comparison buy erectile dysfunction drugs generic ed medication erectile dysfunction medication prices ed meds on line cheap ed drugs best erectile dysfunction drugs for sale online erectile dysfunction drugs online meds for erectile dysfunction generic ed meds erectile dysfunction drugs canada ed drug best ed drug best deal on ED meds cheap ed meds medication from canada ed erectile dysfunction generic name for ED drugs buy erectile dysfunction drugs online cheap erectile dysfunction medication generic erectile dysfunction medications erectile dysfunction drugs comparison impotence drugs online common drugs for ed generic impotence drugs ed meds cost effective ed drugs canadian erectile dysfunction drugs rosa impex pvt ltd viagra vs cialis vs levitra reviews buy amoxicillin 500mg no prescription lexapro generic without prescription viagra samples from pfizer kamini sildenafil oral jelly canadian pharmacy online no script where can i get free viagra samples tadalafil without prescription
how much dose of viagra should i take [url=http://viagrabs.com/]viagra[/url] dragon power herbal viagra buy viagra viagra before sports

Leave a comment:

Name
Python
Web development
Review Linux
Administration
Provisioning CVS
Windows AWS
Continuous Integration
NoSql Logging Web Servers FileSystems Scala
accurev ansible apach2 apache api application approaches architecture archivation argparse arguments artifactory automation awk aws backup bash batch-scripting beaver block build built-in caching call captcha cartridge case certificates cgi chain client cloud cloudformation cluster cmd coding collections command-line commands compression conditionals conversion convert cookbook copy counter cron crud css cut cygwin daemon datatype date dd debpackage decorator delattr deploy deque dict distributed-file-systems django DNS domain driver dropbox dump elasticcache elasticsearch encryption exit ext4 extra-tags failover file filename filters for form format freetds functions gerrit getattribute gid git globals glusterfs hardware hook iam indexing inheritance init install job-interview jquery ldap linux list locals logging logs logstash lookup magicmethods mail main-menu metadata metalogger mongodb moosefs mount mssql multiplatform multithreading mysql netcat nginx nosql open-ssh openldap openshift os packaging parse partition path pattern patterns permissions pid pil pip pipe playbook pool post post-commit processes production provisioning proxy putty python python-mysql recursively redirection redis register replication repr restore return review rotation scala script search selenium server setattr settings setup shipper signals singleton slots snapshot socket splunk ssh ssh-key ssl storage str string style subprocess sugar super switch syntactic syntaxhighlighter systeminfo tail tar templatetags time tls tune2fs tuple ubuntu unicode unique unix unixodbc usage usecases uuid uwsgi variable vars version vi virtualenv volume web web-server windows with_items __getattr__