Package: obnam
Version: 1.19.1-1
Severity: wishlist

Dear Maintainer,

I wanted to restore (from scratch) a system where / and /home are mounted on
separate partitions, but backed into the same obnam repository.

First try was to mount /dev/newdrive1 on /target, /dev/newdrive2 on
/target/home, then have obnam restore the last backup to /target.
Can't do that: obnam won't restore to a non-empty dir. (which, by the way, also
includes "lost+found" so you can't restore to a blank partition unless you get
rid of that first.)

Second try was to restore --exclude /home/ --to /target
Can't do that: obnam ignores --exclude during restore.

I ended up listing every root folder except home in the restore command, then
create and mount home, and restore that. This kind of pain could be avoided if
--exclude worked on restore commands. I'm sure there are lots of other use
cases for this.

Bonus points if you also let obnam restore to a non-empty dir (with a --force-
merge option), merging source dirs into existing target dirs, and overwriting
existing files.

Thanks!



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 4.5.0-2-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages obnam depends on:
ii  libc6             2.22-7
ii  python            2.7.11-1
ii  python-cliapp     1.20160316-1
ii  python-fuse       2:0.2.1-12
ii  python-larch      1.20151025-1
ii  python-paramiko   1.16.0-1
ii  python-tracing    0.9-1
ii  python-ttystatus  0.32-1
ii  python-yaml       3.11-3+b1

obnam recommends no packages.

obnam suggests no packages.

-- no debconf information

Reply via email to