-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Destination much bigger than source with btrfs and sxbackup 0.6.10 #37
Comments
You need to enable quota for the latter, in case you haven't done so far. |
Hi masc3d! Thank you for your fast response! #Destination #-------------- sysadmin@destination:/mnt/btrfs-root$ btrfs filesystem usage sysadmin@destination:/mnt/btrfs-root$ sudo btrfs filesystem df /mnt/btrfs-root/ #-------------- #Source btrfs-sxbackup==0.5.9 #----------------- sysadmin@source:/appdata$ sudo btrfs filesystem df /appdata #----------------- |
that's not much of an issue, that's really some large amount of metadata there. as a comparison here's my stats for a volume hosting backups for 2 linux systems:
you could use this to list the size of individual destination snapshots and post the output here. |
I would also recommend to mount with |
On the source in /etc/fstab I have: On the destination in /etc/fstab I have: and the volume @appdata is copied here /mnt/btrfs-root. Might this be the reason for the difference? The fact that /mnt/btrfs-root was mounted without compression... |
yes, this is most certainly the cause. You can activate it now, that's ok. As a sidenote, I would rather use |
Taking into account the I've started the compression on the last one: After the compression will be ready (I think it will take a while...), I suppose it's ok to delete the older subvolumes, correct? |
I believe you could just run old snapshots will be removed on every |
I've deleted older snapshots in /mnt/btrfs-root and now I only have: After I've run: Should I mount the partition with compress=zlib option in /etc/fstab and restart the machine? |
yes, makes sense. maybe you also need a re-balance. |
Hello,
I've just setup a backup using sxbackup 0.6.10 over btrfs on two Ubuntu 14.0.4 machines (source and destination).
My source has a size of 769 GB reported by df -h, and the destination is 1.1 T also reported by df -h. Those two machines have nothing more than the OS and data that I want to backup. So if we remove 5-6 GB for the OS from both machines we still have a huge difference of 340 GB. The data specific is that we are storing millions of small xml files (serveral KBs one).
Is this difference something normal or something went bad during the first backup.
Also, the second and third incremental backup went well.
Kind regards,
Dan
The text was updated successfully, but these errors were encountered: