Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [Jesus] Backup

Quote Reply
Re: [Jesus] Backup In reply to
A mySQL backup, or a full site backup?

For mysql, try:

Code:
mysqldump --add-drop-table -uUSERNAME -pPASSWORD DB_NAME > backup.sql

If you wanna do a full site backup, you can do:

Code:
cd /path/to/cgi-bin
tar -cvvf backup_cgi.tar *

(if you hold stull like me in a www folder and cgi-bin folder, be sure to back them both up Wink)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Backup Jesus 4257 Aug 24, 2011, 3:48 PM
Thread Re: [Jesus] Backup
Andy 4158 Aug 25, 2011, 1:28 AM
Thread Re: [Andy] Backup
Jesus 4128 Aug 25, 2011, 7:16 AM
Thread Re: [Jesus] Backup
Andy 4171 Aug 25, 2011, 8:05 AM
Thread Re: [Andy] Backup
Jesus 4132 Aug 25, 2011, 8:20 AM
Thread Re: [Jesus] Backup
Andy 4139 Aug 25, 2011, 8:20 AM
Thread Re: [Andy] Backup
Jesus 4124 Aug 25, 2011, 8:37 AM
Thread Re: [Jesus] Backup
Andy 4154 Aug 25, 2011, 8:37 AM
Post Re: [Andy] Backup
Jesus 4116 Aug 25, 2011, 8:45 AM