home:backups

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
home:backups [2022/11/27 14:16] – [spiti to 1TB.HGST last done 2020/08/02] lamboringohome:backups [2026/04/17 21:56] (current) – [machines & partitions] lamboringo
Line 1: Line 1:
- 
 TO DO:  TO DO: 
  
 +  * tidy pendejo:/home
 +  * reorganize box
   * tester smart en mettant chacun des disque dans pendejo   * tester smart en mettant chacun des disque dans pendejo
   * steam → ironwolf   * steam → ironwolf
Line 7: Line 8:
   * spiti windows ?   * spiti windows ?
   * win10 ironwolf ext4 ?   * win10 ironwolf ext4 ?
 +
 +===== opi5 jobs =====
 +
 +  * crontab job for silico box.crypted everyday at 4am
 +  * crontab job for vps at 5am
 +
  
 ===== machines & partitions ===== ===== machines & partitions =====
  
 **pendejo** **pendejo**
-  * linux 500GB.nvme → ironwolf (2022/11/27 fedora debian) +  * linux: 4TB lexar nvme 
-  * home 2TB.ssd samsung 860 QVO → ironwolf (2022/11/27) +    * system fedora last backup: to do (or on kingston nvme 500gb) 
-  * win10 1TB.ssd.qvo870 → ironwolf (2021/10/02 AOEMI system backup) +    * home last: 2026-04-17 on ironwolf pendejo/home, to do on pi5 (maybe 2026-04-15)  
-  * barracuda 3TB+    * debian ? 
 + 
 +<code> 
 +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 
 +</code> 
 + 
 +  * win: 2TB crucial nvme + 3TB barracuda 
 +    * win11 2TB crucial → ironwolf to do 
 +      * p2 = win11 system 
 +      * p6 = A:  
 +<code> 
 +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 
 +</code> 
 + 
 +    * barracuda 3TB 
 +      * p1 = A: or D: 
 +<code> 
 +sda           2.7T                                                                           ST3000DM008- Z504D97L           running disk 
 +└─sda1        2.7T ntfs   barracuda                     7A20E59F20E5629D                                                             part 
 +</code> 
 + 
 +**b3** 
 +  * nvme 4TB 
 +    * p1 260M EFI 
 +    * p2 16M ? 
 +    * p3 475GB win 
 +    * p4 1GB NTFS 
 +    * p5 200GB vFAT MYASUS 
 +    * p6 1GB /boot 
 +    * p7 3.1TB /home 
 +    * p8 50GB swap 
 +    * p9 70GB / fedora 
 + 
 +<code> 
 +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 
 +</code>
  
 **spiti** **spiti**
-  * linux 1TB.ssd.qvo860 → HD2.5 1TB.HGST (2022/11/27+  * linux 1TB.ssd.qvo860 → HD2.5 1TB.HGST (2024/06/16
-  * win10 256GB.ssd → ???HD2.5 750GB?? (**to do**)+  * win10 256GB.ssd → ???HD2.5 750GB?? (**to do**) removed
  
 **box** **box**
Line 27: Line 90:
  
 **bobibob** + bobidisco ssd samsung 870 QVO 1TB exFAT **bobibob** + bobidisco ssd samsung 870 QVO 1TB exFAT
-  * linux: partitions boot, system and data → backed up on HD 2.5 320GB **id:bob 8404s** 2022/04/09 +  * linux: partitions boot, system and data → backed up on HD 2.5 320GB **id:bob 8404s** 2022/11/27 
-  * ssdext bobidisco → ironwolf 2021/10/03+  * ssdext bobidisco → ironwolf 2022/12/17 
 + 
 + 
 +**pi5** 
 +  * nvem4GB 
 +    * p1 32GB system 
 +    * p2 3.5TB data
  
 ----- -----
Line 38: Line 107:
     * part.1 → 2TB NTFS win10 backup with AOEMI (last 2021/10/02) + steam backups     * part.1 → 2TB NTFS win10 backup with AOEMI (last 2021/10/02) + steam backups
     * part.2 → 5.5TB ext4      * part.2 → 5.5TB ext4 
-  * 3TB barracuda+  * 3TB barracuda (in pendejo for win D:)
   * 3TB WD (pendejo home until 2019)   * 3TB WD (pendejo home until 2019)
   * 1TB WD green WD10EAS (gamborimbo laptop backup on part.gambak) → SMART OK 2021/10/03   * 1TB WD green WD10EAS (gamborimbo laptop backup on part.gambak) → SMART OK 2021/10/03
Line 57: Line 126:
   * 160GB piexthd → SMART OK 2021/10/03   * 160GB piexthd → SMART OK 2021/10/03
   * 160GB unnamed → SMART OK 2021/10/03   * 160GB unnamed → SMART OK 2021/10/03
 +
 +==== nvme ====
 +  * 500GB kingston (in pendejo fedora)
 +  * 2TB crucial p3plus (in pendejo for win sys 1TB + A: 1TB)
 +  * 4TB crucial p3plus cru4data 3.7TB (pendejo sys+home backup, box backup) 
  
 ----- -----
  
 ===== rsync commands ===== ===== rsync commands =====
-==== pendejo nvme 500GB → ironwolf 8TB ==== +==== pendejo fedora system nvme 500GB → crucial 4TB cru4sys ==== 
-  # MBR & partitions  +  # system (to check if it boots up) 
-  dd if=/dev/nvme0n1 of=/run/media/barriot/ironwolf_ext4/pendejo/mbr.nvem0n1.dd bs=512 count=1 +  # mounted on /run/media/barriot/cru4sys 
-  sfdisk --dump /dev/nvme0n1 > /run/media/barriot/ironwolf_ext4/pendejo/partitions.nvme0n1.sfdisk.out+  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   # boot
-  time rsync  --dry-run --delete --itemize-changes -a --stats -h /boot/ /run/media/barriot/ironwolf_ext4/pendejo/boot/ | tee /run/media/barriot/ironwolf_ext4/pendejo/boot.rsync.log+  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   # 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   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
Line 77: Line 167:
   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   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 ssd QVO 870 1TB win10 → ironwolf 8TB ====+==== 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: 
 + 
 +  * / 32GB includes boot and home 
 +  * / mnt/data 3.5TB  
 + 
 +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** **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/ /mnt/barracuda3t/pendejo/win10/Reserve.au.systeme/ | tee /run/media/barriot/ironwolf_ext4/pendejo/win10.Reserve.au.systeme.rsync.log+  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** **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/ /mnt/barracuda3t/pendejo/win10/system/ | tee /run/media/barriot/ironwolf_ext4/pendejo/win10.system.rsync.log+  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 last done 2020/08/02 ==== 
  
-**2021/10/03 Problems encountered while performing rsync** → smart data ok but rsync stuck in the middle both with spiboot and spisys+==== 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/efi/ /run/media/barriot/SPIEFI/
Line 93: Line 228:
   time rsync --dry-run --delete --itemize-changes -a --stats -h --hard-links --acls --xattrs --one-file-system /home/ /run/media/barriot/spihome/   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 ===== ===== spiti partition table backup to spiti:/root 2021/10/03 =====
  • home/backups.1669558603.txt.gz
  • Last modified: 2022/11/27 14:16
  • by lamboringo