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

Exclude some media directories option #45

Open
voronind opened this issue May 26, 2015 · 4 comments
Open

Exclude some media directories option #45

voronind opened this issue May 26, 2015 · 4 comments

Comments

@voronind
Copy link
Contributor

It would be useful to skip some media directories from backuping.
E.g. Cache directories

@benjaoming
Copy link
Contributor

That's also a great idea! :)

@ZuluPro
Copy link
Contributor

ZuluPro commented Sep 2, 2015

We need before to list all media files via Django built-in API.
And after there is fnmatch (https://docs.python.org/2/library/fnmatch.html#fnmatch.fnmatch) for match file with wildcard.

We must ensure storages are able to list all files in all directories, files' names must be an absolute path from storage's root. Maybe add a walk function to storages.

@ZuluPro
Copy link
Contributor

ZuluPro commented Aug 12, 2016

Now DBbackup can walk through storage, excludes are coming soon !

@jonathan-s
Copy link
Contributor

covered in #300

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

No branches or pull requests

5 participants