Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--restore-dir functionality #48

Closed
zertrin opened this issue Jul 3, 2013 · 2 comments
Closed

--restore-dir functionality #48

zertrin opened this issue Jul 3, 2013 · 2 comments

Comments

@zertrin
Copy link
Owner

@zertrin zertrin commented Jul 3, 2013

Implement possibility to restore a directory to a specific directory.
For example, restore /var/www to /tmp

@zertrin
Copy link
Owner Author

@zertrin zertrin commented Aug 12, 2013

Apparently this is already possible through the following equivalent command:

duplicity-backup --config /path/to/duplicity-backup.conf --restore-file rel/path/startdir /target/restorepath

@vwal has proposed the following solution:

It seems then that the functionality for “--restore-dir” is already there, and it can, perhaps, be added as an alias to “--restore-file”). Suppose “--restore-file” could alternatively be renamed to “--restore-file-or-dir”, but that might break cron jobs and scripts that rely on the existing arguments.

I'll follow his advice asap by adding the --restore-dir alias, document it and remove this item from the todo-list.

For more details see @vwal's comments here: http://zertrin.org/projects/duplicity-backup/#comment-1009

@zertrin
Copy link
Owner Author

@zertrin zertrin commented Nov 13, 2013

Done with commits 03ef054 and 54f9aaf

@zertrin zertrin closed this as completed Nov 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant