Replies: 2 comments 3 replies
-
Hi, SFTPGo supports loading users and folders from a json dump, you can create a such dump selecting "template" from the web admin. Please try to use it. The generated template can be imported to the same SFTPGo instance or to another. For example you generate and test the dump on a development host and once you are satisfied you import it on your production host. I think it is simpler than filling a csv. I prefer structured data, here you can find the user schema definition, please try to write a csv that includes different kinds of users (local,S3,GCS, SFTP) and add also some filters and sub dir permissions, I think you will give up or end up with a really weird csv |
Beta Was this translation helpful? Give feedback.
-
Hi,
Ok, I’ll try with JSON, I don’t think I’ll have any problems. Warning if
everything goes well.
Regards,
Michael Voigt
Em dom., 7 de fev. de 2021 às 09:53, Nicola Murino <notifications@github.com>
escreveu:
… Hi,
SFTPGo supports loading users and folders from a json dump, you can create
a such dump selecting "template" from the web admin. Please try to use it.
The generated template can be imported to the same SFTPGo instance or to
another. For example you generate and test the dump on a development host
and once you are satisfied you import it on your production host.
I think it is simpler than filling a csv.
I prefer structured data, here
<https://github.com/drakkan/sftpgo/blob/master/httpd/schema/openapi.yaml#L1599>
you can find the user schema definition, please try to write a csv that
include different kinds of users (local,S3,GCS, SFTP) and for include also
some filters
<https://github.com/drakkan/sftpgo/blob/master/httpd/schema/openapi.yaml#L1299>
and sub dir permissions
<https://github.com/drakkan/sftpgo/blob/master/httpd/schema/openapi.yaml#L1663>,
I think you will give up or end up with a really weird csv
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#302 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADKCGU7D3SRFM6ZAELADKQDS52ENHANCNFSM4XHMJKSQ>
.
|
Beta Was this translation helpful? Give feedback.
-
Hi
Is it possible to create users in bulk using a csv file?
If not, do you find it interesting to have this functionality?
Regards,
Michael Voigt
Beta Was this translation helpful? Give feedback.
All reactions