Backup of UCS Server

Hello,

  Can you Please Guide me how to take Backup of UCS

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
http://sdb.univention.de/content/10/20/en/complete-rebuild-of-a-ucs-system-on-new-hardware.html

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

1 Like

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.

Mastodon