linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* btrfs send handle missing space on target device
@ 2014-08-06 21:20 GEO
  0 siblings, 0 replies; only message in thread
From: GEO @ 2014-08-06 21:20 UTC (permalink / raw)
  To: linux-btrfs

Hi,

I wonder how I should handle missing space on the backup device when doing 
incremental backup with btrfs send?
I mean for the initial bootstrap it is easy, I simply compare the free space 
of the target device with the size of home (we are talking about incremental 
backups of home), but how should I handle this with

sudo btrfs send -p @home-backup @home-backup | sudo btrfs receive /mnt/backup/

What will happen by default if the space on the target is not enough? Will the 
command start writing to  /mnt/backup/ at all and stop when the disk is full, 
or will it return an error code? If it doesn't return an error code, how can I 
handle this before the transaction?

Thanks in advance!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-06 21:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-06 21:20 btrfs send handle missing space on target device GEO

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).