Tangerine icon indicating copy to clipboard operation
Tangerine copied to clipboard

import-archives command fails (due to new format of exports)

Open rjcorwin opened this issue 3 years ago • 1 comments

Current version: v3.20.3 Upgraded from: NA Issue on tablet and/or server: Server

Expected behavior

On a backup from a Device using Sync Protocol 1 should be able to be imported onto the server using the import-archives command.

Actual behavior

Due to the format of exports changing in the past few version from an array of all docs to split files of a changes feed, import-archives fails because it assumes it's an array of docs.

Steps to reproduce the behavior

Export from a Device using SP1, add to ./data/archives folder on server, try the import-archives command.

rjcorwin avatar Dec 30 '21 19:12 rjcorwin

@chrisekelley Flagging this as a blocker we need a script to be able to import exported files. Please preserve the current script and create a new one

lachko avatar May 31 '22 11:05 lachko

Fixed

esurface avatar Aug 16 '24 18:08 esurface