Replies: 1 comment
-
Hi @Dithilli If you want to ignore the snapshot, set |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
We're trying to use directus_sync to manage our flows, and when I do directus_sync pull, i get not just the flows collection, but the dozens and dozens of other collections we have that aren't directus specific. My configuration is setup
// ./directus-sync.config.js
module.exports = {
extends: ['./directus-sync.config.base.js'],
debug: true,
directusUrl: 'http://localhost:8080/',
// directusToken: 'my-directus-token',
directusConfig: {
clientOptions: {}, // see https://docs.directus.io/guides/sdk/getting-started.html#polyfilling
restConfig: {}, // see https://docs.directus.io/packages/@directus/sdk/rest/interfaces/RestConfig.html
},
dumpPath: './directus-sync',
collectionsPath: 'collections',
onlyCollections: ['flows'],
excludeCollections: ['settings'],
preserveIds: 'all', // can be '*' or 'all' to preserve all ids, or an array of collections
snapshotPath: 'snapshot',
snapshot: true,
split: true,
specsPath: 'specs',
specs: true,
};
And yet 895 files are still saved to snapshots. What am I doing wrong? Or misunderstanding?
Beta Was this translation helpful? Give feedback.
All reactions