Backup/ export actual data (not datastore)

Hello everyone,

I’d like to export files/ folders from Pydio in a human readable format, i.e maintain files and folder structure and names. Would like to perform this operation on a periodic basis, just for safekeeping my files/ folders, perhaps on an offline disk.

I know we can backup the datastore, that gives us the ability to restore. However, is there a way to export the entire repository (for each user individually or as a whole)?

Thanks so much!

Hi,

I’d like to export files/ folders from Pydio in a human readable format, i.e maintain files and folder structure and names. Would like to perform this operation on a periodic basis, just for safekeeping my files/ folders, perhaps on an offline disk.

You have 2 paths for this:

  • the easiest: choose “structured” datasource when you create them, so that the tree structure is kept on the disk and you can easily directly copy the real folder from your hard drive → this has yet some impact on performances if you have a large number of files (this is the legacy format)
  • If you use the “flat” format, we have a tool “Cells fuse” that can be used to temporary mount a folder “as if” it was a normal network disk. You can then simply copy the files and folder.

I know we can backup the datastore, that gives us the ability to restore. However, is there a way to export the entire repository (for each user individually or as a whole)?

Not sure to completely understand your question, but if you have a vanilla setup, a.k.a:

  • single node
  • everything is stored in the Working dir (e.g: /var/cells and you haven’t defined datasources out of this),
  • you don’t use MongoDB

Doing a backup is quite easy, the simple / safest way is to:

  • stop the app
  • copy the working dir
  • dump the Cells DB

You can then remount the system completely somewhere else.
If your setup is more complex, so will your backup procedure be.