I have a zipped image which I am restoring to a unmounted partition:
gunzip -c /mnt/sda3/backup.gz | xfsrestore - /dev/sda7
I get a error:
xfsrestore: ERROR: specified destination /dev/sda7 is not a directory
xfsrestore: usage: xfsrestore [ -a <alt. workspace dir> ... ]
[ -b <blocksize> ]
[ -c <media change alert program
Is there a way to use xfsrestore to a unmounted partition.
My xfsdump command is:
xfsdump -l 0 - /dev/sda6 | gzip -c > /mnt/sda3/backup.gz