Changes for page Kooperation

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

From version 1.8
edited by Gregory CAUCHIE
on 2026/03/12 22:48
Change comment: Change toc setting
To version 1.1
edited by Gregory CAUCHIE
on 2026/03/12 10:19
Change comment: There is no comment for this version

Summary

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  
... ... @@ -23,30 +23,27 @@
23 23  
24 24   2. su to root and go to targeted user files directory
25 25  
26 - {{code language="bash"}}sudo su
26 + {{code language="bash"}}sudo su
27 27  cd opt/composerize/<cooperation.koevoo.tech>/data/<Gregory>/files/{{/code}}
28 28  
29 29  3. list files on restore that doesn't exist in dest folder
30 30   _nb: let's not replace newest file by older one_
31 31  
32 -{{code language="bash"}}
33 -rsync dry-run ignore-existing -r progress . /opt/composerize/<cooperation.koevoo.tech>/data/<Gregory>/files/
34 -{{/code}}
32 + ```bash
33 + --
34 + ```--
35 35  
36 36  4. move files only if it doesn't exist in dest folder
37 37   _nb: let's not replace newest file by older one_
38 38  
39 -{{code language="bash"}}
40 -rsync ignore-existing -r progress . /opt/composerize/<cooperation.koevoo.tech>/data/<Gregory>/files/
39 + ```bash
40 + rsync --ignore-existing -r --progress . /opt/composerize/<cooperation.koevoo.tech>/data/<Gregory>/files/
41 + ```
41 41  
42 -{{/code}}
43 -
44 44  5. force file scan update for user to put it into the database
45 45  
46 -{{code language="bash"}}
47 -docker exec -u www-data -it <koevoo-nextcloud>-app-1 php occ files:scan <Gregory>
48 -{{/code}}
45 + ```bash
46 + docker exec -u www-data -it <koevoo-nextcloud>-app-1 php occ files:scan <Gregory>
47 + ```
49 49  
50 -===== =====
51 -
52 52  ===== Procédure testée par Nawel =====