Come posso crittografare i backup prima di caricarli?

BackWPup Pro offers the option to encrypt backups for upload to the backup target—a great feature for the security of your data and that of your customers and users. And – because of the GDPR regulations – an absolute must for all those that store personal information in their backups and are based in the…

Home Domande frequenti Come posso crittografare i backup prima di caricarli?

BackWPup Pro offers the option to encrypt backups for upload to the backup target—a great feature for the security of your data and that of your customers and users.

And – because of the GDPR regulations – an absolute must for all those that store personal information in their backups and are based in the EU or have personal data of users residing in the EU in their WordPress installation.

Che cos'è esattamente un backup crittografato e perché dovresti utilizzare questa funzione?

Whenever you create a backup with BackWPup or any other backup plugin, the result is usually uploaded to a backup target. That could be your FTP server, Google Drive, or any other cloud service.

Se qualcuno dovesse accedere alla destinazione del backup, sarebbe in grado di leggere i dati contenuti nel backup senza alcuna difficoltà. I backup non crittografati rappresentano una falla nella sicurezza e comportano il rischio che i tuoi dati, quelli dei tuoi clienti e degli utenti finiscano nelle mani sbagliate.

Crittografare un backup significa rendere i dati illeggibili tramite un processo di crittografia. Prima di procedere alla crittografia, dovrai generare una chiave (o una coppia di chiavi). Questa chiave dovrà poi essere conservata in un luogo sicuro. La chiave è necessaria nell'algoritmo di crittografia per rendere i dati illeggibili e anche per decrittografarli. Solo chi è in possesso della chiave è in grado di rendere nuovamente leggibile il backup.

Attenzione: se smarrisci la chiave, non potrai più accedere ai dati.

Procedura di crittografia

BackWPup offers two procedures for encryption: one symmetrical and one asymmetrical procedure.

The symmetrical procedure works with a single key and is based on the popular AES 256 procedure (AES = Advanced Encryption Standard). The same key is used for encrypting and decrypting.

La procedura asimmetrica utilizza l' algoritmo RSA e l'algoritmo AES. In questo caso generiamo una chiave AES-256 casuale, che viene poi utilizzata per la crittografia. Inoltre, la chiave AES stessa viene poi codificata utilizzando l'algoritmo RSA (procedura ibrida).

The RSA procedure requires a key pair consisting of a public key and a private key. These can be generated via BackWPup Pro. The private key must be kept in a safe place and must only be known to you.

Se non sai quale delle due procedure scegliere, ecco i rispettivi pro e contro:

  • The symmetric procedure is easier to use because we simply store the key in the BackWPup Pro database once it has been generated. You don’t have to worry about keeping the key safe: you can copy-paste the key value that is available in the BackWPup Pro → Settings in the Encryption tab. But anyway we always strongly suggest creating and keeping a copy of your key. Your backup is safe as long as the database of your WordPress installation doesn’t become compromised: if your database is damaged, you could lose the key, and so you could not be able anymore to decrypt your backup unless you have a copy of the key. So, after the key is generated in your system, it has to be downloaded using the related button, otherwise the encryption cannot be properly activated.
  • La procedura asimmetrica è l'opzione più sicura perché utilizza due chiavi. Tu sei l'unico a possedere una di queste due chiavi. Svantaggio: devi garantire la custodia della chiave privata RSA. Se perdi la chiave, non potrai più accedere ai tuoi dati. Anche in questo caso è necessario scaricare la chiave privata dopo la generazione.

Generazione delle chiavi di crittografia e crittografia del backup

You will first have to generate the key before you can create an encrypted backup with BackWPup Pro:

  1. Go to BackWPup Pro → Settings → Advance Settings and then select the Encryption tab.
  2. Seleziona il metodo di crittografia che desideri utilizzare: simmetrico o asimmetrico.
  3. Clicca Genera chiave.
    • If you have selected the symmetric method, a single key will be generated and stored in BackWPup Pro. You should also save it to another location to be on the safe side.
    • If you have selected the asymmetric method, BackWPup generates an RSA key pair. Both keys will be offered to you for download. You should download the private key at least. Next, click Use these keys.
  4. A questo punto, potrai attivare l'opzione "Crittografa archivio" nella parte superiore.
  5. Salva le modifiche nel backup con crittografia

Ripristino di un backup crittografato

A backup is there to be able to restore your site in case of an emergency. Our BackWPup Pro Restore feature can restore both encrypted and unencrypted backups. Simply follow our BackWPup Restore instructions.

Decodifica di un backup

In the event that you want to decrypt an encrypted backup, please download it from the backend of your WordPress installation as follows:

  1. Go to BackWPup Pro → Settings.
  2. Passa il mouse sul backup desiderato.
  3. Fai clic su «Scarica».
  4. Il backup è stato decriptato. Se hai scelto il metodo di crittografia asimmetrica, devi inserire la tua chiave privata RSA nella finestra che si apre;in caso contrario, devi inserire la chiave simmetrica.

Note: You will need BackWPup Pro to decrypt the backup. You will not be able to decrypt the backup with any other tool.

Proteggi WordPress tuo WordPress

Garantisci ai dati del tuo sito web la protezione che meritano con BackWPup Pro.