WordPress : tutorial passo dopo passo

Tutorial passo passo WordPress
Home Blog WordPress : tutorial passo dopo passo

WordPress backup is very important in any situation. Even when there is no problem with your website now, having an up-to-date copy of the site can save you a lot of headaches.

On average, 30,000 websites are hacked daily. In 2020 alone, ransomware cases grew by 150%. Doing a regular WordPress backup is a good data recovery procedure for your website.

With these backups, users can easily restore data on their WordPress websites. This prevents prolonged downtime, permanent data loss, and any serious damage to the website.

This article will talk about how to do a WordPress backup through three different methods: manually, through a plugin, and through a web host. Let’s start!

Why Do You Need WordPress Backups?

Ogni sito web, indipendentemente dalle sue dimensioni, è esposto al rischio di attacchi hacker, malware ed errori. È quindi fondamentale adottare misure di sicurezza adeguate. 

Eseguire regolarmente il backup del sito web è uno dei migliori esempi di misure di sicurezza. Ciò garantisce un ulteriore livello di protezione e migliora l'efficienza della manutenzione del sito.

A standard WordPress website consists of its core installation files and content, such as plugins and themes. Meanwhile, its database stores site data such as posts, comments, and more.

Both of these types of data are essential for your WordPress website to run smoothly. Damage to any of these files could result in your website breaking and becoming inaccessible.

A few minutes of downtime might not be a huge problem for small business websites, but medium to big e-Commerce and business sites might suffer a great loss.

According to Gartner, the average cost of downtime is about $5,600 per minute. Meanwhile, Carbonite estimates around $137 to $427 loss per minute for small business sites.

Tuttavia, le conseguenze della mancata esecuzione di un backup vanno ben oltre il semplice periodo di inattività del sito. Ecco alcuni altri motivi per cui il backup di un sito web è fondamentale:

  • Prevenire la perdita definitiva dei dati 

Gli errori umani sono responsabili di circa il 75% di tutti gli episodi di perdita di dati. Nella maggior parte dei casi, un sito web viene gestito da più utenti, il che aumenta la probabilità che si verifichino errori. 

Errors such as accidental removal, corrupted files, and so on. Luckily, with a regular WordPress backup, you can quickly restore the website to its previous state in case of any errors.

  • Proteggi il sito da eventuali problemi del server 

I problemi relativi ai server possono verificarsi in qualsiasi momento per una serie di motivi: minacce informatiche, cambiamenti radicali nell'ambiente, errori umani, falle di sicurezza e così via.

Nel peggiore dei casi, potresti perdere tutti i dati presenti sul server e dover ricreare l'intero sito web da zero. È proprio in questi casi che un backup del sito web si rivela utilissimo!

In case of any server failure, your most recent WordPress backup files can save you a lot of time and effort in the site restoration process. 

  • Per la migrazione del sito web

Having a WordPress backup is also very useful for data migration. In case you want to upgrade servers or hosting providers, these backups will definitely help speed up the moving process.

Read our other article to learn about more reasons why WordPress backups are super important.

When Do You Need WordPress Backups?

As discussed earlier, creating a WordPress backup is one of the most important steps to take against permanent data loss and harmful implications to the website.

As a website owner, you must be wondering when you need to do a WordPress backup and how often you should back up your website files.

There’s no one-fits-all answer to this question. The optimal frequency of a WordPress backup depends on the nature of the website itself.

In generale, ci sono tre tipi di backup che dovresti conoscere bene se gestisci un sito web: il backup giornaliero, quello settimanale e quello mensile.

I siti web attivi e dinamici con contenuti aggiornati regolarmente, come i siti di notizie e i negozi online, dovrebbero essere sottoposti a backup con la stessa frequenza con cui vengono aggiornati.

Ciò significa che, se il sito web pubblica contenuti quotidianamente, un backup giornaliero è la soluzione più indicata, mentre un backup settimanale rappresenta la seconda opzione migliore.

D'altra parte, i siti web statici, come i profili aziendali, i portfolio e altri siti web informativi di sola lettura, possono essere sottoposti a backup con minore frequenza.

As a good rule of thumb, here are the most common cases where a backup job is an absolute must-do before implementation:

  • Doing any kind of edits to the WordPress files
  • Updating WordPress versions and core files
  • Caricamento e installazione di componenti aggiuntivi di terze parti
  • Editing and moving WordPress core files

3 Easy Ways to Back Up Your WordPress Site

Now that we’ve discussed the importance of WordPress backups, this section will show you how to back up a WordPress website through three simple methods.

Ecco una breve panoramica dei tre approcci:

  • Automatic backup using BackWPup plugin
  • Backup manuale tramite il client FTP FileZilla  
  • Backup automatico/manuale tramite il provider di hosting web

Come eseguire un backup utilizzando un plugin

One of the easiest ways to do a WordPress website backup is through a plugin. Luckily, right now, there are hundreds of free or paid plugin options available on the CMS.

BackWPup, for example. This free plugin offers a wide range of useful and powerful backup features, making it one of the top choices for WordPress backups.

The screenshot of BackWPup website WordPress backup plugin.
BackWPup Website

Some of its top features include automated database and file backups, database checkups, backup management as well as advanced WordPress multisite support.

Apart from that, BackWPup also has a BackWPup Pro version which provides even greater features such as automatic and emergency restore, starting at $69/year.

To do a WordPress backup with the BackWPup, follow the following steps:

  1. Install BackWPup from the WordPress plugin directory and Activate it.
  2. Once the plugin is installed, click on the BackWPup settings on the left sidebar of the WordPress dashboard > Add new job.
This picture shows you how to add new backup job on BackWPup plugin
How to Add New Job on BackWPup
  1. Assegna un nome al file di backup nel Nome del lavoro sezione. Sotto Mansioni lavorative, seleziona tutte le caselle, o almeno quelle Database e Backup dei file. Ecco una breve spiegazione di ciascuna opzione:
    • Database backup — backs up the database of your website installation. The information stored in the database includes users, posts, pages, comments, categories, tags, custom fields, and other WordPress settings.
    • File backup — backs up the files of your website installation. These files include WordPress files, themes, plugins, content, as well as images and media.
    • WordPress XML support — this feature exports information from the website’s database to an XML file, which can be imported into other pages or sites.
    • Elenco dei plugin installati — mostra un elenco dei plugin installati sul sito web. In caso di problemi, indica quali plugin reinstallare.
    • Controlla le tabelle del database: questa funzione verifica la presenza di dati danneggiati nel database durante il processo di backup e li ripara.
  2. Nella sezione " Creazione file di backup", specificare il nome e il formato dell'archivio. In questo esempio, utilizziamo le opzioni predefinite del plugin.
Questo
Backup File Creation on WordPress
  1. Then, select where you want to save the backup file in the Job Destination section. If you’re using the BackWPup Pro, you’ll get more backup destination options.
  2. Per ottenere informazioni sulla procedura di backup, inserisci il tuo indirizzo e-mail nella sezione " File di log". Quindi, clicca sul pulsante " Salva modifiche ".
Come inviare i file di log di backup a un indirizzo e-mail
  1. Once the job is created, you will see a success message on the top part of the screen. Click Run Now to start the full backup process of your WordPress website.
Messaggio di operazione riuscita nel plugin di backup

Should you need to back up only certain files, each tab on the BackWPup settings offers more configuration options to set up preferences. Here’s a quick explanation of the tabs:

  • Schedule — used to create scheduled backup jobs. Users can choose to do it manually, with the WordPress cron, or other third-party cron services.
  • Backup del database — offre la possibilità di eseguire il backup solo dei file di database di un sito web. Gli utenti possono selezionare le tabelle e i tipi di database di cui desiderano eseguire il backup.
  • File — utilizzati per creare copie di backup dei file del sito web, come contenuti, plugin e temi.
  • Plugins — backs up all the plugins installed on the WordPress website.
  • A: Cartella — serve per creare e inviare backup alla cartella wp-content sul tuo server.

Come eseguire il backup manuale dei siti web

By default, the WordPress website files are stored in the server’s main directory called public_html. This folder can be accessed manually or through your hosting provider.

Per accedere manualmente alla directory public_html è necessaria una connessione FTP. In questa sezione utilizzeremo FileZilla come esempio, ma è possibile utilizzare anche altri client.

Keep in mind that a manual WordPress backup can be challenging for beginners with limited technical experience. We only recommend this method if you know what you’re doing.

  1. First, make sure to have an FTP server installed on your web server. Fortunately, most hosting providers come with an FTP connection and credentials by default.
  2. Una volta ottenute le credenziali per effettuare l'accesso e collegarti a un client FTP, scarica e installa il programma che preferisci sul tuo computer. Ecco il link ufficiale per scaricare FileZilla.
  3. Apri FileZilla e vai su File > Gestione siti > Nuovo sito. Inserisci il nome host, il nome utente e la password utilizzando le credenziali FTP corrette, quindi fai clic su Connetti.
  4. Una volta stabilita la connessione, è possibile fare clic con il tasto destro del mouse sulla directory public_html del sito nella scheda " Sito remoto ".
  5. Fai clic con il tasto destro del mouse sulla cartella public_html per scaricare il suo contenuto sul tuo computer. FileZilla ti avviserà quando i backup saranno completati.

Se desideri eseguire il backup solo di determinati file presenti nella directory public_html, fai doppio clic sulla cartella e clicca con il tasto destro del mouse sui file che desideri scaricare.

Come eseguire un backup tramite il proprio provider di hosting

Se utilizzi un servizio di web hosting per ospitare il tuo sito web, puoi eseguire backup sia manuali che automatici, a seconda del provider che hai scelto.

La maggior parte dei provider di web hosting include nel proprio servizio il backup automatico. Tuttavia, è possibile eseguire backup manuali tramite il pannello di controllo fornito dal provider.

Uno dei pannelli di controllo più diffusi tra i provider di hosting web è cPanel. Per scoprire come eseguire il backup di un sito web utilizzando questo strumento, consulta la documentazione ufficiale dedicata al backup per cPanel.

Un altro modo è contattare l'assistenza clienti del proprio provider di hosting e chiedere se offre o gestisce un servizio di backup automatico per i clienti.

E con questo abbiamo concluso!

Una soluzione di backup affidabile ti eviterà un sacco di problemi in caso di malfunzionamento del sito. È una delle strategie più efficaci per risparmiare tempo e denaro.

This article talked about three different methods of WordPress backups; here’s a short recap:

  • Automatic & scheduled backups using the BackWPup plugin
  • Manual backups using an FTP server & connection
  • Backup automatici e manuali tramite il provider di web hosting.

Which website backup method works the best for your website? Visit our BackWPup blog and documentation to learn more about WordPress backups.

Proteggi WordPress tuo WordPress

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