Backing up MySQL databases
This post maybe self explanatory for some but I am going to write about it anyways. One important thing you always need to remember to...
Bước 1: Kiểm tra/Cài đặtIIS
Bạn kiểm tra xem máy bạn đã cài IIS chưa, Vào Control Panel -> Add/Remove Prog...
This document describes how to install a mail server based on Postfix that is based on virtual users and domains, i.e. users and domai...
Advertisement
2 Comments
Leave a Comment
Advertisement
Subscribe via Email
Categories
- Adversting (131)
- Affiliates (101)
- ClickBank (1)
- Art Place (15)
- Bank Account None Residents (4)
- Blogger (80)
- Forex Place (3)
- Future Dreams (8)
- Game Place (2)
- Google (17)
- Google Adsense (11)
- Google Adwords (1)
- Google API (1)
- Homes (18)
- Hosting Place (72)
- Internet Marketing (254)
- Natural Place (7)
- News (3)
- News IT (17)
- Payment System (1)
- PC Place (306)
- Linux and Unix (33)
- Networking (53)
- Vista Tips (5)
- Wallpaper (16)
- Programing (41)
- Publisher Place (121)
- Question Ticket (1)
- Relax Place (14)
- Videos & Films (5)
- Request (1)
- Review (2)
- Search Engine Optimization (181)
- SEO eBooks (3)
- SEO Tips (28)
- SEO Tools (1)
- SEO Video (5)
- Security (27)
- Software Application (48)
- Talk Place (12)
- Teen (14)
- Traffic Service (3)
- Tutorials (57)
- Video Tutorials (1)
- Vietnames (4)
- Talk Vietnam (3)
- Tutorials VN (1)
- Web Design (118)
- AJAX Tutorials (26)
- CSS (2)
- Joomla Themes (1)
- PHP (1)
- vBB Templates (2)
- Wordpress Themes (32)
My Friend List
- Acne Home Treatment
- Akuvn’s Blog
- All Tips for Bloggers
- Audio & Video Codecs
- Barely Hanging On
- Blog Design
- CJ Money Professional
- Coolest websites
- Document Management System
- Dofollow Blog
- Free Templates And SEO Tutorial
- Giai Phap So – Digital Solution
- International Travel Guide
- Laser Teeth Whitening Products
- los angeles web design
- Make Money Online
- Make Money Online
- MSN Blog
- Net12H – Share for All
- Professional eBooks
- Reviews Networks
- San Choi Tuoi Teen
- search engine optimization specialist
- seo professional
- Seo Tips & Seo Blog
- TechDaring
- Thuong Mai Viet Nam
- Upload & Share Images
- WordPress & Symbian UIQ3
- Wow!eBook.Com


0.5060.506
73
GZIP is ON
November 15th, 2008 at 1:14 pm
You also need to create the tar directory under your $BACKUPPATH directory, for example /var/www/backup/tar
I keep my old backups, so I remove the rm command, and add the date to each tar file by changing the tar and gzip commands to be:
tar -cvf $BACKUPPATH/tar/${bbdd[$index]}.`date +%F`.tar ${bbdd[$index]}/* > /dev/null
gzip $BACKUPPATH/tar/${bbdd[$index]}.`date +%F`.tar > /dev/null
It’s also important to note that the mysqlhotcopy line has two double dashes in it, before password and allowold. WordPress is converting those into an em dash, which renders badly. Same problem with the quotes in the bbdd and let commands.
February 23rd, 2010 at 5:50 am
Enjoyed this, good read, thanks