如何设置 bup 的备份目标目录?

ænd*_*rük 6 configuration backup

bup默认将备份保存到~/.bup. 我怎么能告诉它把备份保存到我的外部驱动器 ( /media/backups) 呢?

hto*_*que 5

bup 的联机帮助页

GLOBAL OPTIONS

    [...]

    -d, --bup-dir=BUP_DIR
          use  the given BUP_DIR parameter as the bup repository location,
          instead of reading it from the $BUP_DIR environment variable  or
          using the default ~/.bup location.
Run Code Online (Sandbox Code Playgroud)

所以要么用-d开关启动它,要么设置$BUP_DIR变量。