Changes for page Kooperation

Last modified by Gregory CAUCHIE on 2026/04/13 22:15

From version 1.7
edited by Gregory CAUCHIE
on 2026/03/12 10:22
Change comment: There is no comment for this version
To version 1.10
edited by Gregory CAUCHIE
on 2026/04/09 23:04
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,4 @@
1 -{{box title="**Contents**"}}
1 +{{box cssClass="floatinginfobox" title="**Table des matières**"}}
2 2  {{toc/}}
3 3  {{/box}}
4 4  
... ... @@ -7,46 +7,6 @@
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 -== Nextcloud ==
10 += Produres internes =
11 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 =====
12 +