Changes for page Kooperation
Last modified by Gregory CAUCHIE on 2026/04/13 22:15
To version 1.3
edited by Gregory CAUCHIE
on 2026/03/12 10:20
on 2026/03/12 10:20
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,4 +1,4 @@ 1 -{{box cssClass="floatinginfobox"title="**Table des matières**"}}1 +{{box title="**Contents**"}} 2 2 {{toc/}} 3 3 {{/box}} 4 4 ... ... @@ -7,8 +7,43 @@ 7 7 Alternative Google workspace et Microsoft 365. 8 8 Composée d'un serveur mail (via Mailcow) et d'outils de collaborations (via Nextcloud Hub) 9 9 10 -= Procéduresinternes=10 +== Nextcloud == 11 11 12 - {{childrensort="title:asc"/}}12 +=== Procédures === 13 13 14 - 14 +==== Récupération de fichiers ==== 15 + 16 +===== Procédure testée par Grégory ===== 17 + 18 +1. extract backup 19 + 20 +{{code language="bash"}} 21 +sudo BORG_RELOCATED_REPO_ACCESS_IS_OK=yes BORG_UNKNOWN_UNENCRYPTED_REPO_ACCESS_IS_OK=yes borg extract ssh://u388430-sub10@u388430-sub10.your-storagebox.de:23/./cooperation.koevoo.tech::2025-05-07T07:25:14 22 +{{/code}} 23 + 24 + 2. su to root and go to targeted user files directory 25 + 26 + {{code language="bash"}}sudo su 27 +cd opt/composerize/<cooperation.koevoo.tech>/data/<Gregory>/files/{{/code}} 28 + 29 +3. list files on restore that doesn't exist in dest folder 30 + _nb: let's not replace newest file by older one_ 31 + 32 +{{code language="bash"}} 33 +rsync dry-run ignore-existing -r progress . /opt/composerize/<cooperation.koevoo.tech>/data/<Gregory>/files/ 34 +{{/code}} 35 + 36 +4. move files only if it doesn't exist in dest folder 37 + _nb: let's not replace newest file by older one_ 38 + 39 +{{code language="bash"}} 40 +rsync ignore-existing -r progress . /opt/composerize/<cooperation.koevoo.tech>/data/<Gregory>/files/ 41 + 42 +{{/code}} 43 + 44 +5. force file scan update for user to put it into the database 45 + 46 + 47 + ``` 48 + 49 +===== Procédure testée par Nawel =====