Modify

Ticket #3388 (closed defect: fixed)

Opened 19 months ago

Last modified 19 months ago

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

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

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

comment:4 follow-up: ↓ 5 Changed 19 months ago by jamor@…

You need to update your sources.list with this lines:

deb http://ppa.launchpad.net/zentyal/2.2/ubuntu lucid main
deb http://archive.zentyal.com/zentyal 2.2 extra

comment:5 in reply to: ↑ 4 Changed 19 months ago by mihai.constantin@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Thank's the upgrade solved the case.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.