Skip to content

Instantly share code, notes, and snippets.

@rijulsudhir
rijulsudhir / coolify-backup.sh
Last active April 18, 2024 22:05 — forked from Geczy/migrate.sh
Migrate Coolify to a new server
#!/bin/bash
# -- Shouldn't need to modify anything below --
backupSourceDir="/data/coolify/"
backupFileName="coolify_backup.tar.gz"
# Check if the source directory exists
if [ ! -d "$backupSourceDir" ]; then
echo "❌ Source directory $backupSourceDir does not exist"
exit 1
@rijulsudhir
rijulsudhir / xps_15_9560__dualboot_with_encryption__notes.md
Last active January 16, 2024 23:50 — forked from luispabon/xps_15_9560__dualboot_with_encryption__notes.md
Ubuntu + Windows 11 dualboot with LUKS encryption
  • Based on https://gist.github.com/mdziekon/221bdb597cf32b46c50ffab96dbec08a
  • Installation date: 16-08-2019
  • Additional notes based on my own experience
  • EFI boot
  • Ubuntu 19.04 -> 21.04
  • This should work on any computer. Only the RAID > AHCI change described below and the device name for the nvme ssd drive are specific to this laptop.
  • The process describes a completely fresh installation with complete repartitioning, however it should work fine when Windows is already installed (eg. brand new machine with Windows preinstalled) as long as Windows already boots with EFI.
  • The process was conducted on Dell's XPS 15 9560 (2017) with specs:
  • CPU: i7-7700HQ