Table of Contents

TO DO:

opi5 jobs

machines & partitions

pendejo

nvme1n1       3.7T                                                                           Lexar SSD PL PFQ237R000948P220J live    disk
├─nvme1n1p1     2G ext4   linboot            /boot      8295711b-4cf6-4840-acca-de0d64a56f51                                         part
├─nvme1n1p2     3G swap                      [SWAP]     fe00a8c3-a856-43f9-9d04-ca4e561fef5d                                         part
├─nvme1n1p3  97.7G ext4   fedora             /          f7f1f398-2112-4d94-b144-2035358e1f03                                         part
├─nvme1n1p4     1G vfat   EFIKING500         /boot/efi  AE21-7CA8                                                                    part
├─nvme1n1p5   1.9T ext4   home               /home      29b9072f-2aca-4afd-b9d2-2db3a233a880                                         part
└─nvme1n1p6  97.7G ext4   debian                        6c2b6fdd-1ccb-407a-9cb1-5bfffaaef87a                                         part
nvme0n1       1.8T                                                                           CT2000P3PSSD 2226E6438D88       live    disk
├─nvme0n1p1   600M ntfs   Réservé au système            565E7B965E7B6D9D                                                             part
├─nvme0n1p2 438.2G ntfs   System                        220081BC00819805                                                             part
├─nvme0n1p3   747M ntfs                                 DA80358680356A61                                                             part
├─nvme0n1p4   500M ntfs   Windows RE tools              4C8268DF8268CED0                                                             part
├─nvme0n1p5   100M vfat                                 CE66-F01B                                                                    part
└─nvme0n1p6   1.4T ntfs   crucial_2TB_data              ACAA9928AA98EFD6                                                             part
sda           2.7T                                                                           ST3000DM008- Z504D97L           running disk
└─sda1        2.7T ntfs   barracuda                     7A20E59F20E5629D                                                             part

b3

nvme0n1       3.6T                                                                           CT4000P3PSSD8 2322E6DDBBD4 live  disk
├─nvme0n1p1   260M vfat      SYSTEM          /boot/efi  2C50-357B                                                             part
├─nvme0n1p2    16M                                                                                                            part
├─nvme0n1p3 475.6G BitLocker B3 OS 10/4/2023            b86e43db-f45c-4288-8627-83cfb4ac2d77                                  part
├─nvme0n1p4   926M ntfs                                 140099B70099A072                                                      part
├─nvme0n1p5   200M vfat      MYASUS                     B4E3-64A4                                                             part
├─nvme0n1p6     1G ext4      boot            /boot      05ecb8e0-1de0-432e-8a36-9810330def58                                  part
├─nvme0n1p7   3.1T ext4      home            /home      9b75c28b-8c28-451d-a2a2-37549c5326a0                                  part
├─nvme0n1p8  48.8G swap                      [SWAP]     b3698b9e-c473-4fb2-b4ec-dcffe7977f98                                  part
└─nvme0n1p9    70G ext4      fedora          /          e59b2837-c636-44e2-97e9-d73599ae9d65                                  part

spiti

box

bobibob + bobidisco ssd samsung 870 QVO 1TB exFAT

pi5


drives

HD 3.5"

HD 2.5"

nvme


rsync commands

pendejo fedora system nvme 500GB → crucial 4TB cru4sys

# system (to check if it boots up)
# mounted on /run/media/barriot/cru4sys
rsync --dry-run --delete --itemize-changes --exclude /etc/fstab --exclude /home --exclude /mnt --exclude /dev --exclude /proc --exclude /run --exclude /sys --archive --hard-links --acls --xattrs --stats -h  / /run/media/barriot/cru4sys/

pendejo ssd QVO 860 2TB home → crucial 4TB

cd /run/media/barriot/cru4data/
encfs --public $PWD/home.pendejo.efs $PWD/home.pendejo
time rsync --dry-run --delete  --exclude .cache --exclude barriot/box.local --itemize-changes -a --stats -h /home/ /run/media/barriot/cru4data/home.pendejo/
fusermount -u /run/media/barriot/cru4data/home.pendejo

pendejo fedora system nvme 500GB → ironwolf 8TB

# GTP partition table (2023/12/13)
cd /run/media/barriot/ironwolf_ext4/pendejo
sgdisk -b nvme500.gpt.partition.table.sgdisk /dev/nvme1n1
# boot
time rsync  --dry-run --delete --itemize-changes -a --stats -h --one-file-system /boot/ /run/media/barriot/ironwolf_ext4/pendejo/boot/ | tee /run/media/barriot/ironwolf_ext4/pendejo/boot.rsync.log
# efi
time rsync  --dry-run --delete --itemize-changes -a --stats -h --one-file-system /boot/efi /run/media/barriot/ironwolf_ext4/pendejo/efi/ | tee /run/media/barriot/ironwolf_ext4/pendejo/efi.rsync.log

# sys/fedora
time rsync --dry-run --delete --itemize-changes -a --stats -h  --hard-links --acls --xattrs --one-file-system  / /run/media/barriot/ironwolf_ext4/pendejo/rootfs/ | tee /run/media/barriot/ironwolf_ext4/pendejo/rootfs.rsync.log
# sys/debian
time rsync --dry-run --delete --itemize-changes -a --stats -h  --hard-links --acls --xattrs --one-file-system  /run/media/barriot/debian/ /run/media/barriot/ironwolf_ext4/pendejo/debian/ | tee /run/media/barriot/ironwolf_ext4/pendejo/debian.rsync.log

pendejo ssd QVO 860 2TB → ironwolf 8TB

/home

time rsync --dry-run --delete --exclude .cache --itemize-changes -a --stats -h /home/ /run/media/barriot/ironwolf_ext4/pendejo/home/ | tee /run/media/barriot/ironwolf_ext4/pendejo/home.rsync.log

pendejo Win10 system crucial p3plus 2TB → ironwolf 8TB winbackup partition

crucial p2plus 2TB is /dev/nvme0n1

Backup partition table (2025/05/13)

cd /run/media/barriot/winbackup
sgdisk --backup=sgdisk.backup.GPT.partition.table /dev/nvme0n1
fdisk -l /dev/nvme0n1 > fdisk.backup.GPT.partition.table 
sfdisk -d /dev/nvme0n1 > sfdisk.backup.GPT.partition.table

Backup first (Réservé au Système), EFI partitions and C:

dd if=/dev/nvme0n1p1 of=Reserve.au.Systeme.nvme0n1p1.dd.img
dd if=/dev/nvme0n1p3 of=EFI.nvme0n1p3.dd.img
dd if=/dev/nvme0n1p2 of=System.win10.nvme0n1p2.dd.img bs=1024k status=progress
dd if=/dev/nvme0n1p4 of=FAT.nvme0n1p4.dd.img

Backup crucial_2TB_data (A:) data partition (2023/03/06)

robocopy A:\ F:\crucial_2TB_data_robocopy /E /COPYALL /XD $RECYCLE.BIN "System Volume Information"

spiti to cru4data

time rsync --dry-run --delete --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system /boot/efi/ /run/media/barriot/cru4data/spiti/efi/
time rsync --dry-run --delete --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system /boot/ /run/media/barriot/cru4data/spiti/boot/
time rsync --dry-run --delete --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system / /run/media/barriot/cru4data/spiti/rootfs/
time rsync --dry-run --delete --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system  --exclude=.cache/ /home/marion/ /run/media/barriot/cru4data/spiti/marion/

opi5 one-time backup

System has only one disk (nvme) and 2 partitions:

System only backup

time rsync --dry-run --delete --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system -e ssh root@pi5:/ pi5.system.2026-03-28/


OBSOLETE (up to 2023/02) pendejo ssd QVO 870 1TB win10 → ironwolf 8TB winbackup partition

Un autre répertoire steam existe sur la partition ; sûrement un backup via steam ou une copie

Réservé au système

time rsync --dry-run  --delete --exclude --progress --itemize-changes -a --stats -h  --hard-links --acls --xattrs --one-file-system  /run/media/barriot/Réservé\ au\ système/ /run/media/barriot/winbackup/Reserve.au.systeme/ | tee /run/media/barriot/ironwolf_ext4/pendejo/win10.Reserve.au.systeme.rsync.log

main partition

time rsync --dry-run  --delete --exclude --progress --itemize-changes -a --stats -h  --hard-links --acls --xattrs --one-file-system  /run/media/barriot/System/ /run/media/barriot/winbackup/System/ | tee /run/media/barriot/ironwolf_ext4/pendejo/win10.System.rsync.log

spiti to 1TB.HGST

time rsync  --dry-run --delete --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system /boot/efi/ /run/media/barriot/SPIEFI/
time rsync --dry-run --delete --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system /boot/ /run/media/barriot/spiboot/
time rsync --dry-run --delete --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system / /run/media/barriot/spisys/
time rsync --dry-run --delete --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system /home/ /run/media/barriot/spihome/

b3 to cru4data for fedora upgrade

time rsync  --dry-run --delete --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system /boot/efi/ /run/media/barriot/cru4data/b3/efi
time rsync --dry-run --delete --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system /boot/ /run/media/barriot/cru4data/b3/boot
time rsync --dry-run --delete --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system / /run/media/barriot/cru4data/b3/rootfs

spiti partition table backup to spiti:/root 2021/10/03

### Sun Oct 03 16:18  root spiti.ux410ua ~ 
$ sfdisk --dump /dev/sda
label: dos
label-id: 0x6ac575ac
device: /dev/sda
unit: sectors
sector-size: 512

/dev/sda1 : start=        2048, size=      389120, type=6, bootable
/dev/sda2 : start=      391168, size=     2097152, type=83
/dev/sda3 : start=     2488320, size=  1688887296, type=83
/dev/sda4 : start=  1691375616, size=   262148096, type=5
/dev/sda5 : start=  1691379712, size=   209715200, type=83
/dev/sda6 : start=  1901096960, size=    52426752, type=82

### Sun Oct 03 16:19  root spiti.ux410ua ~ 
$ sfdisk --dump /dev/sda > /root/spiti.samsung.ssd.860.QVO.1TB.sfdisk.dump.out

### Sun Oct 03 16:20  root spiti.ux410ua ~ 
$ dd if=/dev/sda of=/root/spiti.samsung.ssd.860.QVO.1TB.dd.mbr bs=512 count=1
1+0 records in
1+0 records out
512 bytes copied, 8.5901e-05 s, 6.0 MB/s

box (2019-10-07 @inagua)

cheat rsync.box
rsync --dry-run --delete --archive --itemize-changes --stats -h --filter='dir-merge /NOBACKUP.fichant11' ~/box/ /run/media/barriot/box/box/

bobibob

linux → HD2.5 320GB id: bob 8404s

time rsync --dry-run --delete --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system /boot/ /run/media/marion/boot/
time rsync --dry-run --delete --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system / /run/media/marion/system/
time rsync --dry-run --delete --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system /home/ /run/media/marion/data/

bobidisco = ssd extern samsung 870 QVO 1TB exFAT

~500GB used as of 2021/10/03

ssdext → ironwolf

  time rsync --dry-run --delete --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system /run/media/barriot/bobidisco/ /run/media/barriot/ironwolf_ext4/bobidisco/

archives

gamborimbo

pi3 & pi4 stuff → ?

Marion ext HD eGo → ironwolf

time rsync --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system /run/media/barriot/seaga_2/eGo.Marion/ /run/media/barriot/ironwolf_ext4/eGo.Marion/