Modify ↓
Ticket #3388 (closed defect: fixed)
Restore will fail if the file name has spaces or the extension is longer than 3 characters
| Reported by: | mihai.constantin@… | Owned by: | anonymous |
|---|---|---|---|
| Milestone: | 2.2.X | Component: | base |
| Severity: | normal | Keywords: | |
| Cc: |
Description
I have needed to restore one file and i have tryed to use the web menu and i was surprised that the restore has failed. My file have spaces in name and the extension is longer than 3 characters (xlsx).
Attachments
Change History
comment:1 Changed 19 months ago by mihai.constantin@…
- Owner changed from jacalvo@… to anonymous
- Status changed from new to assigned
comment:2 Changed 19 months ago by jamor@…
Thanks for your report Mihai Constantin,
what version are you using?. In the version 2.2.1 we have changed the quoting of the arguments, so if you have an older version this coudl fix the problem.
Regards,
Javier
comment:3 Changed 19 months ago by mihai.constantin@…
Core version 2.1.34 I update to latest version with apt-get update apt-get upgrade
Note: See
TracTickets for help on using
tickets.
I have found one solution reading the /var/log/zentyal/zentyal.log i have observed that the error message contained a wrong padding in file name. It is paded spaces with "_". I replaced and run by hand the command: duplicity --force -t 1319101207 --file-to-restore 'home/samba/share/file with space.xlsx' file:///var/lib/zentyal/conf/backups --no-encryption '/home/samba/share/file with space.xlsx'
This has solved my need. It will be nice that web interface work too. Thanks