On Sat, 27 May 2023, Samuel Sieb wrote:
On 5/27/23 13:36, Max Pyziur wrote:
Where I seem to run into some trouble is when I try to restore from the
dedicated drive when it is attached to a machine via USB cable.
Specifically, when running a command such as this:
rsync -av /var/backup/machine1/home/SomeUser /home
I get a lot of messages such as this:
rsync: [receiver] mkstemp "/path/to/some/file.0atuCZ" failed: Invalid
argument (22)
I assume "/path/to/some/" is on the target drive. What filesystem are you
Yes, the target drive.
using on the USB drive? Can you give any real examples of failed filenames
(even just the final name, not the path)?
An example of a filename:
rsync: [receiver] mkstemp "/path/to/some/directory/WNYC's Leonard Lopate Show/.wnyc_lopate.mp3?d=475.0atuCZ" failed: Invalid argument (22)
It seems blanks and characters such as apostrophes, brackets, etc, cause
problems.
As for filesystems, source/target can be
ext4 to ext4
ext4 to HPFS/NTFS/exFAT
HPFS/NTFS/exFAT to ext4
... depending on direction.
The HPFS/NTFS/exFAT is a 2TB portable Samsung SSD Model T7. I wasn't sure
if I should reformat it to ext4, leave as-is, or what?
What's interesting to me is that the command
rsync -avz source target on two separate machines doesn't produce this
error/noise.
While rsync -av source target
where target is a USB-mounted drive does.
Thank you.
M
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue