DragonFly BSD
DragonFly bugs List (threaded) for 2011-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [issue2123] hammer is losing files


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 30 Aug 2011 09:44:02 -0700 (PDT)

:
:The snapshot in question has been created via the daily periodic
:scripts. It's symlinked in /var/hammer/backup/sync and appears in the
:hammer snapls output:

    It could have caught the rsync in the middle, though it isn't supposed
    to break inode<->file linkages.  rsync might be re-creating the hardlinks
    on every pass.

    Are the other snapshots ok?

    The most reliable way is to create a manual snapshot as part of your
    rsync script so the snapshot occurs on a quiescent filesystem.  Something
    like this:

    do rsync stuff
    sync; sleep 5; sync; sleep 5; sync; sleep 5
    hammer snapshot /backup/sync /var/hammer/backup/sync "rsync snapshot"

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]