07-02-07 12:20 AM
Hi,
I'm building an incremental backup script using rsync. In order to
decide whether I can use the source directory as the value for --link-
dest when creating the initial backup, I need to known whether the
source and backup directory lie within the same physical filesystem
(or else I get tons of Invalid cross-device link (18) errors).
BTW, I realize that I should always create the initial backup on
another physical filesystem, and I do. It's when I create the first
weekly/monthly snapshot from the then current daily snapshot that I
want to specify the source as link-dest. This works fine, but when the
script is used for the first daily snapshot, it *is* running between
two filesystems, and shouldn't use the source for --link-dest.
Thanks,
JJ
[ Post a follow-up to this message ]
|