User:ScubaDog: Difference between revisions

From SambaWiki
No edit summary
No edit summary
Line 24: Line 24:


Set system clock and date
Set system clock and date
<br>sudo date 100910032012.02
<br>user@svr:~$sudo date 100910032012.02


Set hardware clock and date
Set hardware clock and date
<br>hwclock --set --date="10/09/12 10:13:00"
<br>user@svr:~$sudo hwclock --set --date="10/09/12 10:13:00"

Revision as of 05:47, 9 September 2013

Topics I want to write about.. but might not get to.

By Bryan Popham
9/9/13 - Ver. 0.1


Backup, Migration and/or Recovery

Migrate from a old ver of Samba4 in Ubuntu (Samba4Alpha11 to Samba4 Current)

Recovering from a TAR backup in Ubuntu

Proper way to backup Samba4 AD DC with rsnapshot


Simple Fix

Setting the hardware clock.
Sometimes when the power has been out for over 30 mins and the server
boots with no internet/intranet access to reach NTP the server will revert
to its hardware clock knocking the AD DC offline

From my howto - http://www.bryanpopham.com/tutorials/Set_System_and_Hardware_Date_in_Ubuntu.txt

Set system clock and date
user@svr:~$sudo date 100910032012.02

Set hardware clock and date
user@svr:~$sudo hwclock --set --date="10/09/12 10:13:00"