Thanks Chris! After thinking about it, it seems best to just
delete a
whole day and make sure I'm fresh. Don't want to add another
host, cuz
it's really the same host... the old one is going away.
Thanks for your
thoughts.
b
Chris Shelton wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ben,
>
> On Fri, 1 Dec 2006 at 8:20am, Ben Munat wrote:
>
>> I'm running rsnapshot 1.29 on a gentoo box, backing
up a remote gentoo
>> server. I recently moved my server to a new
machine. After switching the
>> domain name to point at the new machine, I found
that files and
>> directories from the old machine are still in my
daily.0 backup each
>> morning. They are mixed with the new files and
directories.
>
> I would suggest either using a different value for
snapshot_root in
> your rsnapshot.conf, or a new backup entry with a
different
> destination.
>
> I am doing something similar on a newly setup gentoo
server, and have
> the snapshot for each remote system sent to a separate
directory:
>
> (from rsnapshot.conf)
> backup root hotdog:/home/ hotdog/
+rsync_long_args=--bwlimit=6000
> ...
> backup root cheddar:/home/ cheddar/
+rsync_long_args=--bwlimit=6000
> ...
> backup root batboy:/home/ batboy/
+rsync_long_args=--bwlimit=6000
>
> This results in the following directory layout:
>
> pickles portage # ls -l /snapshots/daily.0/
> drwxr-xr-x 12 root root 4096 Oct 14 17:08 batboy
> drwxr-xr-x 12 root root 4096 Oct 12 03:59 cheddar
> drwxr-xr-x 13 root root 4096 Oct 11 19:56 hotdog
> drwxr-xr-x 11 root root 4096 Oct 11 16:22 localhost
>
>> My rsync_long_args are:
>>
>> rsync_long_args --delete --numeric-ids --relative
>> --delete-excluded --ignore-errors
>
> Those look fairly standard.
>
>> and I see these args in the log.
>>
>> The backup does finish with warnings, but it almost
always does... it's
>> hard to backup a mail directory tree without
something changing! But,
>> ignore_errors is supposed to override that and
delete anyway right?
>>
>> Hoping someone can help because it looks like my
old and new file
>> systems will remain intermingled forever at this
rate... effectively
>> making the backup useless (or at least a major pain
to restore).
>
>> I was thinking about deleting everything under the
server's directory in
>> daily.0. That should pull everything fresh right?
Sucks to have to pull
>> all the files again, but I'm not seeing any other
way right now.
>
> I don't see any way around that either.
>
> chris
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
>
>
iD8DBQFFcKJGM5TknMKatUwRAo3gAJ9Ji6zalx0sCK15+hSk2tGeW2rOKQCg
qwrJ
> I30Qt9FEWob9a07gveZmkU0=
> =VBBP
> -----END PGP SIGNATURE-----
--
gentoo-server gentoo.org mailing list
|