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 6172 Aug 24, 2011, 3:48 PM
Thread Re: [Jesus] Backup
Andy 6044 Aug 25, 2011, 1:28 AM
Thread Re: [Andy] Backup
Jesus 6005 Aug 25, 2011, 7:16 AM
Thread Re: [Jesus] Backup
Andy 6048 Aug 25, 2011, 8:05 AM
Thread Re: [Andy] Backup
Jesus 6004 Aug 25, 2011, 8:20 AM
Thread Re: [Jesus] Backup
Andy 6028 Aug 25, 2011, 8:20 AM
Thread Re: [Andy] Backup
Jesus 6014 Aug 25, 2011, 8:37 AM
Thread Re: [Jesus] Backup
Andy 6049 Aug 25, 2011, 8:37 AM
Post Re: [Andy] Backup
Jesus 5988 Aug 25, 2011, 8:45 AM