Backup on USB Device / File system missmatch

v7
backup

(Thorsten) #1

NethServer Version: 7.5.
Module: backup / duplicity

Hi my beloved support team,

after understanding that USB HDD is mounted before and umounted after a backup, I got another problem for using a 1.8 TB external HDD:

This is a typical windows device as available from stores. It wears (I formatted) ntfs or exfat as file system. But both are not recogniced / mounted during backup:

2018-07-19 06:20:03 - ERROR - Error while mounting /Volume : mount: unknown filesystem type ‘ntfs’
2018-07-19 06:20:05 - ERROR - Event pre-backup-data failed - 1
2018-07-19 19:30:34 - ERROR - Error while mounting /Volume : mount: unknown filesystem type ‘exfat’
2018-07-19 19:30:36 - ERROR - Event pre-backup-data failed - 1

So my Idea was to use cfdisk to format the HDD differently. I tried ext4 but …
The HDD was not recognised as an USB device from the web panel anymore.

How can I use this HDD for backup? If there is a mount command during backup, what file system is supposed to be mounted? How would I proceed without detaching the device from nethserver (Reason: Nethserver is running on Proxmox with a passed through USB port)

THX
Thorsten


(Markus Neuberger) #2

The best filesystem for USB backup disks is EXT3. FAT filesystem is supported but not recommended, while NTFS is not supported.

http://docs.nethserver.org/en/v7/backup.html#usb-disk-configuration

You have to change the backup scripts but IMO this is not necessary. Unmounting of usb is in /etc/e-smith/events/actions/umount-usb,


(Thorsten) #3

Up an Running