* Backup: Lost local reference
@ 2015-01-17 12:03 G EO
2015-01-17 12:23 ` Hugo Mills
0 siblings, 1 reply; 2+ messages in thread
From: G EO @ 2015-01-17 12:03 UTC (permalink / raw)
To: linux-btrfs, Duncan
I know I have discussed it already on this list, but unfortunately it
did no work out for me.
I am creating backups with btrfs send/receive, like described on the
wiki page https://btrfs.wiki.kernel.org/index.php/Incremental_Backup.
That means I have a subvolume "home", create a snapshot
"home-snapshot" and send it to the backup drive. Then the following
times I create another snapshot "home-snapshot-1" and send the
difference to the backup drive using "btrfs send -p home-snapshot
home-snapshot-1 | btrfs receive /path". For that to work I always need
to keep the last local reference (like home-snapshot) in this example.
Now I am in the unfortunate situation that I deleted the local
reference accidentally out of my own stupidity and wonder if there is
a way to determine the difference between the last snapshot on the
backup drive and the state of my sub-volume now.
I tried the following: I sent the last snapshot (in this example
home-snapshot-1) on the backup drive to an empty btrfs filesystem.
Then I created a read/write snapshot of this one
(home-snapshot-1-snap) and copied my whole current subvolume to the
read/write snapshot in the hope btrfs would only writes changes, but
that was hopeless, when sending the "diff -p" between the imported
snapshot (home-snapshot-1) and the read write snapshot
(home-snapshot-1-snap) back to the backup drive, it did not send any
differences but the whole subvolume (home-snapshot-1-snap).
So is there any way I can let compute the differences in order to
restore the old situation and continue with my incremental backups?
For information: I do not have any older local snapshots :-(, all of
the snapshot were deleted because of a regex problem in a script I
ran.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Backup: Lost local reference
2015-01-17 12:03 Backup: Lost local reference G EO
@ 2015-01-17 12:23 ` Hugo Mills
0 siblings, 0 replies; 2+ messages in thread
From: Hugo Mills @ 2015-01-17 12:23 UTC (permalink / raw)
To: G EO; +Cc: linux-btrfs, Duncan
[-- Attachment #1: Type: text/plain, Size: 2221 bytes --]
On Sat, Jan 17, 2015 at 01:03:20PM +0100, G EO wrote:
> I know I have discussed it already on this list, but unfortunately it
> did no work out for me.
> I am creating backups with btrfs send/receive, like described on the
> wiki page https://btrfs.wiki.kernel.org/index.php/Incremental_Backup.
>
> That means I have a subvolume "home", create a snapshot
> "home-snapshot" and send it to the backup drive. Then the following
> times I create another snapshot "home-snapshot-1" and send the
> difference to the backup drive using "btrfs send -p home-snapshot
> home-snapshot-1 | btrfs receive /path". For that to work I always need
> to keep the last local reference (like home-snapshot) in this example.
>
> Now I am in the unfortunate situation that I deleted the local
> reference accidentally out of my own stupidity and wonder if there is
> a way to determine the difference between the last snapshot on the
> backup drive and the state of my sub-volume now.
I think the short answer is, no, there isn't any way of doing it.
Hugo.
> I tried the following: I sent the last snapshot (in this example
> home-snapshot-1) on the backup drive to an empty btrfs filesystem.
> Then I created a read/write snapshot of this one
> (home-snapshot-1-snap) and copied my whole current subvolume to the
> read/write snapshot in the hope btrfs would only writes changes, but
> that was hopeless, when sending the "diff -p" between the imported
> snapshot (home-snapshot-1) and the read write snapshot
> (home-snapshot-1-snap) back to the backup drive, it did not send any
> differences but the whole subvolume (home-snapshot-1-snap).
>
> So is there any way I can let compute the differences in order to
> restore the old situation and continue with my incremental backups?
>
> For information: I do not have any older local snapshots :-(, all of
> the snapshot were deleted because of a regex problem in a script I
> ran.
--
Hugo Mills | Debugging is like hitting yourself in the head with
hugo@... carfax.org.uk | hammer: it feels so good when you find the bug, and
http://carfax.org.uk/ | you're allowed to stop debugging.
PGP: 65E74AC0 | PotatoEngineer
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-17 12:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-17 12:03 Backup: Lost local reference G EO
2015-01-17 12:23 ` Hugo Mills
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).