---
derks
> --
> WIKI: http://wiki.hollandbackup.org
> CODE: http://github.com/holland-backup
> UNSUBSCRIBE: holland-deve...@googlegroups.com
>
~Andy
Tim
This is a pretty much a non-issue, not even raised by a real user and
really low on my list of priorities. I haven't seen anyone who's
actually used holland/mysql-lvm mention much less complain about this.
I don't think changing behavior in the middle of a release is a very
useful thing to do at any rate.
~Andy
# tar -xvzf backup.tar.gz
mysql-datadir/ibdata1
...
Something like that, though I agree it's not something we should do mid-release. I see what BJ is talking about though since I hate when that happens too if I don't know to expect it. I have just gotten used to this method. I think since multiple backup solutions for MySQL do this too that we should be ok. Mostly just opening up friendly discussion around it more than anything else.
> No, we shouldn't include the entire path in the tarball :P
I agree, that would be annoying.
> Using a
> "standard path" (whatever that means) isn't going to be a good
> solution either. Newer versions of gnu tar let you do
> transformations, but that's not very portable. python tarfile lets you
> do all kinds of interesting things, but that's not very performant. I
> suppose the easiest is to just symlink some base path and use tar
> --dereference.
>
> This is a pretty much a non-issue, not even raised by a real user and
> really low on my list of priorities. I haven't seen anyone who's
> actually used holland/mysql-lvm mention much less complain about this.
Until someone does:
cd /var/lib/mysql
tar -zxvf /var/spool/holland/blah/backup.tar.gz
Please correct me if I'm wrong.. but I'd assume that would effectively bork any regular file in the root of the directory (including ibdata, etc), wouldn't it?
---
derks
This is pretty uncommon, but the same sort of thing can be done with
with any backup - even with a prefix you can end up overwriting
unintended files. I already noted this is a potential gotcha and
we'll likely address this in a future release. I don't think this is
'critical' or anywhere near as serious as you'd like to make it out to
be. Feel free to contribute code.
~Andy
Sent from my iPhone