From fdfb9539dcabd4fb2d6e45be49d466d885e3e230 Mon Sep 17 00:00:00 2001 From: mwinter Date: Mon, 17 Apr 2023 12:19:23 +0200 Subject: [PATCH] updating readme --- README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.txt b/README.txt index 9cbc39d..d6acf66 100644 --- a/README.txt +++ b/README.txt @@ -35,7 +35,7 @@ mysql-nextcloud # Here are some useful tips for mongo # dump and restore example: -mongodump --host localhost --port 27017 -d unboundedpress -o /backup/db_dump_2023_04_07 -u username -p password --authenticationDatabase admin +mongodump --host localhost --port 27017 -d portfolio -o /db_backups/db_dump_2023_04_07 -u username -p password --authenticationDatabase admin mongorestore --host localhost --port 27017 -d portfolio -u username -p password --authenticationDatabase admin /db_backups/db_dump_2023_04_07/unboundedpress # here is an example of a file upload through restheart: curl -v -u user:pass -X POST -F 'properties={"filename":"filename"}' -F "file=@filepath_here" https://unboundedpress.org/api/scores.files