rclone serve restic

https://rclone.org/commands/rclone_serve_restic/ https://rclone.org/s3/ Serve the remote for restic’s REST API. Synopsis rclone serve restic implements restic’s REST backend API over HTTP. This allows restic to use rclone as a data storage mechanism for cloud providers that restic does not support directly. Restic is a command line program for doing backups. The server will log errors. Use -v […]

How I back up my servers using restic

https://angristan.xyz/backup-servers-using-restic-wasabi-object-storage/ Automatise the backups using bash and cron On my servers, I have a backup script that looks like this: Easy right? I execute the script at night with some nice and ionice: And we’re done! Bonus: an Ansible playbook to industrialise all of this This is a custom playbook that suits my needs, but […]

SATA HDD & SSD shown as removable

https://www.tenforums.com/drivers-hardware/103068-sata-hdd-ssd-shown-removable.html#post1277271 Bios does not have Hot Swap options for SATA drives.Interface is AHCI.Have tried: ” reg.exe add “HKLM\SYSTEM\CurrentControlSet\Services\storahci\Parameters\Device” /f /v TreatAsInternalPort /t REG_MULTI_SZ /d x”Which corrects for one drive but when run on the second drive the first drive reverts to removable.I doubt very much that this is a driver issue; it’s just a typical […]

Proxmox storage tips/HDD pass through

Check/list hdd hw ls /dev/disk/by-id/ lsblk Check MD raid status cat /proc/mdstat Remove a hdd from software raid md0 mdadm –fail /dev/md0 /dev/sdx1mdadm –remove /dev/md0 /dev/sdx1 mdadm –remove /dev/md0 /dev/sdx2 udevadm info –query=all –name=/dev/sdx | grep ID_SERIAL zfs list zpool status zfstorage Remove a hdd from zpool zpool detach zfstorage /dev/disk/by-id/…. zpool status zfstorage clear […]

Adding a second HDD to Proxmox

https://forum.level1techs.com/t/adding-a-second-hdd-to-proxmox/116019 This really is an odd failing that has been around since Proxmox moved to their new interface. So here are three ways you can do this, all of which involve ssh’ing into your Proxmox box. Assuming /dev/sdb is your new disk. If you want to use LVM.ssh into your Proxmox box and do, pvcreate […]

SQL SERVER – Unable to Start SQL When Service Account is Removed From Local Administrators Group. Why?

https://blog.sqlauthority.com/2017/07/12/sql-server-unable-start-sql-service-account-removed-local-administrators-group/ One of my clients wanted to secure their SQL Server. One of the rules was that wanted to avoid running SQL Server service with an account which is part of local “Administrators” group. They wanted to provide the minimal permissions needed for the SQL server service account for SQL Server to function. Below are […]

How to change the default MSSQL directory for database files?

https://support.plesk.com/hc/en-us/articles/115002175809-How-to-change-the-default-MSSQL-directory-for-database-files- QuestionThe default directory for storing database files of MS SQL is changed in SQL Management Studio > Database Settings > Database default locations to D:\MSSQL\DATA .However, new database files are being created and stored in %plesk_dir%\Databases\MSSQL\MSSQLXXX.MSSQLSERVER\MSSQL\DATAanyway.How to change the default directory for MS SQL?How to move SQL databases to other disk drive?AnswerBy default, the location for new databases in SQL […]