Wiki source code of Kooperation

Version 1.7 by Gregory CAUCHIE on 2026/03/12 10:22

Show last authors
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
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 {{code language="bash"}}
47 docker exec -u www-data -it <koevoo-nextcloud>-app-1 php occ files:scan <Gregory>
48 {{/code}}
49
50 ===== =====
51
52 ===== Procédure testée par Nawel =====