久久精品水蜜桃av综合天堂,久久精品丝袜高跟鞋,精品国产肉丝袜久久,国产一区二区三区色噜噜,黑人video粗暴亚裔
站長百科 | 數(shù)字化技能提升教程 數(shù)字化時(shí)代生存寶典
首頁
數(shù)字化百科
電子書
建站程序
開發(fā)
服務(wù)器
辦公軟件
開發(fā)教程
服務(wù)器教程
軟件使用教程
運(yùn)營教程
熱門電子書
WordPress教程
寶塔面板教程
CSS教程
Shopify教程
導(dǎo)航
程序頻道
推廣頻道
網(wǎng)賺頻道
人物頻道
網(wǎng)站程序
網(wǎng)頁制作
云計(jì)算
服務(wù)器
CMS
論壇
網(wǎng)店
虛擬主機(jī)
cPanel
網(wǎng)址導(dǎo)航
WIKI使用導(dǎo)航
WIKI首頁
最新資訊
網(wǎng)站程序
站長人物
頁面分類
使用幫助
編輯測試
創(chuàng)建條目
網(wǎng)站地圖
站長百科導(dǎo)航
站長百科
主機(jī)偵探
IDCtalk云說
跨境電商導(dǎo)航
WordPress啦
站長專題
網(wǎng)站推廣
網(wǎng)站程序
網(wǎng)站賺錢
虛擬主機(jī)
cPanel
網(wǎng)址導(dǎo)航專題
云計(jì)算
微博營銷
虛擬主機(jī)管理系統(tǒng)
開放平臺
WIKI程序與應(yīng)用
美國十大主機(jī)
編輯“
Gallery:如何用備份文件進(jìn)行還原操作
”
人物百科
|
營銷百科
|
網(wǎng)賺百科
|
站長工具
|
網(wǎng)站程序
|
域名主機(jī)
|
互聯(lián)網(wǎng)公司
|
分類索引
Sunzz1985
(
討論
|
貢獻(xiàn)
)
2008年6月10日 (二) 14:00的版本
(新頁面: __FORCETOC__ =How to restore Gallery 2 from a backup? = * Either you have a regular backup consisting of: ** A database backup ** A storage directory (g2data) backup from the same point...)
(差異) ←上一版本 |
最后版本
(
差異
) |
下一版本→
(
差異
)
跳轉(zhuǎn)至:
導(dǎo)航
、?
搜索
警告:您正在編輯的是本頁面的舊版本。
如果您發(fā)布該更改,該版本后的所有更改都會丟失。
警告:
您沒有登錄。如果您做出任意編輯,您的IP地址將會公開可見。如果您
登錄
或
創(chuàng)建
一個(gè)賬戶,您的編輯將歸屬于您的用戶名,且將享受其他好處。
反垃圾檢查。
不要
加入這個(gè)!
__FORCETOC__ =How to restore Gallery 2 from a backup? = * Either you have a regular backup consisting of: ** A database backup ** A storage directory (g2data) backup from the same point in time as the database backup (including all files / directories within g2data, not just g2data/albums) ** A backup of your config.php and optionally of your whole gallery2 directory * Or something bad happened and you only have your old g2data or just the g2data/albums folder Then Gallery 2 can be restored from your backup. If you have just the g2data folder and not the database, then only the album structure with all images can be restored. The registered users, comments, customfields etc. are all lost if you don't have a database backup. Also, all item titles, summries, descriptions etc. are lost without a database backup. If you have just a database backup and no g2data backup, you've lost all your albums and images. And G2 cannot be restored from the database only. See: * [[Gallery:How_do_I_Make_Backups_of_My_Database|How do I make backups of my database?]] * [[Gallery:faq#How_can_I_move_my_gallery_installation_from_one_server_to_another.3F|How can I move my Gallery installation from one server to another?]] * [[Gallery:faq#How_can_I_move_my_gallery_installation_from_one_folder_to_another.3F|How can I move my Gallery installation from one folder to another?]] ==Restoring Gallery 2 from a full backup== * If you have a complete backup (database, g2data folder, gallery2 folder including config.php), then just put those things back in place and make sure the webserver user has write permissions on the g2data folder (chmod -R 777 g2data) and it should work again * If you have lost config.php or if your g2data backup is incomplete (only albums/ folder, or lost g2data/versions.dat file, ...) then... ** you need to run the installer again, but point to your existing storage folder (g2data) and to your existing database in the appropriate installer steps (step 4 and 5). ** In the setup storage directory step, it will automatically recreate the missing folders if there are any (locks, sessions, ...). Make sure the webserver user has write permissions on the g2data folder (chmod -R 777 g2data) ** If you have lost or did not make a backup of g2data/versions.dat, you need to manually create a new one (or recover the first line). A versions.dat file is just a text file and has 2 lines, e.g. 1.0.0 Gallery-2.0 or something like that. The second line isn't important. The first line must be the version of your g2 core module. You can find the version in the database. SELECT g_parameterValue FROM g2_PluginParameterMap WHERE g_pluginId = 'core' and g_parameterName = '_version'; ** In the Database Setup Step, enter the database connection information to use your existing Gallery 2 database. After hitting save, you should see 2 new options: "erase" and "reuse". ''Reuse'' will reuse your existing g2data/database and that's what you want. Click reuse. (Warning: Erase would delete everything in your database and in g2data and you'd lose everything). ** And after the write config.php step (step 7), you can stop the installer and just browse to main.php. Your Gallery 2 should be up and running again. ==Recovering Gallery 2 from the storage directory only== If you have lost everything but your g2data folder or just g2data/albums/ , then you can recover the whole album structure with all images with a few clicks # Move your albums/ folder away into another directory # Then install a fresh Gallery 2. Forget about your old g2data folder, it's of no use anymore (just make sure your old albums folder is in a safe place, outside your new g2data directory). # After the installation has been completed, use the "Add items" -> "from local server" method to add the whole old structure with all albums and images. :: See: [[Gallery:How_to_Add_Items#How_to_Add_Items_from_the_Local_Server|How to Add items from the Local Server]] [[Category:Gallery 2:Administration and Maintenance]]
摘要:
請注意,您對站長百科的所有貢獻(xiàn)都可能被其他貢獻(xiàn)者編輯,修改或刪除。如果您不希望您的文字被任意修改和再散布,請不要提交。
您同時(shí)也要向我們保證您所提交的內(nèi)容是您自己所作,或得自一個(gè)不受版權(quán)保護(hù)或相似自由的來源(參閱
Wordpress-mediawiki:版權(quán)
的細(xì)節(jié))。
未經(jīng)許可,請勿提交受版權(quán)保護(hù)的作品!
取消
編輯幫助
(在新窗口中打開)
取自“
http://kktzf.com.cn/wiki/Gallery:如何用備份文件進(jìn)行還原操作
”