Giter VIP home page Giter VIP logo

Comments (4)

digint avatar digint commented on May 22, 2024

Yes, this is on puropse. From the man-page:

Note that btrfs is very picky on file names (mainly for security reasons), only the characters [0-9] [a-z] [A-Z] and "._+-@" are allowed.

If you are brave, change the according line in btrbk:

110: my $file_match = qr/[0-9a-zA-Z_@\+\-\.\/]+/;

You might run into trouble when allowing whitespace characters. This is always a pain to handle correctly with all those external tools needing special care on escaping special characters. This will probably never be implemented in btrbk.

As a general rule of thumb, I'd NEVER use special characters on the file/folder names, sooner or later there's a tool that does not handle it correctly. Use underscore _ character instead of spaces.

from btrbk.

digint avatar digint commented on May 22, 2024

As a workaround, you could make a symlink to those subvolumes, and specify the symlink in btrbk.conf.

from btrbk.

TH3L0N3WOLF avatar TH3L0N3WOLF commented on May 22, 2024

Oh okay.
I kept spaces in certain folders (namely those mentioned above) because they came like that as a default. I didn't think much of it.
I went ahead and symlinked both to another location and it works perfectly, thanks.

from btrbk.

digint avatar digint commented on May 22, 2024

This is all well-documented in btrbk-0.21.0, closing issue

from btrbk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.