Opened at 2014-08-12T02:29:26Z
Last modified at 2014-08-12T16:00:56Z
#2276 new defect
restore from root folder fails on Archive subfolder
Reported by: | jgillisp | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | undecided |
Component: | code-frontend-cli | Version: | 1.10.0 |
Keywords: | forward-compatibility backward-compatibility unicode names windows cli tahoe-cp | Cc: | |
Launchpad Bug: |
Description
c:\allmydata-tahoe-1.10.0\bin>python tahoe cp -r tahoe:tahoe C:\_tahoe\client\restoreTest_140810 WindowsError: [Error 123] The filename, directory name, or volume label syntax is incorrect: u'C:\\_tahoe\\client\\restoreTest_140810\\Archives\\2014-08-10_10 :24:06Z'
Error chain omitted. The : character is not allowed in Windows directory names.
Change History (1)
comment:1 Changed at 2014-08-12T16:00:56Z by daira
- Component changed from unknown to code-frontend-cli
- Keywords forward-compatibility backward-compatibility unicode names windows cli tahoe-cp added
- Owner daira deleted
Note: See
TracTickets for help on using
tickets.
Hmm, this is quite bad. Should we coerce the : to something else when copying from Tahoe to the local filesystem? Changing what name the archive subdirectory is stored under would not solve the problem when restoring existing backups (it might be a good idea anyway though, despite the resulting irregularity of names).
This is a special case of #731, but one that users can run into even if they haven't explicitly used filenames that are invalid on their local filesystem.