Add backup automation script with environment configuration files (.env, .env.example) and accompanying documentation.
18 lines
315 B
Plaintext
18 lines
315 B
Plaintext
BackupAutomatico
|
|
================
|
|
|
|
09/2026
|
|
|
|
Servidores Debian 12
|
|
|
|
|
|
Rodar no servidor que tem o backup:
|
|
|
|
Comando para gerar key:
|
|
|
|
ssh-keygen -t ed25519 -N "" -f ~/.ssh/id_ed25519
|
|
ssh-copy-id -i ~/.ssh/id_ed25519.pub marco@170.231.184.32
|
|
|
|
Para testar:
|
|
|
|
ssh -i ~/.ssh/id_ed25519 marco@170.231.184.32 "echo CONEXÃO OK" |