LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-14-2022, 02:06 PM   #1
elaterite
LQ Newbie
 
Registered: Nov 2007
Location: Reno, NV
Distribution: Linux Mint
Posts: 21

Rep: Reputation: 0
Backup error with rsync


I'm attempting to backup an internal drive to and external drive. Both drives are 1TB.

I decided for cross platform compatibility to format the external drive as msdos with a vfat filesystem.

Previously, all of my drives, internal and external, were gpt / ext4.

Anyway, I'm receiving the following error while trying to backup the internal drive to the external one with rsync.

Code:
root@elaterite1:~# rsync -avh --no-owner --no-group /media/bob/BOB2/ /media/bob/BOB2A/
sending incremental file list
./
rsync: recv_generator: mkdir "/media/bob/BOB2A/Photos/2013/04_20_2013_Reno_NV_Flowers*" failed: Invalid argument (22)
*** Skipping any contents from this failed directory ***
So to try and fix this, thinking that maybe the *04_20_2013* directory was corrupted (however, it seems to work fine), I cut and pasted the directory to a separate drive and then created a new directory on the internal drive and copied the contents of the old directory back into the newly created one.

But, when using rsync to back up I still get the same error and it won't copy the contents of that directory to the external backup drive.

There's several hundred directories like the one in the error on the internal drive in question. It's just this one *04_20_2013* that is causing the problem.

Any ideas?

Thanks!
 
Old 01-14-2022, 02:28 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 22,280

Rep: Reputation: 4544Reputation: 4544Reputation: 4544Reputation: 4544Reputation: 4544Reputation: 4544Reputation: 4544Reputation: 4544Reputation: 4544Reputation: 4544Reputation: 4544
Quote:
"/media/bob/BOB2A/Photos/2013/04_20_2013_Reno_NV_Flowers*"
Is there actually an asterisk in the directory name?

With FAT/NTFS characters / \ | * , = > < ? % : " are not allowed and . or <space> has some restrictions.

Last edited by michaelk; 01-14-2022 at 02:35 PM.
 
1 members found this post helpful.
Old 01-15-2022, 07:32 PM   #3
elaterite
LQ Newbie
 
Registered: Nov 2007
Location: Reno, NV
Distribution: Linux Mint
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk View Post
Is there actually an asterisk in the directory name?

With FAT/NTFS characters / \ | * , = > < ? % : " are not allowed and . or <space> has some restrictions.
Ha, welp, I knew (emphasis on the past tense) that, duh. I just haven't run anything dependent on a dos filesystem for over two decades now.

Thanks for the reminder!

Marking solved...
 
  


Reply

Tags
back-up, externalharddrive, rsync


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup (rsync) -> [E] Error: rsync: [sender] write error: Broken pipe (32) JZL240I-U Linux - Software 10 09-21-2021 12:49 PM
rsync error: error in rsync protocol data stream (code 12) at token.c(288) sagar alias jacky Linux - General 3 02-05-2014 02:05 PM
LXer: Backup with rsync and rsync.net LXer Syndicated Linux News 0 09-14-2010 05:20 PM
Using RSync to backup a secondary off-site backup server pezdspencer Linux - Software 4 06-29-2007 04:40 PM
Using rsync to backup data. Best way to backup folders? Micro420 Linux - General 2 11-23-2006 02:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration