Backup SnapRaid - Which folders are safe to exclude?

Hello,

I’m using a daily sync with Snapraid, the issue is there are many files updated/removed within /var/lib/ocis/.. which sometimes stops my snapraid to sync (threshold applied)

Adding a ton of tiny files at once slows down both syncing, scrubbing and eventually when it’s scrubbing it again so sometimes it takes longer. I’m trying to avoid it, if possible.


remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/nodes/d3/2d/e3/5d/-17ac-47e4-af73-6f011359d17d.T.2024-03-02T11:31:53.163706418Z.mpk

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/blobs/da/87/b6/59/-6961-4cc0-99ed-659f038704d2

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/nodes/4f/48/28/07/-723a-47c1-b1d9-256023a0f56c.T.2024-03-03T10:04:21.399621046Z.mpk

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/nodes/77/d1/52/cd/-da5e-404b-bb4e-948ecca1a354.T.2024-03-03T10:25:14.288129032Z.mpk

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/nodes/92/97/59/f2/-8768-4d43-901a-c768a0f4f786.T.2024-03-17T21:45:34.098299684Z.mpk

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/blobs/48/0a/76/df/-2ed9-4fb3-b10e-93902e865987

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/blobs/49/e6/7f/1c/-d380-4703-8215-1fb5d843b8a5

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/nodes/cf/db/41/5b/-0936-47fd-a075-a7a6e11833cc.T.2024-03-15T08:49:58.62647279Z.mpk

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/blobs/65/68/82/d5/-b08b-45e8-b44e-a8428d8ce73c

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/nodes/9a/18/96/6e/-0b9f-40b3-9a7c-a99d4213cc23.T.2024-03-20T09:29:58.631883875Z

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/blobs/4e/94/3b/d0/-6181-4f12-8bb9-4808b332f4f1

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/nodes/9a/18/96/6e/-0b9f-40b3-9a7c-a99d4213cc23.T.2024-03-20T09:29:58.631883875Z.mpk

remove data1/owncloud/search/bleve/store/00000000078d.zap

remove data1/owncloud/nats/jetstream/\$G/streams/KV_service-registry/msgs/5382.blk

remove data1/owncloud/nats/jetstream/\$G/streams/main-queue/obs/sse-dc6e9b4d-a2ff-4a41-818e-ab6bc5ae1612/meta.inf

remove data1/owncloud/nats/jetstream/\$G/streams/main-queue/obs/sse-dc6e9b4d-a2ff-4a41-818e-ab6bc5ae1612/meta.sum

remove data1/owncloud/nats/jetstream/\$G/streams/main-queue/obs/sse-dc6e9b4d-a2ff-4a41-818e-ab6bc5ae1612/o.dat

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/nodes/97/67/07/6c/-00b0-4124-ba33-1bcaa1a38ec4/feeds1.opml

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/c2/d8/10/22/-66de-448a-b074-46785d7afbe0

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/c4/f5/8e/04/-90ae-43ae-85f9-08b1856e0b32

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/c4/b2/2c/64/-ae64-469c-b72f-2bb5ab14a832

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/46/a6/0b/8f/-4a35-430b-b038-10f2006b12eb

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/0d/e2/a7/3d/-197f-48cb-8380-f6d6375a3c38

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/a7/c4/7e/97/-041f-40fa-a3ac-26cad2e28a53

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/3a/ec/ec/e0/-de22-413b-8a17-9a3e869094ed

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/3a/2b/91/45/-9291-4924-b021-5bf5613ca0e7

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/c7/05/bf/39/-d30c-4ad1-aa82-6292350ff091

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/e5/38/11/c8/-2781-4206-b6fc-9796e6084101

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/c9/9e/96/3d/-9a79-4955-8ee2-c21b64498f0b

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/9f/24/55/b9/-f8d6-44d4-acae-ada8a403eb6a

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/4b/f2/bb/73/-9d81-4d47-8632-28137274efbb

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/87/4b/58/50/-cde7-4119-95fc-a949d3354caa

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/7d/4b/9e/da/-5f23-43f7-8154-b71082fb3733

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/d3/2d/e3/5d/-17ac-47e4-af73-6f011359d17d

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/4f/48/28/07/-723a-47c1-b1d9-256023a0f56c

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/77/d1/52/cd/-da5e-404b-bb4e-948ecca1a354

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/bf/ab/24/9e/-a503-4e48-8cb4-11bf45a992b8

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/a0/70/46/11/-d0ce-4794-a693-7cce7be394fa

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/b4/17/a6/41/-38c1-47ef-a8c3-cde5b2eddfa2

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/bc/3d/7f/53/-2a17-43c2-94f6-688104d0c01b

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/47/b1/21/46/-4591-41c1-9b83-e599f5c0d5c4

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/29/97/06/33/-1549-43e5-a358-dd84b9b56472

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/98/4e/e9/8d/-0fca-4e64-91e7-d3fbb292ba93

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/98/be/d6/f3/-af2f-48f5-9d09-57f79d3ae0b4

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/cf/db/41/5b/-0936-47fd-a075-a7a6e11833cc

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/04/33/77/c3/-3b09-460d-bee2-d173663908e4

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/95/63/db/bb/-4b81-4f36-a091-853b5829dab0

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/cd/ea/a6/7a/-1e3a-4240-951c-45886549c14a

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/8e/c1/00/5b/-2df5-411b-b209-10d260692cc4

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/e2/b7/fc/5f/-7221-4251-9806-93f2d480235d

remove data1/owncloud/storage/users/spaces/97/67076c-00b0-4124-ba33-1bcaa1a38ec4/trash/92/97/59/f2/-8768-4d43-901a-c768a0f4f786

remove data1/owncloud/storage/users/spaces/5a/54a9c9-468f-419d-97f5-c40ef928ff38/nodes/5a/54/a9/c9/-468f-419d-97f5-c40ef928ff38/.space

remove data1/owncloud/storage/users/spaces/5a/54a9c9-468f-419d-97f5-c40ef928ff38/nodes/5a/54/a9/c9/-468f-419d-97f5-c40ef928ff38/Luca

remove data1/owncloud/storage/users/spaces/5a/54a9c9-468f-419d-97f5-c40ef928ff38/nodes/51/07/ae/eb/-d1eb-42b4-9d5b-fbb139798ed0/readme.md

Which folders are safe to exclude and which are the most important to backup?
I have media, docs etc.

The structure, you know it.
So is there a way to have backups but avoid some folders which update too often, or is it impossible and all folders need to be synced?

Thanks

Hi @flashily7804 I would recommend to backup all of them to ensure ocis is working properly. But most important is the storage folder as it contains the actual data. With more or less effort other folders could be recreated, but there could be some unforseen problems when trying to do so. When not using an external idp/idm I would also recommend to backup those as they contain the user information.

However for the daily sync I would expect mostly files in storage folder to be changed so you need to sync those changes anyway. Not sure if it is worth the effort not syncing the few other changes…

1 Like