edit
This commit is contained in:
0
docs/rclone/cmd.md
Normal file
0
docs/rclone/cmd.md
Normal file
85
docs/rclone/index.md
Normal file
85
docs/rclone/index.md
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
# Commande
|
||||||
|
`rclone sync --progress --delete-excluded --transfers 10 --checkers 10 -L nextcloud_data/_data/ infomaniak:/clerc-configs/nextcloud/`
|
||||||
|
# Configuration sample
|
||||||
|
|
||||||
|
[resku-prod-1_nextcloud]
|
||||||
|
type = webdav
|
||||||
|
url = https://next.prod.resk-u.ch/remote.php/webdav
|
||||||
|
vendor = nextcloud
|
||||||
|
user = resku_backup
|
||||||
|
pass = vSIJ-fK0tCWeisst3v4m3Mhv65L8G-fRlDRwC9xc4MBaI-qtY06V2OilWpNqDO98sg
|
||||||
|
|
||||||
|
[Hubic brocasm]
|
||||||
|
type = hubic
|
||||||
|
token = {"access_token":"Z7y8CsXS3d4NbjPJs2Oj7OQ7SuXKc0HOaNhJv3in1xlkAXxeqy2KAF3kaBqXyvdg","token_type":"Bearer","refresh_token":"eEcHcSNRYhC5pgETZty7WgLPO8Ut7lJ4a6eYvIHksQQeTH3P5fFvyc73hYj7e58D","expiry":"2022-08-31T18:06:46.567365335+0>
|
||||||
|
|
||||||
|
[wasabi]
|
||||||
|
type = s3
|
||||||
|
provider = Wasabi
|
||||||
|
env_auth = false
|
||||||
|
access_key_id = WG263KE34YI6I5Q3ZS2L
|
||||||
|
secret_access_key = pLam6hGW562tzMgqk2PHqkUhOoQavAemNpZnKaW1
|
||||||
|
endpoint = s3.eu-central-1.wasabisys.com
|
||||||
|
acl = authenticated-read
|
||||||
|
|
||||||
|
[nextcloud_resku]
|
||||||
|
type = webdav
|
||||||
|
url = https://next.prod.resk-u.ch/remote.php/webdav
|
||||||
|
vendor = nextcloud
|
||||||
|
user = resku_backup
|
||||||
|
pass = kXvttWsmjOi3alhF1WoM_PQaFrar4hfyY-DrtZe8biKXOmkAqN0sPBkVOSTF7SV0EQ
|
||||||
|
|
||||||
|
[nextcloud_sas]
|
||||||
|
type = webdav
|
||||||
|
url = https://next.sas.resk-u.ch/remote.php/webdav
|
||||||
|
vendor = nextcloud
|
||||||
|
user = resk-u_backup
|
||||||
|
pass = aRUlwjNngjf8qPT4s6fmyxJqZA1zCgfK_szZAYaL82S7SpYAxD0bYi0rN8TroLRk
|
||||||
|
|
||||||
|
[Tardigrade]
|
||||||
|
type = tardigrade
|
||||||
|
access_grant = 12m227fRfgNbS9vEC7p5UiB6V8ktgvMAC3HSDv9VxcFzK1qwHXdxEjPCEf7Ngr4R1SUk9HiyiY2MXQTBJsEFjLmScizcbYYxpykKbE5vded6xLeDw8TVEW9tVPjnTU3a75FezrwgCEjRiq98o6Khgx3BJATb9zRNTp6Yq23dMwFrpUsrt7FpEQTBHyomSCPRR2ML1xYSVWF3VkgSqckPF5r1ctjYFu>
|
||||||
|
|
||||||
|
[exoscale]
|
||||||
|
type = s3
|
||||||
|
provider = Other
|
||||||
|
env_auth = false
|
||||||
|
access_key_id = EXOe5a5d26ce7277020657082a3
|
||||||
|
secret_access_key = p3mA3V8LL4ALPd6qM_YQJzusbdvb8D10q8H_aMXCouk
|
||||||
|
acl = private
|
||||||
|
endpoint = sos-ch-dk-2.exo.io
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[infomaniak-resku]
|
||||||
|
type = swift
|
||||||
|
env_auth = false
|
||||||
|
user = PCU-DJFX8YL
|
||||||
|
key = 8Xkt96/#R#8Sd$t
|
||||||
|
auth = https://api.pub1.infomaniak.cloud/identity/v3
|
||||||
|
domain = Default
|
||||||
|
tenant = PCP-DJFX8YL
|
||||||
|
region = dc3-a
|
||||||
|
endpoint_type = public
|
||||||
|
|
||||||
|
[infomaniak-resku-2]
|
||||||
|
type = swift
|
||||||
|
env_auth = false
|
||||||
|
application_credential_id = 5b85b4c28abd4985afff1b8c074dd7de
|
||||||
|
application_credential_secret = jdwHu63CrtDdp8X_lWFyUYTPz6EWXgbz3noyzGd4E3_Egb-OL7T4HcJSnjNVOAGnl9maYbQ8tfvrm9L8hhSAhg
|
||||||
|
auth = https://api.pub1.infomaniak.cloud/identity/v3
|
||||||
|
domain = Default
|
||||||
|
tenant = PCP-DJFX8YL
|
||||||
|
region = dc3-a
|
||||||
|
endpoint_type = public
|
||||||
|
|
||||||
|
[infomaniak-sas]
|
||||||
|
type = swift
|
||||||
|
env_auth = false
|
||||||
|
user = PCU-BBWVRDB
|
||||||
|
key = +};Us+?9q<%:dPmxcz6;=268ow)ux/FTnDR$
|
||||||
|
auth = https://api.pub1.infomaniak.cloud/identity/v3
|
||||||
|
domain = Default
|
||||||
|
tenant = PCP-BBWVRDB
|
||||||
|
region = dc3-a
|
||||||
|
endpoint_type = public
|
||||||
63
docs/seaweedfs/global.md
Normal file
63
docs/seaweedfs/global.md
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
# Service Master / Server
|
||||||
|
## Create file
|
||||||
|
```
|
||||||
|
sudo nano /etc/systemd/system/seaweedmaster.service
|
||||||
|
|
||||||
|
```
|
||||||
|
## Service file server + volume + filer
|
||||||
|
```
|
||||||
|
[Unit]
|
||||||
|
Description=SeaweedFS Server
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
Group=root
|
||||||
|
|
||||||
|
ExecStart=/usr/local/bin/weed server -master.port=9333 -volume.port=8080 -dir=/mnt/seaweedfs-1/ -filer -ip=33.15.0.1 -dataCenter=vps
|
||||||
|
WorkingDirectory=/usr/local/bin
|
||||||
|
SyslogIdentifier=seaweedfs-master
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
## Run service
|
||||||
|
```
|
||||||
|
systemctl start seaweedmaster.service
|
||||||
|
systemctl enable seaweedmaster.service
|
||||||
|
```
|
||||||
|
|
||||||
|
# Service volume
|
||||||
|
## Create file
|
||||||
|
```
|
||||||
|
sudo nano /etc/systemd/system/seaweedvolume.service
|
||||||
|
|
||||||
|
```
|
||||||
|
## Service file server + volume + filer
|
||||||
|
```
|
||||||
|
[Unit]
|
||||||
|
Description=SeaweedFS Server
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
Group=root
|
||||||
|
|
||||||
|
ExecStart=/usr/local/bin/weed volume dir=/mnt/seaweedfs-1 -dataCenter=vps
|
||||||
|
WorkingDirectory=/usr/local/bin
|
||||||
|
SyslogIdentifier=seaweedfs-master
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
## Run service
|
||||||
|
```
|
||||||
|
systemctl start seaweedvolume.service
|
||||||
|
systemctl enable seaweedvolume.service
|
||||||
|
```
|
||||||
@@ -1,2 +1,5 @@
|
|||||||
site_name: Resku main documentation
|
site_name: Resku main documentation
|
||||||
repo_url: https://gitea.prod.resk-u.ch/Resk-U/docs-resku
|
repo_url: https://gitea.prod.resk-u.ch/Resk-U/docs-resku
|
||||||
|
nav:
|
||||||
|
- Home: index.md
|
||||||
|
- Rclone: rclone/index.md
|
||||||
Reference in New Issue
Block a user