Dakle, nije da ne verujem mom ISP-u, ali sigurno je sigurno 😉
Kako da bekapujem ovaj moj blog (i njegovu englesku verziju)?
Moj blog je na WordPress-u, čisto da se zna, sa urađenim redovnim update-ovima svega (WordPress, themes, plug-ins).

Naleteh na OpenDynamo (link), pa ću da vidim kako radi.
Cvrc, radi samo na WIN računarima, a demo koji ide sa programom neće da se stratuje (probala na WIN 7 virtuelnoj mašini). Dakle od njega ništa.

Pošto je u pitanju WordPress blog, nekako mi se čini da je najbolje koristiti njegov native alat. Dobar link za ovo.
Odličan link sa objašnjenjima.

Neke osnovne stvari (koje baš i nisu jasne na prvi pogled) :
Your blog is composed of two things :
1. the actual files.
They’re the pieces making the blog engine work, the php and system files (in the root folder and in the /wp-admin/ and /wp-includes/ directories). The plugins (in /wp-content/plugins/). The themes (in /wp-content/themes/).
They’re also the files you added yourself, like when you want to add an image to a blog post and upload it throught he Library (in /wp-content/uploads).
Backup : download the files by FTP, with an FTP client and the FTP credentials provided by your web host. Go to the folder containing the wp-admin, wp-includes, wp-content folders, and download the files inside this and all the subfolders, to some directory on your hard disk.
2. the database
The database does not store files, it stores information.
That’s the configuration of the blog, the options you chose (or the default options) for the themes and plugins.
The content you typed into the posts.
The orders passed by the customers and every info they left.
Backup : use a tool to make a copy of your database (the wordpress plugin, cpanel’s database management, phpmyadmin’s Export and tick Sql and Zip) and download it to your hard disk.

Probala sam sa WP plug-in-om WP-DBManager, ali on javlja neke probleme sa writtable folderima, što ja ne mogu da ispravim, pošto je sajt kod ISP-a, a ne na serveru na kome imam root prostup, dakle ništa od toga.

Ostaje mi još da probam neke alate koji “sa strane” skidaju kompletan sajt.

1 thought on “Backup OVOG sajta

  1. Pozdrav,

    WP-DBManager resenje:
    – napraviti folder $public_html/linuxkitchen.com/wp-content/backup-db
    – preko ftp klijenta pristupiti sajtu i dati 770 permission-e ili preko samog web ftp-a u cPanel-u.

    Vecina hosting provajdera dozvoljava ssh access, btw cPanel ima support samo za CentOS i za Rhel based sisteme,stoga bash rulovi vaze ;). Ukoliko ne daju ssh cron je resenje…

    Vreme cu ostaviti vama da definisete,i da prepravite putanje ukoliko gresim..

    ###DB

    #napraviti folder backup u root folderu “public_html” – full path public_html/backups

    ###Files
    Na desktop-u racunara kreirati novi .txt,ubaciti kod za db i za “FS”,rename .txt u .sh :

    #!/bin/bash
    tar czf ~/backups/backup_`date +%Y_%m_%d`.tgz ~/public_html
    mysqldump -u mysql_user -ppassword linuxkitchen_db > /public_html/backup/backup.sql
    #Dynamic – sa datumom verzija za sql : backup_`date +%Y_%m_%d`.sql

    skriptu upload-ovati u : /public_html/backups

    U cPanel-u otici nav link “Cron jobs” : http://coolestguidesontheplanet.com/wp-content/uploads/2011/02/cron-in-cpanel1.png

    Command: ~/backups/backup.sh

    Podesiti koliko cesto ce se praviti file system backup..

    🙂 🙂 🙂

Comments are closed.