Bonjour
A près executer un script bash suivant :
BACKUP_DIR ="/backup/mongodb"
DATE=$(date + « %Y%m%d-%H%M »)
mongodump --username user --password password --out $BACKUP_DIR/$DATE --authenticationDatabse admin;
find $BACKUP_DIR/* -type d -mtime +7 -exec rm -rf {} \
tout est parti, ç a commencé par l’interface graphique et les menus puis je n’arrivais plus à booter la machine sous debian12
fdisk -l donne =>
ser@debian:~$ sudo fdisk -l
Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Disk model: SAMSUNG MZVLB256HAHQ-000H1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 1FDF628F-8E2A-4FBE-9928-B692B9BCDBB3
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme0n1p2 1050624 59643903 58593280 28G Linux filesystem
/dev/nvme0n1p3 59643904 61644799 2000896 977M Linux swap
/dev/nvme0n1p4 61644800 500117503 438472704 209.1G Linux filesystem
Disk /dev/sda: 447.1 GiB, 480103981056 bytes, 937703088 sectors
Disk model: KINGSTON SA400S3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2C69AF94-E460-43ED-9737-FC5F65ADC532
Device Start End Sectors Size Type
/dev/sda1 34 32767 32734 16M Microsoft reserved
/dev/sda2 32768 450592767 450560000 214.9G Microsoft basic data
/dev/sda3 450592768 937699327 487106560 232.3G Microsoft basic data
Disk /dev/sdb: 7.5 GiB, 8004829184 bytes, 15634432 sectors
Disk model: USB Flash Drive
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x529e475f
j’ ai des applications imprtantes sur cette machine est ce qu’il y a un moyen de recuperer mes fichiers
Merci pour votre aide