#2135 new enhancement

Add --printcap option to "tahoe backup" to dump resulting backup URI — at Version 2

Reported by: amontero Owned by:
Priority: normal Milestone: soon
Component: code-frontend-cli Version: 1.10.0
Keywords: tahoe-backup backup test-needed easy Cc: remyroy@…
Launchpad Bug:

Description (last modified by amontero)

When I do [scripted] backups to my grid, I would like to collect the resulting backup root URI to a file. I've added a "--printcap" option to "tahoe backup" to do it and works good, so far.

Off by default for backwards compatibility. Comes to mind someone using "tahoe backup" from a script piping the output to a file and mailing it. Other than this, looks like an trivial addition.

Code is at: https://github.com/tahoe-lafs/tahoe-lafs/pull/76

Change History (2)

comment:1 Changed at 2013-12-14T20:58:44Z by amontero

Also you can accomplish David Sarah's case at ticket:835#10 with this one-liner:

$ tahoe backup --ignore-timestamps --printcap ~/Documents/ `tahoe mkdir`

The mkdir'ed directory URI is completely ignored, we will just keep the --printcap'ed URI as the *immutable* backup root.

Last edited at 2013-12-14T20:59:43Z by amontero (previous) (diff)

comment:2 Changed at 2013-12-14T21:13:12Z by amontero

  • Description modified (diff)
Note: See TracTickets for help on using tickets.