Welcome to the forum 👋, Guest

To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.

  • PËRSHËNDETJE VIZITOR!

    Nëse ju shfaqet ky mesazh do të thotë se ju nuk jeni regjistruar akoma. Anëtarët e rregjistruar kanë privilegjin të marrin pjesë në tema të ndryshme si dhe të komunikojnë me anëtarët e tjerë. Bëhu pjesë e forumit Netedy.com duke u REGJISTRUAR këtu ose nëse ke një llogari KYCU. Komunikim alternative i ketij forumi me vajza dhe djem nga te gjithe trevat shqiptare? Hyr ne: CHAT SHQIP.

Backup/Restore Mysql DB Command Line (me komanda)

centos

ⓃⒺⓉⒺⒹⓎ.ⒸⓄⓂ
ANETAR ✓
Regjistruar më
Dhj 13, 2004
Mesazhe
39,819
Kjo menyre perdoret me se shumti per Database te medha sic eshte Forumi Netedy , apo ndonje forum tjeter
apo nje website me Wordpress qe gjithashtu ka nje database te madhe pasi bartin shum opsione ku duhen ruajtur.

Gjerat qe na duhen:
Programi PuTTY.
(Program per protokollin SSH(port 22) )
SSH AKSES. (Shum webfaqe nuk jua ofrojne kshuqe sigurohuni qe te jet aktiv)
Database qe eshte hostuar ne ate server (user, pass , database)
-u dbuser: Mysql DB User
-p passwordi esht bosh pasi shkruhet pasi shtyp enter
{database} = database qe do te besh backup
>> (komand ku duhet te ruaj scripti)
molecule.sql (File ku do dalin te dhenat qe jan ruajtur ne database)
BACKUP COMMAND:
root@netedyForum:# mysqldump -u dbuser -p {database} >> molecule.sql
ENTER > shkruajme password > ENTER
RESTESTORE COMMAND
root@netedyForum:# mysql -u dbuser -p {database} < molecule.sql
ENTER > shkruajme password > ENTER


Kaq Ishte :)


















+*
 
Last edited by a moderator:
@molecule o plak bravo ty qe I di dhe I mermire vesh dhe une derI diku.
Poper te tjeret eheeee sbesoj se jane te shumte ata qe e marin vesh
 

Postime të reja

Theme customization system

You can customize some areas of the forum theme from this menu.

Choose the color combination according to your taste

Select Day/Night mode

You can use it by choosing the day and night modes that suit your style or needs.

Welcome to the forum 👋, Guest

To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.