Kooperation

Version 1.1 by Gregory CAUCHIE on 2026/03/12 10:19

Qu'est-ce que Kooperation ?

Alternative Google workspace et Microsoft 365.
Composée d'un serveur mail (via Mailcow) et d'outils de collaborations (via Nextcloud Hub)

Nextcloud

Procédures

Récupération de fichiers

Procédure testée par Grégory
  1. extract backup
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

      2. su to root and go to targeted user files directory

   sudo su
cd opt/composerize/<cooperation.koevoo.tech>/data/<Gregory>/files/

3. list files on restore that doesn't exist in dest folder
   _nb: let's not replace newest file by older one_

   ```bash
  
   ```

4. move files only if it doesn't exist in dest folder
   _nb: let's not replace newest file by older one_

   ```bash
   rsync ignore-existing -r progress . /opt/composerize/<cooperation.koevoo.tech>/data/<Gregory>/files/
   ```

5. force file scan update for user to put it into the database

   ```bash
   docker exec -u www-data -it <koevoo-nextcloud>-app-1 php occ files:scan <Gregory>
   ```

Procédure testée par Nawel