Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Så här skapar du en gratis, komplett backup av WordPress med BackWPup

En fullständig backup av hela webbplatsen är ett av de bästa försvaren mot alla typer av säkerhetshot mot din website.

Regelbundna backups är en sak som alla ägare av webbplatser bör ha. Tidigare har vi visat you hur du skyddar ditt content med BackupBuddy och hur du manuellt skapar backup av WordPress database.

Det bästa med WordPress är dock att du har flera alternativ för att göra vad som helst.

I denna tutorial kommer vi att visa dig hur du skapar en WordPress backup gratis med BackWPup.

Making complete WordPress backup for free with BackWPup

Varför skapa en backup av WordPress?

Varje webbplatsägare måste skapa regelbundna backups av webbplatsen för att se till att deras data förblir säkra om en olycka skulle inträffa.

Ett antal saker kan påverka data på din website, till exempel:

  • Website malware som injicerar skadlig kod på din website.
  • Ransomware som låser data på din website.
  • Oavsiktlig borttagning av viktiga website-filer eller data på grund av mänskliga eller server error.

Nu kanske du tror att ditt WordPress webbhotell erbjuder regelbundna backups.

Enligt vår erfarenhet har vi dock funnit att dessa backups är opålitliga. Vad händer om webbhotellet tappar bort dina data? Eller om de av någon anledning stänger av ditt account och vägrar att ge tillbaka dina uppgifter?

Det är därför du alltid måste skapa dina egna WordPress backups.

Det finns ett antal sätt att automatisera hela backup-processen med hjälp av en av dessa utmärkta WordPress backup tillägg.

Note: BackWPup-backups kan endast återställas manuellt. Det är därför vi rekommenderar att du använder Duplicator, som är den bästa lösningen för backup av WordPress och är välkänd för tillförlitliga funktioner för återställning och flytt av webbplatser.

Med detta sagt, låt oss titta på hur du enkelt skapar en backup av WordPress med BackWPup.

Skapa backup av WordPress med hjälp av BackWPup

I denna tutorial kommer vi att använda BackWPup för att skapa en gratis backup av WordPress.

Först måste du installera och aktivera BackWPup plugin. För mer detaljer, se vår tutorial om hur du installerar ett plugin för WordPress.

Step 1: Skapa ett backup-jobb

Vid aktivering av plugin måste du besöka BackWPUP ” Add new job page. Ett jobb i BackWPup är en uppsättning instruktioner som du ger pluginet om den backup du vill göra.

Create a new backup job

Ange först ett namn på ditt jobb. Det kan vara vad som helst som hjälper dig att komma ihåg vad denna backup gör. I vårt exempel använder vi ”Weekly WordPress Backup”.

Under det väljer du de uppgifter som du vill att det här backup-jobbet ska utföra. Vi rekommenderar att du kontrollerar alla alternativ.

Rulla ner lite till section ”Job Destination”. Här kan du välja var du vill lagra backupen.

Backup destination

Det kan lagra backup-filer på din server, skicka dem via email, säkerhetskopiera dem till FTP och uploada dem till Dropbox, Amazon S3, Windows Azure, Rackspace och SugarSync.

Vad du än gör ska du EJ lagra backuperna på din server. Detta motverkar syftet med att skapa backupen, vilket är att ha en saved copy av din website lagrad någon annanstans.

För denna tutorial kommer vi att använda Dropbox.

Om du väljer ett alternativ läggs en ny tabs till i Job menu.

Import: Glöm inte att klicka på knappen ”Save changes” för att spara dina settings.

Byt nu till den nya tabben uppkallad efter den destination där du vill lagra din backup. Om du till exempel väljer Dropbox, kommer du att se en tabs med titeln ”To: Dropbox”.

Connect dropbox

Härifrån kan du konfigurera inställningarna för ditt molnkonto. Om du till exempel har valt Dropbox klickar du bara på knappen ”Get Dropbox App auth code” för att konfigurera den. Sedan uppmanas du att allow appen åtkomst till ditt Dropbox-konto och ställa in en folder för dina backups.

Efter det klickar du på knappen ”Save changes” för att save your settings.

Steg 2: Schemalägg din backup

Därefter måste du växla till tabben Schema. Under alternativet ”Starta jobb” väljer du alternativet ”med WordPress cron”.

Start schedule

WordPress cron är det built-in WordPress-system som används för att runna tidsinställda uppgifter.

Nu rullar du ner lite och väljer din backup-frekvens. Vi rekommenderar att du väljer ett vecko- eller månadsschema, beroende på hur ofta du uppdaterar innehållet på din website.

Set backup schedule frequency

Därefter klickar du på knappen ”Save changes” för att lagra dina settings.

Step 3: Välj vad som ska inkluderas i backupen

Nu måste du välja vad du vill inkludera eller exkludera från backupen.

Byt till tabben ”DB Backup” och välj de tabeller som du vill inkludera i din backup. Om du är osäker bör du välja alla tabeller.

Select database tables

Klicka på knappen ”Save changes” för att spara dina settings.

Därefter växlar du till tabben ”Files”. Härifrån kan du välja vilka filer som ska uteslutas från din backup.

Om du är osäker, låt standard alternativen vara som de är.

Ecclude files from backup

Klicka återigen på knappen ”Save changes” för att spara dina settings.

Nu måste du växla till tabben ”XML exportera”. Härifrån kan du generera en WordPress-kompatibel XML-exportfil med allt ditt content.

Export XML

Standard alternativen fungerar för de flesta websites.

Save your changes and then move to the ”Plugins” tabs.

Här genererar plugin för backup en textlista över alla tillägg som är installerade på din WordPress website.

Plugin list backup

Slutligen klickar du på knappen ”Save changes” för att spara dina settings.

Steg 4: Run jobbet för backup

Nu när du har skapat ett backup-jobb måste du runna det för första gången.

Gå till sidan BackWPup ” Jobs och klicka på länken ”Run now” under det jobb som du skapade tidigare.

Run backup job

Tillägget kommer nu att runna backup-jobbet och visa dig framstegen.

Det kan ta en stund beroende på hur stor din website är. När det är slutfört kommer du att se ett success message.

Backup complete

Du kan nu kontrollera backup-filen genom att besöka destinationskällan (gillar Dropbox eller det andra lagringsalternativet som du valde tidigare).

Felsökning WordPress Backup Jobb i BackWPup

Att runna ett backup-jobb kan orsaka extra belastning på din server på webbhotellet. Detta kan leda till oavslutade jobb för backup.

På de flesta delade webbhotell finns det också en limit för hur mycket tid eller minne ett skript kan förbruka. När din server stoppar BackWPup för att ha passerat tids- eller minneslimiten, väntar den ett tag och återstartar sedan processen. I det här fallet kommer det att ta ett tag innan en backup är slutförd.

Det första du bör göra för att fixa detta är att öka din PHP-minnes limit, gå sedan till BackWPup ” Settings och click på ’Jobs’ tabs.

BackWPup troubleshooting

Öka alternativet ”Maximalt antal omförsök för jobbstegen”. Standardvärdet är 3, och du kan öka det till 5 och se om det fungerar för you.

Efter det måste du rulla ner till alternativet ”Minska serverbelastningen” och välja antingen alternativet ”medel” eller ”minimal” serverbelastning.

Slutligen ska du klicka på knappen ”Save changes” längst ner för att spara dina settings.

Återställ din website från backup

Tyvärr kommer BackWPup inte med en utvald funktion för återställning med 1 click. Det är därför du måste återställa din website manuellt från olika backup-filer.

För detaljerade instruktioner, se vår artikel om hur du återställer WordPress från backup och följ de manuella återställningsinstruktionerna för databas och WordPress-filer.

Om du gillar ett plugin för backup av WordPress med ett enklare alternativ för återställning, rekommenderar vi att du använder Duplicator istället. Det finns också en gratis version av Duplicator med färre alternativ för backup.

Duplicator

För mer information kan du se vår kompletta Duplicator review.

Vi hoppas att den här artikeln hjälpte dig att skapa en komplett backup av WordPress med BackWPup. Du kanske också vill se vår WordPress säkerhetsguide för fler tips för att skydda din website eller vårt expertval av de bästa WordPress säkerhetstilläggen för att skydda din site.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Avslöjande: Vårt innehåll stöds av våra läsare. Det innebär att om du klickar på några av våra länkar, kan vi tjäna en provision. Se hur WPBeginner finansieras, varför det är viktigt, och hur du kan stödja oss. Här är vår editoriala process.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Den ultimata WordPress-verktygslådan

Få GRATIS tillgång till vår verktygslåda - en samling WordPress-relaterade produkter och resurser som varje professionell användare bör ha!

Reader Interactions

133 kommentarerLämna ett svar

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Eloise says

    BackWPUp just changed the way the plugin accesses / stores backup files in Dropbox. The info they have given is pretty rubbish! Please can you update this article to reflect those changes, and advise users on how best to re-connect BackWPUp with Dropbox? Cheers!

    • WPBeginner Support says

      We will certainly look into updating this article. If you reach out to BackWPUp they should be able to help and clarify on anything that is confusing in their documentation as well

      Administratör

  3. Duncan McCormack says

    Hey guys, I’ve just had a look at this backup plugin on its page.

    You have to BUY the pro version to do a RESTORE!!!

    That right??? Sure reads that way to me.

    • WPBeginner Support says

      They created a method to restore the backup using the plugin rather than manually and that feature they are requiring pro, you can still restore your site manually without the pro version.

      Administratör

  4. James says

    In the dropbox tab, for me today 2/10/19, next to the Authentication it said ” not Authenticated ”, and said create an account. but i already have an account so it would not give me the allow the plugin option. However, I clicked on the dropbox Authentication button, it then brought up my dropbox and it displayed a code. Copy and pasted that code into the box and it then went to the allow BackWPup. Just in case anyone else comes across that problem. But thanks for the tutorial, one of many that I use..

  5. Chris says

    If you cant see the re-authenticate option in your drop box account then you need to just click on the button below this one in your backup plugin settings. It will then prompt you to allow access and grant a code.

    I had the same issue and it worked for me.

    Chris

  6. Eloise says

    Hi,
    The layout on BackWPup seems to have changed bit since this article was written – the Jobs tab now seems to be called Schedule, and when I go in there I can’t find an option to set the number of server re-tries..?
    Every other site I’m using BackWPup on works fine. But one site that I manage is having a few problems; the site is quite large, lots of plugins, and I keep getting error messages that ZIP files are not closing properly during execution. Any thoughts/revisions that might be helpful please?
    Many thanks!

  7. john moses says

    Nice writeup. Ihave done backup before but I wasn’t able to restore my Media Library images. When you bakup with this plugin, and you restore, will the will the media library images be restored too?

  8. Ravi Dixit says

    A very helpful post.
    Can you tell me how to save backups files to the local disk of the computer with BackWPup plugin?

  9. moumita says

    wpbeginner, you are my only destination whenever I face any wp issues. Really cant imagine using wordpress without your help

  10. Pierre BLAZER says

    Hi there ! I just installed BackWPup, and I can see there are several possibilities to archive the backup in the GENERAL tab: ZIP, TAR, TAR GZIP etc. Afterward, under the DATABASE tab for example, the choice to compress is only: GZIP or NOTHING, so I’m a bit confused. What should I do if I chose ZIP as an archive? Should I choose GZIP ?? Thanks.

  11. anders says

    Does this have support with Azure ARM Storage. I get this error:

    400 Value: The value for one of the HTTP headers is not in the correct format.

    Seems like there is a issue with the API this version is using. Anyone have managed to do this successfully with ARM Cold Storage account?

  12. Don Saroos says

    Thanks but one thing missing i cant actually connect to dropbox any little help will be highly welcomed

  13. Aakarshit Choudhary says

    hey bro!
    I am a wordpress begineer!
    Please tell me how I can use this backup on my website if my website crashes?

  14. Jane Bonney says

    I found the instructions fairly clear and helpful, although sometimes the phrasing could be a little better to make the instructions better.

    When I backed up I got the following error mesages:

    ERROR: Dropbox API: (56) SSL read: error:00000000:lib(0):func(0):reason(0), errno 104
    ERROR: Job has ended with errors in 5150 seconds. You must resolve the errors for correct execution.

    So what do I do please?

    • JANE BONNEY says

      I discovered this was because my dropbox was full. So the solution was simply to delete some of the media I had uploaded and not used or increase dropbox space allowance.

  15. Rachel says

    Hi! Thanks for this great post! When creating a job – I say to back up to Dropbox but it doesn’t say ’Reauthenticate’….It just says Create account. I already have a Dropbox account, so when I click on Create Account it doesn’t request permission as shown in this post, it tells me how much available space I have and prompts me to get more. I’m stuck on what to do.

    • Chris says

      same here for me too. I tried everything but not sure if its because you need to have a paid account that supports API integration.

  16. Francis says

    I use BackWPup on my site and it shows it has backed up correctly and the test mail has also arrived but I do not get the backups sent to my email. I tried different email accounts but it doesn’t send anything unless there is an error. How can I get the backups sent to email and how can I download them? Thanks very much.

  17. Nikhil Ganotra says

    Earlier I was using backupWordPress and it was consuming too much bandwidth. This plugin is awesome!

  18. Deja says

    Hi, I have the same error: ”Not expected HTTP response body: 429 Too many requests body { padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */ } Error 429 Too many requests”
    Does anyone know the solution for this? Many thanks in advance.

  19. Gil Andrei says

    Hi, on your past article you said that restoring WordPress from BackWPUp is simple, how would you do that? Thanks!

  20. Sacha says

    Thanks for the great post, BackWPup looks like a very good option for me. But how would you restore from a backup?

  21. Tracey says

    Another great post. I really don’t know what I’d do without your website. its he first thing I turn to if I get stuck with something on my blog! Many, many thanks.

  22. Obidigwe Kenechukwu says

    Thanks for this great article, I love what you people.

    I just got one question: what is the role of wordpress default ”Blog import and export” as regard backing up of site?

    Please I need to know.

    Thanks once again.

  23. Karan says

    Hello,
    Does it really create a full backup including all the settings, posts, media etc? Will this backup enough to restore a completely formatted site?
    Thanks
    Karan

  24. Melinda says

    Thanks for the article! I tried using this plugin message, but I received an error message when backing up.

    Not expected HTTP response body: 429 Too many requests body { padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */ } Error 429 Too many requests

    I’m not very knowledgeable about coding, can you help!

  25. Anna says

    I’m exploring this topic because I’m about to set up my first WP site. I’m wondering, however, if every site really needs so much attention paid to back-up? Our site will essentially be static, that is, it’s not a blog so there are no posts, nor are there comments: its content comprises text and photos which are ours and are backed-up elsewhere.

    I will be using a purchased theme so those files, as well, are elsewhere. Of course the entire site once created will position the photos and text according to the theme and that will involve customization and work. That I can see the value of backing-up, but a one-time ought to do it, no?

    I’d appreciate someone experienced helping me clarify this! Thanks.

  26. Aniket says

    Hey
    Thanks for coming up with an important topic. I am already using backwpup on my site.
    I am using the dropbox option. But, the dropbox comes with a limited space of 2GB.
    What should I do after this?
    Should I delete some of the previous files to generate space? If yes, which files should I delete?

  27. Hasnain Abid Khanzada says

    Hello Bro,I Have Done All The Things But I Am Getting The Error When Trying To Run The Backup..The Error Is ” The HTTP response test get an error ”Failure when receiving data from the peer ”…Hope That You Will Solve The Problem.

    Thanks.

  28. Andy Lawrence says

    Hey, I’ve been trying this for a while but when I run the script to back up, it doesn’t ever finish. I’ve followed all the instructions but it’s not working.

  29. Kenrick says

    hi great summary! To bad i am getting this errorwhen I try to back up
    ERROR: Signal 15 is sent to script!

    How to fix this?

    Thanks.

  30. Ayesha says

    Thanks, I just backed up my site using this method, before I was just using another free backup plugin and this works just as well :)

  31. Michale says

    Did you ever try to restore a site from a backup made using BackWPup? Since BackWPup doesn’t have a ”Restore backup” option, that would be an interesting post..

  32. Ziacinzia says

    HI, thank you for this article. I have an issue though, my dropbox is almost full and as my site grows, it takes more and more space, so I wonder what i should do when I run out of space? Is there a similar alternative to dropbox to save the backup jobs? Many thanks

  33. WPBeginner Staff says

    1. The backups on your hosting service provider are sometimes not available. Also these backups could get compromised. Sometimes web hosting companies may even terminate your account without giving you enough time to get your files. In all these scenarios, and there are many others too, the user looses the access to their backup files.

    2. Saving backups on the same server as your website actually defeats the purpose of backing up in the first place. For example, if the security of your server is compromised then your backup files could get affected too. This would make it immensely difficult for you to restore your website.

    • Michael Einstein says

      OK.. I understand and this makes sense.. So would the WordPress Backup to Dropbox be a good option as an alternate place to store the backups, or perhaps to my google drive? Although I do worry a bit that these sites aren’t totally secure either. Only other option is if I can configure a backup to go to an external drive I have on my home computer that gets backed up everynight to a cloud-based backup.. That way I would have it on my home computer AND on the cloud. But this won’t work if my home computer is turned-off, although it is ”usually on”.
      Michael

  34. Michael Einstein says

    A few Newbie questions here:
    1) If I use Bluehost for a hosted WordPress site, that comes with daily backups of my entire site. Why would I also need a seperate wordpress backup solution? Couldn’t I always just restore my site if anything ever happened through my cPANEL in Bluehost?
    2) In this article, it says: ”Whatever you do, DO NOT store the backups on your server.” Why? Isn’t this a good/secure place to store your backup since it also will get backed-up? Where else would I store it? Dropbox?? That actually sounds less safe and secure then in a dedicated directory somewhere on my hosting server.
    Thanks for the help!
    Regards,
    Michael

    • Duncan McCormack says

      It’s redundancy surely.

      I think it’s a good idea to either use another backup technology (plugins) as well as your hosted provider method.

      I also think it’s a good idea to download your hosted provider backups and put ’em elswhere (on your work/home PC?) – but I’m happy to trust cloud technology providers, particularly Google and Microsoft. I reckon Dropbox are pretty trustworth too, eh? Surely. :)

  35. tealady46 says

    I’ve followed the tutorial and am being told that it’s all backed up but when I’ve checked in my dropbox folder, I can’t see it. Any ideas??

    • Eloise says

      There will be a separate BackWPup folder in your Dropbox – it’s not immediately obvious, so have a look around. Took me a couple of mins to find it when I first started doing using BackWPup too!

  36. Vitaliy Kolos says

    OK, I’ve backed up my files, database, list of plugins, but now I’m sort of stuck because I’m not sure what I’m supposed to do next. I mean I know I’m supposed to restore certain files, but I’m afraid that I’ll override something that I actually need. Do I just leave wp-config.php alone and update the rest or what am I supposed to do next?

  37. harishchouhan says

    I have been using BackWPup since a while, but the ”This APP will have access to your entire DropBox” scares me. With so many security issues being exploited every now and then, one wrong step, and I hope my DropBox data is not compromised.

  38. Carole says

    If you do a daily backups to Dropbox, do the files with changes replace the existing files or is a complete new backup added each day? My ecomm website seems to be 5GB so that could quickly blow through even 100GB of Dropbox storage.

  39. Pali Madra says

    As usual a great tutorial.

    I did want to point out that in the first tab, which is called General, under the job details section the option to optimize database tables is not there anymore. Is this the case with me only or is it the same for everyone?

    Thanks.

  40. E.D Gasçon says

    Hey Syed, Thanks for sharing this info. This is a great article. I’m using Updraftplus backup/restore. I have a question please. This may sound silly… sending daily backups to the cloud (Dropbox) as opposed to weekly backups, would that take more storage space? If earlier versions of files are deleted then why am I running out of space so quickly? I’m not really adding much content to my sites (I’m not a blogger). I’m such a newb! Thanks

Lämna ett svar

Tack för att du väljer att lämna en kommentar. Tänk på att alla kommentarer modereras enligt våra policy för kommentarer, och din e-postadress kommer INTE att publiceras. Vänligen använd INTE nyckelord i namnfältet. Låt oss ha en personlig och meningsfull konversation.