schu...@ime.usp.br writes:
I have been wondering whether it is possible to create a backup system
using mtree and rsync. Essentially, the user would create a mtree
specification of the source directory and copy it over to the destination
directory with rsync. Any changes in the destination
I don't see any way to do this directly. What you probably want to do is
use find(1) to pick out the new files to check, and then merge the
changes into the old mtree(8) spec. Not trivial, but the spec syntax is
intended to be easy to parse, so it shouldn't be that hard either.
What I am
On Tue, 08 Jan 2013 15:57:39 -0200, schu...@ime.usp.br wrote:
It's possible that the mtree support in tar(8) might be able to do it,
but it would probably be a lot slower.
Wait, can tar be used to remove files?
No (not directly, except overwriting directories with content),
but cpdup can;
On Sat, Jan 5, 2013 at 8:12 PM, schu...@ime.usp.br wrote:
I have been wondering whether it is possible to create a backup system
using mtree and rsync. Essentially, the user would create a mtree
specification of the source directory and copy it over to the destination
directory with rsync.
I apparently reinvented the wheel. :-)
Thanks for the link, it is indeed very inspiring.
Quoting Ciprian Dorin Craciun ciprian.crac...@gmail.com:
On Sat, Jan 5, 2013 at 8:12 PM, schu...@ime.usp.br wrote:
I have been wondering whether it is possible to create a backup system
using mtree and
No (not directly, except overwriting directories with content),
but cpdup can; see man cpdup for details and inspiration.
True, but cpdup is not part of the base system.
___
freebsd-questions@freebsd.org mailing list
I have been wondering whether it is possible to create a backup system
using mtree and rsync. Essentially, the user would create a mtree
specification of the source directory and copy it over to the destination
directory with rsync. Any changes in the destination could then be
detected before