Wiki source code of Kooperation
Version 1.3 by Gregory CAUCHIE on 2026/03/12 10:20
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | {{box title="**Contents**"}} |
| 2 | {{toc/}} | ||
| 3 | {{/box}} | ||
| 4 | |||
| 5 | == Qu'est-ce que Kooperation ? == | ||
| 6 | |||
| 7 | Alternative Google workspace et Microsoft 365. | ||
| 8 | Composée d'un serveur mail (via Mailcow) et d'outils de collaborations (via Nextcloud Hub) | ||
| 9 | |||
| 10 | == Nextcloud == | ||
| 11 | |||
| 12 | === Procédures === | ||
| 13 | |||
| 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 | |||
| |
1.2 | 32 | {{code language="bash"}} |
| 33 | rsync dry-run ignore-existing -r progress . /opt/composerize/<cooperation.koevoo.tech>/data/<Gregory>/files/ | ||
| 34 | {{/code}} | ||
| |
1.1 | 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 | |||
| |
1.2 | 39 | {{code language="bash"}} |
| 40 | rsync ignore-existing -r progress . /opt/composerize/<cooperation.koevoo.tech>/data/<Gregory>/files/ | ||
| |
1.1 | 41 | |
| |
1.2 | 42 | {{/code}} |
| 43 | |||
| |
1.1 | 44 | 5. force file scan update for user to put it into the database |
| 45 | |||
| 46 | |||
| |
1.3 | 47 | ``` |
| 48 | |||
| |
1.1 | 49 | ===== Procédure testée par Nawel ===== |