Backup of UCS Server

recovery
restore

#1

Hello,

  Can you Please Guide me how to take Backup of UCS

#2

You can find first hints for a backup of UCS in Univention’s wiki or support db.

Complete rebuild of a UCS system on new hardware

Cool Solution - Single Server Backup and Restore
http://wiki.univention.de/index.php?title=Cool_Solution_-_Single_Server_Backup_and_Restore

And if you want to restore the system, you might need to use chroot:
http://wiki.univention.de/index.php?title=Cool_Solution_-_Migrating_a_native_UCS_installation_to_UVMM#Chroot_into_the_system


#3

Hello,
I tried this “Cool Solution - Single Server Backup and Restore” and it didn’t work properly. I still have my users, groups and DNS table, but nothing really works.
DNS is unstable, people are having trouble to access the internet and email.
Active directory authentication does not work at all. I get “no logon servers available”.
Samba shares give me “connection refused”

The only problem I had when restoring was in the step “service slapd start”, which failed. I completed the other steps, tried again and it started.

This is what I get in /var/log/syslog

Jun 29 09:20:06 ucs named[1260]: samba_dlz: starting transaction on zone mydomain.com
Jun 29 09:20:06 ucs named[1260]: client 172.16.1.63#64077: update 'mydomain.com/IN' denied
Jun 29 09:20:06 ucs named[1260]: samba_dlz: cancelling transaction on zone mydomain.com
Jun 29 09:20:10 ucs named[1260]: samba_dlz: starting transaction on zone mydomain.com
Jun 29 09:20:10 ucs named[1260]: client 172.16.1.78#58045: update 'mydomain.com/IN' denied
Jun 29 09:20:10 ucs named[1260]: samba_dlz: cancelling transaction on zone mydomain.com
Jun 29 09:21:39 ucs named[1260]: samba_dlz: starting transaction on zone mydomain.com
Jun 29 09:21:39 ucs named[1260]: client 172.16.1.125#49156: update 'mydomain.com/IN' denied
Jun 29 09:21:39 ucs named[1260]: samba_dlz: cancelling transaction on zone mydomain.com
Jun 29 09:22:01 ucs named[1260]: samba_dlz: starting transaction on zone mydomain.com
Jun 29 09:22:01 ucs named[1260]: client 172.16.1.62#57930: update 'mydomain.com/IN' denied
Jun 29 09:22:01 ucs named[1260]: samba_dlz: cancelling transaction on zone mydomain.com
Jun 29 09:23:15 ucs named[1260]: listening on IPv4 interface docker0, 172.17.42.1#53
Jun 29 09:23:37 ucs named[1260]: samba_dlz: starting transaction on zone mydomain.com
Jun 29 09:23:37 ucs named[1260]: client 172.16.1.77#49464: update 'mydomain.com/IN' denied
Jun 29 09:23:37 ucs named[1260]: samba_dlz: cancelling transaction on zone mydomain.com

edit: I tried it in the same PC, same HD.