Veri Tabanlarınızdan birinde eğer log corruption olmuşsa aşağıdaki yöntemi uygulayabilirsiniz.
hata
BACKUP detected corruption in the database log. Check the errorlog for more information.
Msg: 3049, Level: 16, State: 1, Procedure: , Line: 1
>[Error] Script lines: 1-2 --------------------------
BACKUP DATABASE is terminating abnormally.
Msg: 3013, Level: 16, State: 1, Procedure: , Line: 1
çözüm
trun back-up' ı alıyoruz CONTINUE_AFTER_ERROR option'u ile
BACKUP LOG [MyDb]
TO DISK = N'C:\\MyDb.trn'
WITH NOFORMAT, NOINIT, NAME = N'MyDb', SKIP, NOREWIND,
NOUNLOAD, COMPRESSION, STATS = 10, NO_CHECKSUM, CONTINUE_AFTER_ERROR
GO
sonra full back-up alarak devam edebilirsiniz her ihtimale karşı elimizde bulunsun
BACKUP DATABASE [MyDb] TO DISK = N'C:\\MyDb.bak' WITH NOFORMAT, NOINIT, NAME = N'VDK-DRIVE', SKIP, REWIND, NOUNLOAD, STATS = 10
kolay gelsin..
17 Mart 2017 Cuma
10 Mart 2017 Cuma
ubuntuda windows alanı mount etme (mounting windows share on ubuntu )
öncelikle cifs ' i yükleyeceğiz
# sudo apt-get install cifs-utils
linuxde id komutu ile group ve user id kodunu bulun(büyük ihtimal ikisi de 1000 dir)
#id
şimdi mount komutunu çalıştırabiliriz.
# sudo mount //WINSRV/SHARE -t cifs -o uid=1000,gid=1000,username=winuser /mnt/path
örnek:
#sudo mount //10.1.2.3/share -t cifs -o uid=1000,gid=1000,username=IBRAHIMPEKTAS,domain=BIM /mnt/share
bu kadar
:)
# sudo apt-get install cifs-utils
linuxde id komutu ile group ve user id kodunu bulun(büyük ihtimal ikisi de 1000 dir)
#id
şimdi mount komutunu çalıştırabiliriz.
# sudo mount //WINSRV/SHARE -t cifs -o uid=1000,gid=1000,username=winuser /mnt/path
örnek:
#sudo mount //10.1.2.3/share -t cifs -o uid=1000,gid=1000,username=IBRAHIMPEKTAS,domain=BIM /mnt/share
bu kadar
:)
Etiketler:
cifs,
cifs mount,
cifs-utils,
linux,
mount,
share,
ubuntu,
ubuntu 14.04,
windows cifs,
winshare
Kaydol:
Kayıtlar (Atom)