File to Restore target directory

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

File to Restore target directory

duplicity-talk mailing list
Hi,
If I try to restore only one file with --file-to-restore the target directory becomes a file name. Is that an expected behavior or am I doing it wrong?
Example:
duplicity --tempdir /media/win_c/duplicity-temp-dir/ --file-to-restore Documents/DESIGN/3D/0001-0120.mkv file:///run/media/jk/Violet_2TB/DuplicityBackups/hgst2019-02102019/ /run/media/jk/HGST500gb/hgst2019/Download/test_duplicity_restore2/
 
After this command, what I am getting is "test_duplicity_restore2" file inside "/run/media/jk/HGST500gb/hgst2019/Download/" directory.
 
 
Best,
Jozsef K.
 

_______________________________________________
Duplicity-talk mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
Reply | Threaded
Open this post in threaded view
|

Re: File to Restore target directory

duplicity-talk mailing list
On 02.10.2019 21:56, Jozsef via Duplicity-talk wrote:

> Hi,
> If I try to restore only one file with --file-to-restore the target directory
> becomes a file name. Is that an expected behavior or am I doing it wrong?
> Example:
> duplicity --tempdir /media/win_c/duplicity-temp-dir/ --file-to-restore
> Documents/DESIGN/3D/0001-0120.mkv
> file:///run/media/jk/Violet_2TB/DuplicityBackups/hgst2019-02102019/
> /run/media/jk/HGST500gb/hgst2019/Download/test_duplicity_restore2/
> After this command, what I am getting is "test_duplicity_restore2" file inside
> "/run/media/jk/HGST500gb/hgst2019/Download/" directory.
> Best,
> Jozsef K.

hey Jozsef,

sounds like a bug. can you please file it on launchpad?

the whole "--file-to-restore" should be replaced with in/exclude filters anyway to streamline duplicity usage in the future. maybe this is a good reason.

thanks.. ede/duply.net

_______________________________________________
Duplicity-talk mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
Reply | Threaded
Open this post in threaded view
|

Re: File to Restore target directory

duplicity-talk mailing list
What duplicity version?  What python version?

...Ken


On Fri, Oct 4, 2019 at 4:40 AM <[hidden email]> wrote:
On 02.10.2019 21:56, Jozsef via Duplicity-talk wrote:
> Hi,
> If I try to restore only one file with --file-to-restore the target directory
> becomes a file name. Is that an expected behavior or am I doing it wrong?
> Example:
> duplicity --tempdir /media/win_c/duplicity-temp-dir/ --file-to-restore
> Documents/DESIGN/3D/0001-0120.mkv
> file:///run/media/jk/Violet_2TB/DuplicityBackups/hgst2019-02102019/
> /run/media/jk/HGST500gb/hgst2019/Download/test_duplicity_restore2/
> After this command, what I am getting is "test_duplicity_restore2" file inside
> "/run/media/jk/HGST500gb/hgst2019/Download/" directory.
> Best,
> Jozsef K.

hey Jozsef,

sounds like a bug. can you please file it on launchpad?

the whole "--file-to-restore" should be replaced with in/exclude filters anyway to streamline duplicity usage in the future. maybe this is a good reason.

thanks.. ede/duply.net

_______________________________________________
Duplicity-talk mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
Reply | Threaded
Open this post in threaded view
|

Re: File to Restore target directory

duplicity-talk mailing list
Hi,
Duplicity 0.7.18.2
Python 2.7.16
Mageia 7.1 x64 Linux OS
 
Best,
Jozsef
 
 
 
Sent: Saturday, October 05, 2019 at 7:43 PM
From: "Kenneth Loafman via Duplicity-talk" <[hidden email]>
To: [hidden email]
Cc: "Kenneth Loafman" <[hidden email]>, "Discussion about duplicity backup" <[hidden email]>
Subject: Re: [Duplicity-talk] File to Restore target directory
What duplicity version?  What python version?
 
...Ken
 
 
On Fri, Oct 4, 2019 at 4:40 AM <[hidden email]> wrote:
On 02.10.2019 21:56, Jozsef via Duplicity-talk wrote:
> Hi,
> If I try to restore only one file with --file-to-restore the target directory
> becomes a file name. Is that an expected behavior or am I doing it wrong?
> Example:
> duplicity --tempdir /media/win_c/duplicity-temp-dir/ --file-to-restore
> Documents/DESIGN/3D/0001-0120.mkv
> file:///run/media/jk/Violet_2TB/DuplicityBackups/hgst2019-02102019/
> /run/media/jk/HGST500gb/hgst2019/Download/test_duplicity_restore2/
> After this command, what I am getting is "test_duplicity_restore2" file inside
> "/run/media/jk/HGST500gb/hgst2019/Download/" directory.
> Best,
> Jozsef K.

hey Jozsef,

sounds like a bug. can you please file it on launchpad?

the whole "--file-to-restore" should be replaced with in/exclude filters anyway to streamline duplicity usage in the future. maybe this is a good reason.

thanks.. ede/duply.net
_______________________________________________ Duplicity-talk mailing list [hidden email] https://lists.nongnu.org/mailman/listinfo/duplicity-talk

_______________________________________________
Duplicity-talk mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk