Skip to content
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

Implement "synology" compat option for Synology NAS #574

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

berni2288
Copy link

By default, the Synology "btrfs send" command will send a lot of ACLs and maybe other information, a standard btrfs can't deal with.
I've discovered that it's possible to turn this behavior off with --without-syno-features and let it behave like a normal btrfs send, allowing btrbk to send Snapshots to a non Synology btrfs.

Maybe #383 already tried to address this issue, but for me the btrbk run still failed. With this change here, all receive errors are gone.

I've also added an example in the config how to archive all Synology subfolders at once.

By default, the Synology DSM "btrfs send" command outputs ACL attributes that are not compatible
with a normal Btrfs implementation. The option compat "synology" allows passing the --without-syno-features
option, which makes "btrfs send" compatible with standard Btrfs implementations.
@berni2288
Copy link
Author

@digint This is an optional feature which is not enabled by default. Do you need any improvements for this MR before it can be merged? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant