“Arkadaşlar, rsync ile yüz binlerce dosyayı yeni sunucunun diskine attık ama yeni Immich arayüzüne girdiğimizde bizi bomboş bir ekran karşılayacak. Panik yok! Çünkü Immich, dosyaları rastgele değil, her kullanıcıya özel atanmış UUID (örn: f81d4fae-7dec...) adı verilen gizli şifreli klasör odalarında tutar.
Bölüm 1: TrueNAS ile Sıfır Veri Kaybı: Immich Nasıl Taşınır?
Ev sunucusu (NAS) kullananların en büyük kabuslarından biri, sistem çökmeleri veya disk doluluğu nedeniyle canlıdaki verileri yeni bir sunucuya taşımak zorunda kalmaktır. Hele ki bu veri, içinde binlerce aile anısını, albüm yapılarını ve kullanıcı eşleşmelerini barındıran Immich gibi devasa bir fotoğraf arisviyse süreç daha da stresli bir hal alabilir.
Bu yazıda, eski bir TrueNAS SCALE sunucusunda alanı tamamen dolmuş olan ve web arayüzüne bile erişmekte zorlanan 41.008 adet görsel/videodan (38.923 fotoğraf, 2.085 video) oluşan dev bir Immich arşivini, yeni bir TrueNAS SCALE sunucusuna Docker katmanları ve SSH tünelleri kullanarak nasıl “sıfır veri kaybı” ve “karıştırma riski olmadan” taşıdığımızı, yaşadığımız pratik zorluklarla birlikte adım adım anlatıyoruz.
Continue reading “Bölüm 1: TrueNAS ile Sıfır Veri Kaybı: Immich Nasıl Taşınır?”Python Temel Komutları – Cheat Sheet
1. Giriş ve Temel Tipler
Python öğrenmeye hızla başlamak için hem kullanışlı hem hızlıca göz atabileceğiniz bir Python Temel Komutları – Python Cheatsheet hazıladım ve temel komutları sade dille derledim.
Girdi alma / çıktı yazma
name = input("Adın ne? ")
print("Merhaba,", name)
PowerShell: How to find whether the machine is waiting for Restart
The machine is waiting for restart, you can reach it simply by using the PowerShell command below.
Invoke-WmiMethod -Namespace "ROOTccmClientSDK" -Class CCM_ClientUtilities -Name DetermineIfRebootPending
One of my customers’ most inquiries was how to get the user machines to restart regularly.
First, we need to check whether the machine really needs restarts. If the machine wants to restart, we can produce various scenarios.
If the machine wants to restart, we can send the machine restart command.
Restart-Computer -ComputerName "ComputerName" -Force
Or it shows a warning to the user and the importance of restarting the machine can be explained. Such an interface can be improved either by HTML or again with PowerShell, allowing the user to confront it.
PowerShell ile makinenin Restart için bekleyip beklemediği nasıl bulunur?
Bir çok sistem yöneticisinin en büyük sorunlarından birisi de ağ üzerindeki makinelerin restart yapmasıdır. Peki bu bilgiye nasıl ulaşacağız ve bu bilgi bizim ne işimize yarayabilir?
Makinenin restart için beklediğini aşağıdaki PowerShell komutu ile basit bir şekilde öğrenebilirsiniz.
PowerShell: Change Port and URL quickly and accurately in multiple configuration files
PowerShell: Birden çok yapılandırma dosyasında Port ve URL’u hızlı ve doğru değiştirin

TR: Eğer bir çok uluslu bir şirkette altyapı yönetiyorsanız, bir küçük dosyayı tek tek düzenlemeniz gerekebilir. çünkü şirketin bir çok ülkeye hizmet veren bir web sayfası olacaktır. web sayfasının küçük ayar dosyası olacaktır. Bu dosyaları tek tek açıp düzenlemeye gerek yok. tüm ayarlamaları yapan bir script ile her ayarı hızlı ve doğru bir şekilde yapabilirsiniz.
EN: If you are managing the infrastructure in a multinational corporation, you may need to edit a small file one by one. because the company will have a web page that serves many countries. web page will be the small setting file. There is no need to open these files individually. With a script that makes all the adjustments you can make every setting quickly and accurately. Continue reading “PowerShell: Change Port and URL quickly and accurately in multiple configuration files”
If the folder exist, appy the .reg file
Klasör varsa, .reg dosyasını uygulayın.

Bazı uygulamaları makine kurduktan sonra ayarlarını her makinede tek tek yapmak gerekebilir. Yada aşağıdaki gibi bir script ile, eğer yüklediğimiz uygulamanın klasörü makinede var ise ayarları Regedit’e yükleyen daha hızlı bir yöntem seçebiliriz.
After installing some applications on the computers, you may need to adjust the settings of the applications one by one. Or, with a script such as the following, we can choose a faster method that installs the settings into Regedit if the machine has the application folder. Continue reading “If the folder exist, appy the .reg file”
Create a shortcut with script
I create a shortcut with a script, but why? Some applications do not know the cause, do not create a shortcut during installation or after installation. The following Script allows you to create shortcuts with the variables entered.
PowerShell: Get information for an update installation when it is started, finished, and how long take
Microsoft’s updates never end. According to some system administrators, this is a headache. According to some system administrators, it is necessary for security. Although you are working with too many updates, in some cases you may need detailed information about the update installation. When did the update begin? When was the update installed? How long was the update set up?

In such situations grab the PowerShell help 🙂 Continue reading “PowerShell: Get information for an update installation when it is started, finished, and how long take”
Find files easily with simple batch file
Knowing the files on computers is one of the issues that every system administrator usually deals with. You can easily learn it by creating a simple batch command with the following commands.
open Notepad and copy following commands and paste in this note file. Continue reading “Find files easily with simple batch file”
