(→Servidor de arquivos) |
|||
| Linha 3: | Linha 3: | ||
=Servidor de arquivos= | =Servidor de arquivos= | ||
| - | IP 192.168. | + | IP: 192.168.0.254 |
| - | + | ||
root, lup@h0st1ng | root, lup@h0st1ng | ||
| - | == | + | ==Acesso ao painel de administração== |
| + | http://192.168.0.254 ou https://192.168.0.254 | ||
| + | Login: admin | ||
| + | Senha: mudancanasuamao | ||
| + | |||
| + | |||
| + | ==Acesso aos compartilhamentos== | ||
lupa, lupa*2010! | lupa, lupa*2010! | ||
drive, mudancanasuamao | drive, mudancanasuamao | ||
| + | |||
| + | =Scripts= | ||
# vi /etc/scripts/mount-gdrive.sh | # vi /etc/scripts/mount-gdrive.sh | ||
Servidor de arquivos com sincronização Google Drive via rclone
Tabela de conteúdo |
IP: 192.168.0.254 root, lup@h0st1ng
http://192.168.0.254 ou https://192.168.0.254 Login: admin Senha: mudancanasuamao
lupa, lupa*2010! drive, mudancanasuamao
# vi /etc/scripts/mount-gdrive.sh
#!/bin/bash /usr/bin/rclone --config=/root/.rclone.conf mount --umask 000 --allow-other --buffer-size 1G \ --dir-cache-time 72h --drive-chunk-size 32M --log-level INFO --log-file=/var/log/rclone/rclonemount.log \ GDrive:/ /srv/dev-disk-by-label-arquivos/Arquivos
# vi /etc/scripts/gdrive-sync.sh
#!/bin/bash rclone --config=/root/.rclone.conf sync -vv GDrive:/ /dados/GDrive/
# vi /etc/crontab 30 * * * * root /etc/scripts/gdrive-sync.sh 00 20 * * * root rdiff-backup --force /dados/GDrive/ /backup/GDrive/