cells-enterprise admin datasource snapshot
Dump/Load snapshot of the index for a flat datasource
Synopsis¶
DESCRIPTION
For flat format datasources, files are stored horizontally with UUID as their names inside the storage. The associated tree structure (files and folders) is maintained in the Cells database only. For backup/restore operations, it can be useful to regularly dump a snapshot of this tree structure inside a particular file inside the storage, which can be later used to reload data on a clean installation.
This command allows to dump/load the index on-file.
EXAMPLES
-
Dump database index inside a snapshot.db file inside the datasource storage: $ ./cells-enterprise admin datasource snapshot --datasource=pydiods1 --operation=dump --basename=snapshot.db
-
Reload database index from a snapshot.db file located inside the datasource storage: $ ./cells-enterprise admin datasource snapshot --datasource=pydiods1 --operation=load --basename=snapshot.db
-
Remove a known snapshot.db file from datasource storage: $ ./cells-enterprise admin datasource snapshot --datasource=pydiods1 --operation=delete --basename=snapshot.db
Options¶
Options inherited from parent commands¶
SEE ALSO¶
- ./cells-enterprise admin datasource - Datasource management commands
Auto generated by Pydio Cells Enterprise Distribution v4.4.13 on 7-May-2025