It’s needed a USB drive with ext4 format to use dietpi-backup.
So I’ve taken my vfat usb drive, ubicated with
df -h
, unmounted with
umount /dev/sda1
and formatted with
mkfs.ext4 /dev/sda1
. Then I can go into it in
/mnt/usb_1
.
What happens:
1- Maybe dietpi-backup says it’s read only.
2- Maybe during the formatting process I get an error.
I’ve tried, after formatting it, edit "
/etc/fstab
" and uncommenting the line:
/dev/sda1 /mnt/usb_1 ext4 defaults,noatime,nofail 0 0
And commenting the line:
#/dev/sda1 /mnt/usb_1 vfat defaults,noatime,nofail 0 0
And, after that, rebooting.
The time the process has gone better, the USB drive has been formatted without any error messages, dietpi-backup supposedly has done its job and the pendrive has been detected after dietpi-backup, but
df -h
has said it’s only used 60 M when it should be 1 G approx.
After rebooting, the pendrive hasn’t been detected.
I’ve read on forums than they talk about permissions and so on, but I don’t know what I’m doing wrong.
Please, can you give me some light? I suppose I’m not formatting the USB drive correctly.
Thank you very much,