Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: [wickedmoon] Backing up

Quote Reply
Re: [wickedmoon] Backing up In reply to
Hi,

Sure, to backup Gossamer Mail using SSH/Telnet do:

1. Backup your SQL Data:

mysqldump --add-drop-table -uUSER -pPASS DATABASE > backup_sql.txt

2. Backup your Messages:

tar czpf backup_data.tar.gz /full/path/to/data

where the path is the path to your data directory.

To restore from a backup you would do:

1. Restore your SQL Data

mysql -uUSER -pPASS DATABASE < backup_sql.txt

2. Restore your messages

cd /path/to/data/.. # one directory behind data
tar xzpf backup_data.tar.gz

will extract your data files and restore templates, message bodies, etc.

Hope this helps,

Alex
--
Gossamer Threads Inc.
Subject Author Views Date
Thread Backing up telemachus 3336 Dec 7, 2001, 1:38 PM
Thread Re: [wickedmoon] Backing up
Alex 3301 Dec 7, 2001, 2:22 PM
Thread Re: [Alex] Backing up
telemachus 3278 Dec 8, 2001, 8:30 AM
Post Re: [wickedmoon] Backing up
Alex 3245 Dec 8, 2001, 12:21 PM
Thread Re: [Alex] Backing up
telemachus 3114 Oct 30, 2002, 11:56 AM
Post Re: [wickedmoon] Backing up
Alex 3069 Nov 6, 2002, 2:54 PM